Some layout fixes
[moodle.git] / theme / standard / styles_fonts.css
CommitLineData
7005a81c 1/*************************************************
2***
3*** fonts
4***
5**************************************************/
a8e1f343 6
992b5971 7/*************************************************
8***
9*** This CSS file contains all font definitions
10*** like family, size, weight,
11*** text-align, letter-spacing
12*** etc.
13***
14*** Shortindex:
15*** basic and general styles
16*** header and footer styles
17*** content styles (alphabetically)
7005a81c 18*** admin, course, activities, calendar, blocks
992b5971 19***
20*** Please sort new styles for existing content
21*** into the appropriate part of this CSS file.
22*** Styles for new Blocks or Activities please
23*** place at the end.
24*** Wouldn't the alphabetical order be better?
25***
26**************************************************/
27
a8e1f343 28
29/* basic styles */
30font {
31 font-size:100%;
32}
33
34.clearer {
35 font-size:1px;
36}
37
d796e6d8 38
39/* general styles */
40body, td, th, li {
41 font-family:"Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
42 font-size:0.95em;
43}
44
45th {
46 font-weight:bold;
47}
48
992b5971 49a:link,
50a:visited {
51 text-decoration:none;
52}
53
54a.dimmed:link,
55a.dimmed:visited {
56 text-decoration:none;
57}
58
59a.autolink:link,
60a.autolink:visited {
61 text-decoration:none;
62}
63
64a.autolink:hover,
65a:hover,
66a.dimmed:hover {
67 text-decoration:underline;
68}
a8e1f343 69
2f71f2a2 70h1,h2,h3,h4,h5,h6 {
71 font-weight:bold;
72 text-align: center;
73}
74
75h1 {
76 font-size:1.8em;
77}
78h2 {
79 font-size:1.5em;
80}
81h3 {
82 font-size:1.2em;
83}
84h4 {
85 font-size:1.1em;
86}
7005a81c 87
a8e1f343 88/* header styles */
89.headermain {
90 font-weight:bold;
91}
92
93#header-home .headermain {
94 font-size:1.5em;
95}
96
97#header .headermain {
98 font-size:1.3em;
99}
100
101#breadcrumb {
102 font-size:0.9em;
103 font-weight:bold;
104}
105
992b5971 106.logininfo,
107#header-home .headermenu font {
108 font-size:x-small;
109}
a8e1f343 110
111/* footer styles */
992b5971 112.homelink {
113 font-size:x-small;
114}
115
116
992b5971 117/*****************************
118***
119*** content styles
120***
121******************************/
122/* many places */
123
81e6a0a5 124.errorbox .title {
125 font-weight: bold;
126 font-size: 1.2em;
127 text-align: center;
128}
129
2f945146 130/* paging bar */
131.pagingbar .title {
132 font-weight: bold;
133}
134.pagingbar .thispage {
135 font-weight: bold;
136}
a8e1f343 137
7005a81c 138/*****************************
139***
140*** Admin
141***
142******************************/
143
b8a6c0da 144table.formtable tbody th {
145 font-weight: normal;
146 text-align: right;
147}
148
7005a81c 149
150/*****************************
151***
152*** Course
153***
154******************************/
992b5971 155/* course */
a8e1f343 156.activitydate, .activityhead {
157 font-size:x-small;
158 text-align:center;
159}
160
992b5971 161.weeklydatetext {
162 font-size:medium;
163 font-weight:bold;
164}
165
166.courseboxinfo {
f2c485e3 167 font-size:medium;
992b5971 168}
169
170.courseboxteachers,
171.courseboxcost {
172 font-size:smaller;
173}
174
175.courseboxsummary {
176 font-size:small;
177}
178
7005a81c 179
25ecf09a 180/* user */
181.userinfobox .username {
182 font-weight: bold;
183}
184
185.userinfobox .links {
186 font-size: 0.7em;
187}
188
189
d796e6d8 190
191/*****************************
192***
193*** Activities
194***
195******************************/
196/* index, admin, course, lang, adodb, quiz */
197.categoryname,
198.categorynumber {
199 font-size:larger;
200 font-weight:bold;
201}
202
203
992b5971 204/* forum */
a8e1f343 205.forumolddiscuss {
206 text-align:right;
207}
208
992b5971 209.forumaddnew,
992b5971 210.forumnodiscuss,
992b5971 211.noticeboxcontent {
212 text-align:center;
213}
214
215.forumnodiscuss,
a8e1f343 216 font-weight:bold;
217}
218
992b5971 219
992b5971 220
4c7f1eb6 221.forumpost .topic .subject {
222 font-weight: bold;
223}
224
225.forumpost .topic .author {
226 font-size: 0.8em;
227}
228
233bc4bb 229.forumheaderlist .discussion .lastpost {
230 font-size: 0.7em;
231}
232
233
7005a81c 234
992b5971 235/* message */
236.message_summary_link {
237 font-size:small;
a8e1f343 238 text-align:right;
239}
240
992b5971 241.message_link {
242 font-size:x-small;
243}
244
245.message_form {
246 font-size:0.78em;
247}
248
249.message_heading {
250 font-size:medium;
a8e1f343 251 font-weight:bold;
992b5971 252 text-align:center;
a8e1f343 253}
254
992b5971 255.message_date,
256.message_contact,
257.message_summary {
258 font-size:small;
a8e1f343 259}
260
992b5971 261.message_small_note,
262.message_pix {
263 font-size:x-small;
264}
265
7005a81c 266
992b5971 267/* quiz */
268.feedbacktext {
269 text-align:right;
270}
271
272.editorhelptext {
273 font-size:x-small;
274}
275
9d034c94 276body#mod-quiz-report table#attempts .header {
277 text-align: left;
278}
279body#mod-quiz-report table#attempts .picture {
280 text-align: center !important;
281}
282body#mod-quiz-report .controls {
283 text-align: center;
284}
285
7005a81c 286
ebc4968b 287/* glossary */
3cc9a26c 288.glossarypost .commands {
ebc4968b 289 font-size: 0.7em;
290}
f2c485e3 291.glossarypost .entryheader .author {
292 font-size: 0.7em;
293 font-style: italic;
294}
295.concept {
296 font-weight: bold;
297}
36996192 298.glossarycomment .time {
299 font-size: 0.7em;
300 font-style: italic;
301}
ebc4968b 302
303
992b5971 304/*****************************
305***
306*** Calendar
307***
308******************************/
a8e1f343 309
ed8ea92b 310#calendar .maincalendar .eventlist .event .referer {
446390fb 311 font-weight:bold;
312}
313
ed8ea92b 314#calendar .maincalendar .eventlist .event .course {
315 font-size:0.8em;
316}
317
318#calendar .maincalendar .eventlist .event .description .commands {
319 text-align: right;
320}
321
a0c7341a 322#calendar .maincalendar table.calendarmonth td {
446390fb 323 font-size:0.8em;
324 line-height:1.2em;
325}
326
327#calendar .maincalendar .heading,
328#calendar .sidecalendar .heading
329{
330 font-weight:bold;
331}
332
333#calendar .sidecalendar .filters,
334.sideblock.block_calendar_month .filters
335{
336 font-size:0.75em;
337}
338
339#calendar .maincalendar .controls {
340 font-size:1.2em;
341}
342
343#calendar .maincalendar .day {
344 font-weight: bold;
345}
346
347table.minicalendar {
348 font-size:0.85em;
349}
350
a0c7341a 351table.minicalendar td {
446390fb 352 text-align: center;
353}
354
e96ba29d 355.sideblock.block_calendar_month .cal_popup_caption,
446390fb 356.sideblock.block_calendar_month .cal_popup_fg div
357{
e96ba29d 358 font-size: 0.85em !important;
359}
360
361.cal_popup_caption {
362 font-family:sans-serif;
363 font-size:0.8em;
364 font-weight:bold;
365}
366
367.cal_popup_close {
368 font-family:sans-serif;
369 font-size:0.8em;
370 font-weight:bold;
371}
372
1f473774 373table.calendar-controls .previous {
374 text-align: left;
375}
376table.calendar-controls .current {
377 text-align: center;
378}
379table.calendar-controls .next {
380 text-align: right;
381}
382#calendar .maincalendar .calendar-controls .current {
383 font-weight: bold;
384}
385
992b5971 386/*****************************
387***
388*** Blocks
389***
390******************************/
9ecf051d 391
3bab9f2a 392.sideblock .heading {
ec7e2e5f 393 text-align: left;
394}
395
3bab9f2a 396.sideblock .heading .commands {
96803c88 397 font-size: 0.75em;
398}
399
9ecf051d 400.sideblock .footer {
401 font-size:0.75em;
402 text-align:center;
403}
404
90ec387a 405.sideblock .head,
406.sideblock .info {
407 font-size: 0.85em;
408}
409
410
992b5971 411/* block_rss_client.php */
412.rssclientlink {
413 font-size:x-small;
a8e1f343 414}
415
992b5971 416.rssclientdescription {
a8e1f343 417 font-size:x-small;
6fde77de 418}
4d411a99 419
9ecf051d 420.sideblock.block_quiz_results h1 {
29ba5158 421 font-weight: bold;
422 font-size: 1.2em;
423}
424
9ecf051d 425.sideblock.block_quiz_results table.grades caption {
29ba5158 426 font-weight: bold;
427}
428
9ecf051d 429.sideblock.block_quiz_results table.grades .number, .block_quiz_results table.grades .grade {
29ba5158 430 text-align: right;
431}
432
9ecf051d 433.sideblock.block_quiz_results {
29ba5158 434 text-align: center;
435}
436
9ecf051d 437.sideblock.block_quiz_results table.grades {
29ba5158 438 text-align: left;
439}
4d411a99 440
9ecf051d 441.sideblock.block_calendar_upcoming .event .date {
442 font-size:0.8em;
443 text-align:right;
444}
445
4d411a99 446/*****************************
447***
448*** User
449***
450******************************/
451
452body#user-index #longtimenosee {
453 text-align:center;
2f71f2a2 454}
2c223cb7 455
456
457/* Messaging */
458
459.message .author {
460 font-weight: bold;
461}
462
463.message .time {
464 font-weight: italic;
465}
466
467.message .content {
468}
15b2ea91 469
470
471.helplink {
472 font-size:0.8em;
473}
af328e4b 474
475.headingblock .title {
476 font-weight: bold;
477}
478.headingblock .link {
479 font-size: 0.9em;
480 font-weight: bold;
481}