add numbering to headings css
[libreriscv.git] / local.css
1 body{
2 font-family:arial,sans-serif;
3 margin-top: 20px;
4 margin-bottom: 40px;
5 margin-left: 0px;
6 margin-right 0px;
7 background-color: #fff8ff;
8 color: #00000;
9 width: 100%;
10 }
11 .actions{
12 font-family:arial,sans-serif;
13 font-size: .95em;
14 text-align: left;
15 }
16 #content{
17 text-align: left;
18 width: 100%;
19 }
20 .pagedate{
21 font-family: times;
22 font-size: .8em;
23 }
24
25 /*Elements*/
26 hr{
27 width: 50%;
28 border: solid 1px black;
29 }
30 blockquote{
31 border: dashed 1px;
32 padding-left: 20px;
33 margin-left: 15px;
34 background-color: #ccc;
35 }
36 p{
37 margin-bottom: 1.2em;
38 margin-left: 1.5em;
39 }
40 ol{
41 margin-left: 2em;
42 }
43 /* Counter Headings */
44 body {
45 counter-reset : h2;
46 }
47
48 h2 {
49 counter-reset : h3;
50 }
51
52 h3 {
53 counter-reset : h4;
54 }
55
56 h4 {
57 counter-reset : h5;
58 }
59
60 h5 {
61 counter-reset : h6;
62 }
63
64 #content h2:before {
65 content : counter(h2,decimal) ". ";
66 counter-increment : h2;
67 }
68
69 #content h3:before {
70 content : counter(h2,decimal) "." counter(h3,decimal) ". ";
71 counter-increment : h3;
72 }
73
74 #content h4:before {
75 content : counter(h2,decimal) "." counter(h3,decimal) "." counter(h4,decimal) ". ";
76 counter-increment : h4;
77 }
78
79 #content h5:before {
80 content : counter(h2,decimal) "." counter(h3,decimal) "." counter(h4,decimal) "." counter(h5,decimal) ". ";
81 counter-increment : h5;
82 }
83
84 #content h6:before {
85 content : counter(h2,decimal) "." counter(h3,decimal) "." counter(h4,decimal) "." counter(h5,decimal) "." counter(h6,decimal) ". ";
86 counter-increment : h6;
87 }
88
89 h2.nocount:before, h3.nocount:before, h4.nocount:before, h5.nocount:before, h6.nocount:before {
90 content : "";
91 counter-increment : none;
92 }
93
94
95 /* Headings */
96
97 .pageheader { min-height: 100px; overflow: none; width: 95%; margin: 4px; }
98 .header {
99 height: 50px;
100 background: #4b6983;
101 /*border: 2px solid #7590ae; */
102 color: #ffffff;
103 font-family: sans-serif;
104 width: 100%;
105 margin: 4px;
106 padding: -4px;
107 }
108 .header a { margin-right: 1ex; color: #ffffff; font-family: sans-serif;}
109
110 /*.header{
111 font-family: georgia;
112 font-size: 1.25em;
113 line-height: 1em;
114 font-weight: bolder;
115 }
116 */
117 h1{
118 font-size: 1.5em;
119 font-weight: bold;
120 line-height: 1em;
121 margin-left: 1em;
122 text-indent: -1em;
123 }
124 h2{
125 font-size: 1.4em;
126 line-height: 1em;
127 font-weight: bold;
128 margin-left: 1em;
129 text-indent: -1em;
130 }
131 h3{
132 font-size: 1.3em;
133 font-weight: bold;
134 line-height: 1em;
135 margin-left: 1em;
136 text-indent: -1em;
137 }
138 h4{
139 font-size: 1.2em;
140 font-weight: bold;
141 line-height: 1em;
142 margin-left: 1em;
143 text-indent: -1em;
144 }
145 h5{
146 font-size: 1.1em;
147 font-weight: bold;
148 line-height: 1em;
149 margin-left: 1em;
150 text-indent: -1em;
151 }
152 h6{
153 font-size: 1em;
154 font-weight: bold;
155 line-height: 1em;
156 margin-left: 1em;
157 text-indent: -1em;
158 }
159 /*Forums*/
160 form{
161 font-size: .9em;
162 font-family: "Inconsolata", "monaco", "droid sans mono",fixed;
163 margin-left: 0em;
164 margin-top: 1.2em;
165 padding-bottom: 2em;
166 }
167 textarea{
168 /*font-family: "Inconsolata", "monaco", "droid sans mono",fixed;*/
169 /*font-size: .9em;*/
170 border: solid 1px;
171 width: 100%;
172 margin-bottom: 10px;
173 }
174 input#comments{
175 font-family: "Inconsolata", "monaco", "droid sans mono",fixed;
176 font-size: .9em;
177 width: 550px;
178 line-height: 1em;
179 background-color: #fff;
180 border: solid 1px;
181 }
182 input#comments{
183 font-family: "Inconsolata", "monaco", "droid sans mono",fixed;
184 font-size: .9em;
185 width: 550px;
186 line-height: 1em;
187 background-color: #fff;
188 border: solid 1px;
189 }
190 input[type="submit"]{
191 font-family:
192 font-size: .9em;
193 font-weight: bold;
194 line-height: 1em;
195 background-color: #ddd;
196 margin-right: 1.1em;
197 margin-top: 10px;
198 padding: 3px;
199 text-align: center;
200 width: 9.5em;
201 border: solid 1px;
202 }
203
204 #blogform input[name="title"]{
205 font-family: "inconsolata", "monaco", "droid sans mono",fixed;
206 font-size: .9em;
207 line-height: 1.2em;
208 font-size: 1.1em;
209 margin-left: .4em;
210 margin-right: .4em;
211 border: solid 1px;
212 }
213 #blogform input[type="submit"]{
214 font-family: "Inconsolata", "monaco", "droid sans mono",fixed;
215 font-size: .9em;
216 line-height: 1em;
217 font-size: 1em;
218 background-color: #ddd;
219 border: solid 1px;
220 }
221 div.thumb {
222 margin-bottom: .5em;
223 border-style: solid;
224 border-color: white;
225 width: auto;
226 }
227 div.thumbinner {
228 border: 1px solid #ccc;
229 padding: 3px !important;
230 background-color: #f9f9f9;
231 font-size: 94%;
232 text-align: center;
233 overflow: hidden;
234 }
235 html .thumbimage {
236 border: 1px solid #ccc;
237 }
238
239 img.thumbborder {
240 border: 1px solid #dddddd;
241 }
242
243 div.tright {
244 clear: right;
245 float: right;
246 border-width: .5em 0 .8em 1.4em;
247 }
248
249 pre {
250 margin-left: 45px;
251 }
252
253
254 table {
255 margin-left: 35px;
256 }
257
258 table, th, td {
259 border: 1px solid black;
260 }
261
262 td {
263 padding: 4px;
264 }