mirror of
https://github.com/moodle/moodle.git
synced 2025-01-20 15:08:32 +01:00
510 lines
7.2 KiB
CSS
510 lines
7.2 KiB
CSS
/*************************************************
|
|
***
|
|
*** fonts
|
|
***
|
|
**************************************************/
|
|
|
|
/*************************************************
|
|
***
|
|
*** This CSS file contains all font definitions
|
|
*** like family, size, weight,
|
|
*** text-align, letter-spacing
|
|
*** etc.
|
|
***
|
|
*** Shortindex:
|
|
*** basic and general styles
|
|
*** header and footer styles
|
|
*** content styles (alphabetically)
|
|
*** admin, course, activities, calendar, blocks
|
|
***
|
|
*** Please sort new styles for existing content
|
|
*** into the appropriate part of this CSS file.
|
|
*** Styles for new Blocks or Activities please
|
|
*** place at the end.
|
|
*** Wouldn't the alphabetical order be better?
|
|
***
|
|
**************************************************/
|
|
|
|
|
|
/* basic styles */
|
|
|
|
.clearer {
|
|
font-size:1px;
|
|
}
|
|
|
|
|
|
/* general styles */
|
|
body, td, th, li {
|
|
font-family:"Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
|
|
font-size:0.95em;
|
|
}
|
|
|
|
th {
|
|
font-weight:bold;
|
|
}
|
|
|
|
a:link,
|
|
a:visited {
|
|
text-decoration:none;
|
|
}
|
|
|
|
a.dimmed:link,
|
|
a.dimmed:visited {
|
|
text-decoration:none;
|
|
}
|
|
|
|
a.autolink:link,
|
|
a.autolink:visited {
|
|
text-decoration:none;
|
|
}
|
|
|
|
a.autolink:hover,
|
|
a:hover,
|
|
a.dimmed:hover {
|
|
text-decoration:underline;
|
|
}
|
|
|
|
h1.main,
|
|
h2.main,
|
|
h3.main,
|
|
h4.main,
|
|
h5.main,
|
|
h6.main {
|
|
font-weight:bold;
|
|
text-align: center;
|
|
}
|
|
|
|
h1 {
|
|
font-size:1.7em;
|
|
}
|
|
h2 {
|
|
font-size:1.4em;
|
|
}
|
|
h3 {
|
|
font-size:1.1em;
|
|
}
|
|
h4 {
|
|
font-size:1.0em;
|
|
}
|
|
|
|
.bold {
|
|
font-weight:bold;
|
|
}
|
|
|
|
.sideblock .content h3,
|
|
.sideblock .content h2 {
|
|
text-align: left;
|
|
font-size:1.0em;
|
|
}
|
|
|
|
/* header styles */
|
|
.headermain {
|
|
font-weight:bold;
|
|
}
|
|
|
|
#header-home .headermain {
|
|
font-size:1.5em;
|
|
}
|
|
|
|
#header .headermain {
|
|
font-size:1.3em;
|
|
}
|
|
|
|
#breadcrumb {
|
|
font-size:0.9em;
|
|
font-weight:bold;
|
|
}
|
|
|
|
.logininfo,
|
|
#header-home .headermenu font {
|
|
font-size:x-small;
|
|
}
|
|
|
|
/* footer styles */
|
|
.homelink {
|
|
font-size:x-small;
|
|
}
|
|
|
|
|
|
/*****************************
|
|
***
|
|
*** content styles
|
|
***
|
|
******************************/
|
|
/* many places */
|
|
|
|
.errorbox .title {
|
|
font-weight: bold;
|
|
font-size: 1.2em;
|
|
text-align: center;
|
|
}
|
|
|
|
/* paging bar */
|
|
.pagingbar .title {
|
|
font-weight: bold;
|
|
}
|
|
.pagingbar .thispage {
|
|
font-weight: bold;
|
|
}
|
|
|
|
/*****************************
|
|
***
|
|
*** Admin
|
|
***
|
|
******************************/
|
|
|
|
table.formtable tbody th {
|
|
font-weight: normal;
|
|
text-align: right;
|
|
}
|
|
|
|
|
|
/*****************************
|
|
***
|
|
*** Course
|
|
***
|
|
******************************/
|
|
/* course */
|
|
.activitydate, .activityhead {
|
|
font-size:x-small;
|
|
text-align:center;
|
|
}
|
|
|
|
.weeklydatetext {
|
|
font-size:medium;
|
|
font-weight:bold;
|
|
}
|
|
|
|
.courseboxinfo {
|
|
font-size:medium;
|
|
}
|
|
|
|
.courseboxteachers,
|
|
.courseboxcost {
|
|
font-size:smaller;
|
|
}
|
|
|
|
.courseboxsummary {
|
|
font-size:small;
|
|
}
|
|
|
|
|
|
/* user */
|
|
.userinfobox .username {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.userinfobox .links {
|
|
font-size: 0.7em;
|
|
}
|
|
|
|
|
|
|
|
/*****************************
|
|
***
|
|
*** Activities
|
|
***
|
|
******************************/
|
|
/* index, admin, course, lang, adodb, quiz */
|
|
.categoryname,
|
|
.categorynumber {
|
|
font-size:larger;
|
|
font-weight:bold;
|
|
}
|
|
|
|
|
|
/* forum */
|
|
.forumolddiscuss {
|
|
text-align:right;
|
|
}
|
|
|
|
.forumaddnew,
|
|
.forumnodiscuss,
|
|
.noticeboxcontent {
|
|
text-align:center;
|
|
}
|
|
|
|
.forumnodiscuss,
|
|
font-weight:bold;
|
|
}
|
|
|
|
|
|
|
|
.forumpost .topic .subject {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.forumpost .topic .author {
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.forumheaderlist .discussion .lastpost {
|
|
font-size: 0.7em;
|
|
}
|
|
|
|
|
|
|
|
/* message */
|
|
.message_summary_link {
|
|
font-size:small;
|
|
text-align:right;
|
|
}
|
|
|
|
.message_link {
|
|
font-size:x-small;
|
|
}
|
|
|
|
.message_form {
|
|
font-size:0.78em;
|
|
}
|
|
|
|
.message_heading {
|
|
font-size:medium;
|
|
font-weight:bold;
|
|
text-align:center;
|
|
}
|
|
|
|
.message_date,
|
|
.message_contact,
|
|
.message_summary {
|
|
font-size:small;
|
|
}
|
|
|
|
.message_small_note,
|
|
.message_pix {
|
|
font-size:x-small;
|
|
}
|
|
|
|
|
|
/* quiz */
|
|
.feedbacktext {
|
|
text-align:right;
|
|
}
|
|
|
|
.editorhelptext {
|
|
font-size:x-small;
|
|
}
|
|
|
|
body#mod-quiz-report table#attempts .header {
|
|
text-align: left;
|
|
}
|
|
body#mod-quiz-report table#attempts .picture {
|
|
text-align: center !important;
|
|
}
|
|
body#mod-quiz-report .controls {
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
/* glossary */
|
|
.glossarypost .commands {
|
|
font-size: 0.7em;
|
|
}
|
|
.glossarypost .entryheader .author {
|
|
font-size: 0.7em;
|
|
font-style: italic;
|
|
}
|
|
.concept {
|
|
font-weight: bold;
|
|
}
|
|
.glossarycomment .time {
|
|
font-size: 0.7em;
|
|
font-style: italic;
|
|
}
|
|
|
|
|
|
/*****************************
|
|
***
|
|
*** Calendar
|
|
***
|
|
******************************/
|
|
|
|
#calendar .maincalendar .eventlist .event .referer {
|
|
font-weight:bold;
|
|
}
|
|
|
|
#calendar .maincalendar .eventlist .event .course {
|
|
font-size:0.8em;
|
|
}
|
|
|
|
#calendar .maincalendar .eventlist .event .description .commands {
|
|
text-align: right;
|
|
}
|
|
|
|
#calendar .maincalendar table.calendarmonth td {
|
|
font-size:0.8em;
|
|
line-height:1.2em;
|
|
}
|
|
|
|
#calendar .maincalendar .heading,
|
|
#calendar .sidecalendar .heading
|
|
{
|
|
font-weight:bold;
|
|
}
|
|
|
|
#calendar .sidecalendar .filters,
|
|
.sideblock.block_calendar_month .filters
|
|
{
|
|
font-size:0.75em;
|
|
}
|
|
|
|
#calendar .maincalendar .controls {
|
|
font-size:1.2em;
|
|
}
|
|
|
|
#calendar .maincalendar .day {
|
|
font-weight: bold;
|
|
}
|
|
|
|
table.minicalendar {
|
|
font-size:0.85em;
|
|
}
|
|
|
|
table.minicalendar td {
|
|
text-align: center;
|
|
}
|
|
|
|
.sideblock.block_calendar_month .cal_popup_caption,
|
|
.sideblock.block_calendar_month .cal_popup_fg div
|
|
{
|
|
font-size: 0.85em !important;
|
|
}
|
|
|
|
.cal_popup_caption {
|
|
font-family:sans-serif;
|
|
font-size:0.8em;
|
|
font-weight:bold;
|
|
}
|
|
|
|
.cal_popup_close {
|
|
font-family:sans-serif;
|
|
font-size:0.8em;
|
|
font-weight:bold;
|
|
}
|
|
|
|
table.calendar-controls .previous {
|
|
text-align: left;
|
|
}
|
|
table.calendar-controls .current {
|
|
text-align: center;
|
|
}
|
|
table.calendar-controls .next {
|
|
text-align: right;
|
|
}
|
|
#calendar .maincalendar .calendar-controls .current {
|
|
font-weight: bold;
|
|
}
|
|
|
|
/*****************************
|
|
***
|
|
*** Blocks
|
|
***
|
|
******************************/
|
|
|
|
.sideblock .header {
|
|
text-align: left;
|
|
}
|
|
|
|
.sideblock .header .commands {
|
|
font-size: 0.75em;
|
|
}
|
|
|
|
.sideblock .footer {
|
|
font-size:0.75em;
|
|
text-align:center;
|
|
}
|
|
|
|
.sideblock .head,
|
|
.sideblock .info {
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
.sideblock .date {
|
|
font-style: italic;
|
|
}
|
|
|
|
|
|
/* block_rss_client.php */
|
|
.rssclientlink {
|
|
font-size:x-small;
|
|
}
|
|
|
|
.rssclientdescription {
|
|
font-size:x-small;
|
|
}
|
|
|
|
.sideblock.block_quiz_results h1 {
|
|
font-weight: bold;
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
.sideblock.block_quiz_results table.grades caption {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.sideblock.block_quiz_results table.grades .number, .block_quiz_results table.grades .grade {
|
|
text-align: right;
|
|
}
|
|
|
|
.sideblock.block_quiz_results {
|
|
text-align: center;
|
|
}
|
|
|
|
.sideblock.block_quiz_results table.grades {
|
|
text-align: left;
|
|
}
|
|
|
|
.sideblock.block_calendar_upcoming .event .date {
|
|
font-size:0.8em;
|
|
text-align:right;
|
|
}
|
|
|
|
/*****************************
|
|
***
|
|
*** User
|
|
***
|
|
******************************/
|
|
|
|
body#user-index #longtimenosee {
|
|
text-align:center;
|
|
}
|
|
|
|
|
|
/* Messaging */
|
|
|
|
.message .author {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.message .time {
|
|
font-weight: italic;
|
|
}
|
|
|
|
.message .content {
|
|
}
|
|
|
|
|
|
.helplink {
|
|
font-size:0.8em;
|
|
}
|
|
|
|
.headingblock .title {
|
|
font-weight: bold;
|
|
}
|
|
.headingblock .link {
|
|
font-size: 0.9em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.files .file {
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.files .folder {
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.files .folder .size {
|
|
font-weight: bold;
|
|
}
|