mirror of
https://github.com/moodle/moodle.git
synced 2025-01-20 15:08:32 +01:00
390 lines
5.2 KiB
CSS
390 lines
5.2 KiB
CSS
/* $Id$ */
|
|
|
|
/*************************************************
|
|
***
|
|
*** 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 */
|
|
font {
|
|
font-size:100% !important;
|
|
}
|
|
|
|
.clearer {
|
|
font-size:1px;
|
|
}
|
|
|
|
.smallinfo {
|
|
font-size:100%;
|
|
}
|
|
|
|
.smallinfohead {
|
|
font-size:100%;
|
|
}
|
|
|
|
|
|
/* general styles */
|
|
body {
|
|
font-family:"Lucida Grande", Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif !important;
|
|
font-size:1em;
|
|
line-height:1.2em;
|
|
letter-spacing:0.02em;
|
|
}
|
|
|
|
/*td, th, p, a {
|
|
font-family:inherit;
|
|
font-family:inherit;
|
|
font-size:inherit;
|
|
}*/
|
|
|
|
th {
|
|
font-weight:bold;
|
|
}
|
|
|
|
a {
|
|
font-family:inherit;
|
|
font-size:inherit;
|
|
line-height:150%;
|
|
text-decoration:none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration:underline;
|
|
}
|
|
|
|
a.dimmed:link,
|
|
a.dimmed:visited,
|
|
a.dimmed:hover,
|
|
a.autolink:link,
|
|
a.autolink:visited,
|
|
a.autolink:hover {
|
|
text-decoration:none;
|
|
}
|
|
|
|
h2 {
|
|
font-size:150%;
|
|
font-weight:bold;
|
|
}
|
|
|
|
h3 {
|
|
font-size:130%;
|
|
font-weight:bold;
|
|
}
|
|
|
|
h4 {
|
|
font-size:110%;
|
|
font-weight:bold;
|
|
}
|
|
|
|
|
|
/* header styles */
|
|
#header,
|
|
#header-home {
|
|
font-size:90%;
|
|
}
|
|
|
|
#nav-bar {
|
|
font-size:80%;
|
|
}
|
|
|
|
#header-home .headermain {
|
|
font-size:150%;
|
|
}
|
|
|
|
#header .headermain {
|
|
font-size:130%;
|
|
}
|
|
|
|
#breadcrumb {
|
|
font-size:80%;
|
|
}
|
|
|
|
.headermenu {
|
|
font-size:90%;
|
|
text-align:right;
|
|
}
|
|
|
|
.headermain,
|
|
.headerhomemain {
|
|
font-weight:bold;
|
|
}
|
|
|
|
.headerhomemenu,
|
|
.headerhomemenu a {
|
|
font-size:90%;
|
|
}
|
|
|
|
.logininfo {
|
|
font-size:90%;
|
|
}
|
|
|
|
|
|
/* footer styles */
|
|
#footer {
|
|
font-size:90%;
|
|
text-align:center;
|
|
}
|
|
|
|
.homelink {
|
|
font-size:90%;
|
|
}
|
|
|
|
|
|
/*****************************
|
|
***
|
|
*** content styles
|
|
***
|
|
******************************/
|
|
#content {
|
|
font-size:80%;
|
|
text-align:left;
|
|
}
|
|
|
|
|
|
/* many places */
|
|
.noticeboxcontent {
|
|
text-align:center;
|
|
}
|
|
|
|
|
|
/* entry page */
|
|
#site-index #layout-table { }
|
|
|
|
#site-index #layout-table .sideblock a { }
|
|
|
|
#site-index #block_course_summary {
|
|
line-height:1.5em;
|
|
}
|
|
|
|
|
|
/*****************************
|
|
***
|
|
*** Admin
|
|
***
|
|
******************************/
|
|
#admin-config .generalbox,
|
|
#admin-site .generalbox,
|
|
#admin-backup .generalbox,
|
|
#admin-calendar .generalbox,
|
|
#admin-editor .generalbox,
|
|
#admin-lang .generalbox {
|
|
font-size:90%;
|
|
text-align:left;
|
|
}
|
|
|
|
#admin-index .generaltable {
|
|
/*font-size:0.9em;*/
|
|
text-align:left;
|
|
}
|
|
|
|
#admin-lang FORM {
|
|
/*font-size:0.9em;*/
|
|
}
|
|
|
|
#admin-blocks #content p,
|
|
#admin-modules #content p {
|
|
margin:0;
|
|
padding:0;
|
|
}
|
|
|
|
|
|
/*****************************
|
|
***
|
|
*** Course
|
|
***
|
|
******************************/
|
|
.course {
|
|
text-align:left;
|
|
}
|
|
|
|
|
|
/* course, entry-page, login */
|
|
.headingblock {
|
|
font-weight:bold;
|
|
}
|
|
|
|
|
|
/* course */
|
|
#left-column,
|
|
#right-column {
|
|
text-align:left;
|
|
}
|
|
|
|
#middle-column{
|
|
text-align:left;
|
|
}
|
|
|
|
.outlineheadingblock {
|
|
font-weight:bold;
|
|
}
|
|
|
|
.weeklydatetext {
|
|
font-weight:bold;
|
|
}
|
|
|
|
.courseboxinfo {
|
|
font-weight:bold;
|
|
}
|
|
|
|
|
|
/*****************************
|
|
***
|
|
*** Activities
|
|
***
|
|
******************************/
|
|
/* index, admin, course, lang, adodb, quiz */
|
|
.categoryname,
|
|
.categorynumber {
|
|
font-weight:bold;
|
|
}
|
|
|
|
|
|
/* forum */
|
|
.forum {
|
|
text-align:left;
|
|
}
|
|
|
|
.forumpostheadertopic { }
|
|
|
|
.unread {
|
|
font-style:normal;
|
|
}
|
|
|
|
|
|
/* glossary */
|
|
.glossary .generaltab B,
|
|
.glossary .generaltabselected B {
|
|
font-weight:normal;
|
|
}
|
|
|
|
.glossary .generaltab,
|
|
.glossary .generaltabselected {
|
|
font-size:80%;
|
|
}
|
|
|
|
|
|
/* wiki */
|
|
.mwiki {
|
|
text-align:left;
|
|
}
|
|
|
|
.wiki .upload {
|
|
font-size:0.9em;
|
|
}
|
|
|
|
.mwiki .generaltab,
|
|
.mwiki .generaltabselected { }
|
|
|
|
#containerPageActions {
|
|
text-align:left;
|
|
}
|
|
|
|
|
|
/*****************************
|
|
***
|
|
*** Calendar
|
|
***
|
|
******************************/
|
|
TABLE.calendarmini {
|
|
letter-spacing:0.1em;
|
|
}
|
|
|
|
TABLE.calendarmini TBODY TD {
|
|
text-align:center;
|
|
letter-spacing:0em;
|
|
}
|
|
|
|
TABLE.calendarmonth TBODY TD TABLE {
|
|
line-height:1.2em;
|
|
}
|
|
|
|
TABLE.calendarmonth TBODY TD DIV {
|
|
line-height:1.2em;
|
|
}
|
|
|
|
TABLE.calendarmini THEAD TD,
|
|
TABLE.calendarmonth THEAD TD {
|
|
font-weight:bold;
|
|
text-align:center;
|
|
}
|
|
|
|
TABLE.cal_controls td {
|
|
line-height:1.2em;
|
|
}
|
|
|
|
.mycalendar .cal_event {
|
|
font-weight:bold;
|
|
}
|
|
|
|
.mycalendar .cal_event_date { }
|
|
|
|
.mycalendar .cal_event_table THEAD {
|
|
text-align:center;
|
|
font-weight:bold;
|
|
}
|
|
|
|
.calendarexpired {
|
|
font-weight:bold;
|
|
}
|
|
|
|
.calendarreferer {
|
|
font-weight:bold;
|
|
}
|
|
|
|
.cal_popup_caption {
|
|
font-weight:bold;
|
|
}
|
|
|
|
.cal_popup_close {
|
|
font-weight:bold;
|
|
}
|
|
|
|
.sideblock .cal_controls { }
|
|
|
|
|
|
/*****************************
|
|
***
|
|
*** Blocks
|
|
***
|
|
******************************/
|
|
/* sideblock */
|
|
.sideblock {
|
|
font-size:90%;
|
|
}
|
|
|
|
.sideblockheading {
|
|
font-weight:bold;
|
|
}
|
|
|
|
.sideblocklist { }
|
|
|
|
td.sideblockmain center, td.sideblockmain p, td.sideblockmain div {
|
|
text-align:left;
|
|
}
|
|
|
|
|
|
/* course summary */
|
|
#block_course_summary .sideblockmain { } |