Added CSS hooks for page
[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,
210.forumaddnewminimal,
211.forumnodiscuss,
212.forumnodiscussminimal,
213.forumolddiscussminimal,
214.noticeboxcontent {
215 text-align:center;
216}
217
218.forumnodiscuss,
219.forumnodiscussminimal {
a8e1f343 220 font-weight:bold;
221}
222
992b5971 223.forumpostheadername,
224.forumpostheaderreplies,
225.forumpostheaderdate {
226 font-size:small;
227}
228
229.forumaddnewminimal,
230.forumnodiscussminimal,
231.forumheadminimal,
232.foruminfominimal,
233.forumolddiscussminimal {
234 font-size:x-small;
235}
236
4c7f1eb6 237.forumpost .topic .subject {
238 font-weight: bold;
239}
240
241.forumpost .topic .author {
242 font-size: 0.8em;
243}
244
233bc4bb 245.forumheaderlist .discussion .lastpost {
246 font-size: 0.7em;
247}
248
249
7005a81c 250
992b5971 251/* message */
252.message_summary_link {
253 font-size:small;
a8e1f343 254 text-align:right;
255}
256
992b5971 257.message_link {
258 font-size:x-small;
259}
260
261.message_form {
262 font-size:0.78em;
263}
264
265.message_heading {
266 font-size:medium;
a8e1f343 267 font-weight:bold;
992b5971 268 text-align:center;
a8e1f343 269}
270
992b5971 271.message_date,
272.message_contact,
273.message_summary {
274 font-size:small;
a8e1f343 275}
276
992b5971 277.message_small_note,
278.message_pix {
279 font-size:x-small;
280}
281
7005a81c 282
992b5971 283/* quiz */
284.feedbacktext {
285 text-align:right;
286}
287
288.editorhelptext {
289 font-size:x-small;
290}
291
7005a81c 292
ebc4968b 293/* glossary */
3cc9a26c 294.glossarypost .commands {
ebc4968b 295 font-size: 0.7em;
296}
f2c485e3 297.glossarypost .entryheader .author {
298 font-size: 0.7em;
299 font-style: italic;
300}
301.concept {
302 font-weight: bold;
303}
ebc4968b 304
305
992b5971 306/*****************************
307***
308*** Calendar
309***
310******************************/
a8e1f343 311
ed8ea92b 312#calendar .maincalendar .eventlist .event .referer {
446390fb 313 font-weight:bold;
314}
315
ed8ea92b 316#calendar .maincalendar .eventlist .event .course {
317 font-size:0.8em;
318}
319
320#calendar .maincalendar .eventlist .event .description .commands {
321 text-align: right;
322}
323
a0c7341a 324#calendar .maincalendar table.calendarmonth td {
446390fb 325 font-size:0.8em;
326 line-height:1.2em;
327}
328
329#calendar .maincalendar .heading,
330#calendar .sidecalendar .heading
331{
332 font-weight:bold;
333}
334
335#calendar .sidecalendar .filters,
336.sideblock.block_calendar_month .filters
337{
338 font-size:0.75em;
339}
340
341#calendar .maincalendar .controls {
342 font-size:1.2em;
343}
344
345#calendar .maincalendar .day {
346 font-weight: bold;
347}
348
349table.minicalendar {
350 font-size:0.85em;
351}
352
a0c7341a 353table.minicalendar td {
446390fb 354 text-align: center;
355}
356
e96ba29d 357.sideblock.block_calendar_month .cal_popup_caption,
446390fb 358.sideblock.block_calendar_month .cal_popup_fg div
359{
e96ba29d 360 font-size: 0.85em !important;
361}
362
363.cal_popup_caption {
364 font-family:sans-serif;
365 font-size:0.8em;
366 font-weight:bold;
367}
368
369.cal_popup_close {
370 font-family:sans-serif;
371 font-size:0.8em;
372 font-weight:bold;
373}
374
1f473774 375table.calendar-controls .previous {
376 text-align: left;
377}
378table.calendar-controls .current {
379 text-align: center;
380}
381table.calendar-controls .next {
382 text-align: right;
383}
384#calendar .maincalendar .calendar-controls .current {
385 font-weight: bold;
386}
387
992b5971 388/*****************************
389***
390*** Blocks
391***
392******************************/
9ecf051d 393
ec7e2e5f 394.sideblockheading {
395 text-align: left;
396}
397
96803c88 398.sideblock .sideblockheading .commands {
399 font-size: 0.75em;
400}
401
9ecf051d 402.sideblock .footer {
403 font-size:0.75em;
404 text-align:center;
405}
406
992b5971 407/* block_rss_client.php */
408.rssclientlink {
409 font-size:x-small;
a8e1f343 410}
411
992b5971 412.rssclientdescription {
a8e1f343 413 font-size:x-small;
6fde77de 414}
4d411a99 415
9ecf051d 416.sideblock.block_quiz_results h1 {
29ba5158 417 font-weight: bold;
418 font-size: 1.2em;
419}
420
9ecf051d 421.sideblock.block_quiz_results table.grades caption {
29ba5158 422 font-weight: bold;
423}
424
9ecf051d 425.sideblock.block_quiz_results table.grades .number, .block_quiz_results table.grades .grade {
29ba5158 426 text-align: right;
427}
428
9ecf051d 429.sideblock.block_quiz_results {
29ba5158 430 text-align: center;
431}
432
9ecf051d 433.sideblock.block_quiz_results table.grades {
29ba5158 434 text-align: left;
435}
4d411a99 436
9ecf051d 437.sideblock.block_calendar_upcoming .event .date {
438 font-size:0.8em;
439 text-align:right;
440}
441
4d411a99 442/*****************************
443***
444*** User
445***
446******************************/
447
448body#user-index #longtimenosee {
449 text-align:center;
2f71f2a2 450}