Tidying up stylesheets (SE)

This commit is contained in:
moodler 2005-03-22 10:04:55 +00:00
parent 843cd656f4
commit 06f8f223e9

View File

@ -1,39 +1,49 @@
/*************************************************
***
*** fonts
***
**************************************************/
/*******************************************************************
styles_color.css
This CSS file contains all font definitions like family, size,
weight, text-align, letter-spacing etc.
/*************************************************
***
*** 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?
***
**************************************************/
Styles are organised into the following sections:
core
header
footer
admin
blocks
calendar
course
doc
login
message
tabs
user
modules
assignment
chat
choice
forum
glossary
journal
label
lesson
quiz
resource
scorm
survey
wiki
workshop
*******************************************************************/
/* basic styles */
/*******************************************************************
*** Core
*******************************************************************/
.clearer {
font-size:1px;
}
/* general styles */
body, td, th, li {
font-family:"Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
font-size:0.95em;
@ -86,7 +96,59 @@ h4 {
font-size:1.0em;
}
/* header styles */
.errorbox .title {
font-weight: bold;
font-size: 1.2em;
text-align: center;
}
/* paging bar */
.pagingbar .title {
font-weight: bold;
}
.pagingbar .thispage {
font-weight: bold;
}
/* index, admin, course, lang, adodb, quiz */
.categoryname,
.categorynumber {
font-size:larger;
font-weight:bold;
}
.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;
}
/*******************************************************************
*** Header
*******************************************************************/
.headermain {
font-weight:bold;
}
@ -109,38 +171,19 @@ h4 {
font-size:x-small;
}
/* footer styles */
/*******************************************************************
*** Footer
*******************************************************************/
.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;
@ -148,165 +191,72 @@ table.formtable tbody th {
}
/*****************************
***
*** Course
***
******************************/
/* course */
.activitydate, .activityhead {
font-size:x-small;
text-align:center;
}
/*******************************************************************
*** Blocks
*******************************************************************/
.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 {
.sideblock .header {
text-align: left;
}
body#mod-quiz-report table#attempts .picture {
text-align: center !important;
.sideblock .header .commands {
font-size: 0.75em;
}
body#mod-quiz-report .controls {
.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;
}
/* 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;
.sideblock.block_calendar_upcoming .event .date {
font-size:0.8em;
text-align:right;
}
/*****************************
***
/*******************************************************************
*** Calendar
***
******************************/
*******************************************************************/
#calendar .maincalendar .eventlist .event .referer {
font-weight:bold;
@ -383,82 +333,80 @@ table.calendar-controls .next {
font-weight: bold;
}
/*****************************
***
*** Blocks
***
******************************/
.sideblock .header {
text-align: left;
}
/*******************************************************************
*** Course
*******************************************************************/
.sideblock .header .commands {
font-size: 0.75em;
}
.sideblock .footer {
font-size:0.75em;
.activitydate, .activityhead {
font-size:x-small;
text-align:center;
}
.sideblock .head,
.sideblock .info {
font-size: 0.85em;
.weeklydatetext {
font-size:medium;
font-weight:bold;
}
.sideblock .date {
font-style: italic;
.courseboxinfo {
font-size:medium;
}
.courseboxteachers,
.courseboxcost {
font-size:smaller;
}
.courseboxsummary {
font-size:small;
}
/* 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;
}
/*******************************************************************
*** Doc
*******************************************************************/
.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;
}
/*******************************************************************
*** Login
*******************************************************************/
.sideblock.block_quiz_results {
text-align: center;
}
.sideblock.block_quiz_results table.grades {
text-align: left;
}
/*******************************************************************
*** Message
*******************************************************************/
.sideblock.block_calendar_upcoming .event .date {
font-size:0.8em;
.message_summary_link {
font-size:small;
text-align:right;
}
/*****************************
***
*** User
***
******************************/
.message_link {
font-size:x-small;
}
body#user-index #longtimenosee {
.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;
}
/* Messaging */
.message_small_note,
.message_pix {
font-size:x-small;
}
.message .author {
font-weight: bold;
@ -472,26 +420,147 @@ body#user-index #longtimenosee {
}
.helplink {
font-size:0.8em;
}
/*******************************************************************
*** Tabs
*******************************************************************/
.headingblock .title {
font-weight: bold;
}
.headingblock .link {
font-size: 0.9em;
/*******************************************************************
*** User
*******************************************************************/
.userinfobox .username {
font-weight: bold;
}
.files .file {
font-size: 0.9em;
.userinfobox .links {
font-size: 0.7em;
}
.files .folder {
font-size: 0.9em;
body#user-index #longtimenosee {
text-align:center;
}
.files .folder .size {
/*******************************************************************
*** Modules: Assignment
*******************************************************************/
/*******************************************************************
*** Modules: Chat
*******************************************************************/
/*******************************************************************
*** Modules: Choice
*******************************************************************/
/*******************************************************************
*** Modules: 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;
}
/*******************************************************************
*** Modules: 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;
}
/*******************************************************************
*** Modules: Journal
*******************************************************************/
/*******************************************************************
*** Modules: Label
*******************************************************************/
/*******************************************************************
*** Modules: Lesson
*******************************************************************/
/*******************************************************************
*** Modules: 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;
}
/*******************************************************************
*** Modules: Resource
*******************************************************************/
/*******************************************************************
*** Modules: Scorm
*******************************************************************/
/*******************************************************************
*** Modules: Survey
*******************************************************************/
/*******************************************************************
*** Modules: Wiki
*******************************************************************/
/*******************************************************************
*** Modules: Workshop
*******************************************************************/