-
Notifications
You must be signed in to change notification settings - Fork 2
/
openmundi.css
138 lines (111 loc) · 2.17 KB
/
openmundi.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
/* todo: use lesser vor color variables such as @ruby
*/
body
{
font-family: Helvetica,Arial,sans-serif;
}
h1
{
border-bottom: 1px solid black;
}
h2
{
border-bottom: 1px solid black;
font-weight: bold;
}
ul { list-style-type: square; }
span.highlight { background-color: yellow;
font-weight:bold;
}
#header {
padding: 0.25em;
}
#header .small
{
font-size: 120%;
color: gray;
padding-left: 15px;
}
#header .big
{
font-size: 200%;
font-weight: bold;
}
#nav {
padding: 0.5em;
}
a, a:visited {
color: green;
text-decoration: none;
}
a:hover {
border-bottom: 2px dotted green;
background-color: yellow;
}
#nav a, #nav a:visited {
text-decoration: none;
}
#nav a:hover {
border-bottom: 2px dotted yellow;
}
#content {
padding: 0.5em;
}
/* fix: use javascript?? jquery to add .programlisting class
to pre tags followed by code e.g. <pre><code> => <pre class='programlisting'><code>
for now assume all pres are programlistings
*/
pre,
.programlisting
{
padding: 4px 4px 4px 4px;
border-top: #bbb 1px solid;
border-bottom: #bbb 1px solid;
background: #f3f3f3;
}
/*
.programlisting
{
color: white;
background-color: black;
padding: 0.5em;
}
*/
.toc
{
width: 35%;
float: right;
/* border: silver solid 1pt; */
border: #bbb solid 1pt;
background-color: #eeeeee;
font-size: 80%;
}
.toc p /* first paragraph in toc is toc-title;
use prediciate too to make sure we only get the first one??
e.g. p:first-child ??
*/
{
text-align: center;
font-weight: bold;
}
.editme
{
display: inline-block;
padding-left: 10px;
padding-right: 10px;
border: #bbb solid 1pt;
background-color: #eeeeee;
font-size: 80%;
}
.banner {
color: white;
background-color: #333333;
font-size: 12px;
padding: 6px 6px 4px 8px;
margin: 0 0 8px 0; }
.banner a, .banner a:visited {
text-decoration: none;
color: white; }
.banner a:hover {
background-color: #333333;
text-decoration: underline; }