MediaWiki:Common.css
From eqqon
(Difference between revisions)
m |
|||
(5 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
/** CSS placed here will be applied to all skins */ | /** CSS placed here will be applied to all skins */ | ||
+ | |||
.eqqon_table { background-color:#ffffff; border: 1px solid #cccccc; border-collapse:collapse; margin:2px; padding:2px; } | .eqqon_table { background-color:#ffffff; border: 1px solid #cccccc; border-collapse:collapse; margin:2px; padding:2px; } | ||
Line 45: | Line 46: | ||
.book samp { text-align:left; } | .book samp { text-align:left; } | ||
+ | |||
+ | |||
+ | |||
+ | /* blog styles */ .blog { background-color:#e8e8e8; padding:10px; position:relative; left:80px; width:600px; } | ||
+ | |||
+ | .blog p { text-align:justify; text-indent:20px; } | ||
+ | |||
+ | .blog pre { background-color:#e0e0ff; border:0px; margin:0px; text-align:left; } | ||
+ | |||
+ | .blog code { text-align:left; } | ||
+ | |||
+ | .blog samp { text-align:left; } | ||
+ | |||
h3 h4 h5 h6 h7 { background: #ffffff !important; } | h3 h4 h5 h6 h7 { background: #ffffff !important; } | ||
+ | |||
+ | |||
+ | /* mediawiki ambox styles */ | ||
+ | /* Article message box template styles */ | ||
+ | table.ambox { | ||
+ | margin: 0 10%; /* Will not overlap with other elements */ | ||
+ | border-collapse: collapse; | ||
+ | background: #fbfbfb; | ||
+ | border: 1px solid #aaa; | ||
+ | border-left: 10px solid #1e90ff; /* Default "notice" blue */ | ||
+ | } | ||
+ | table.ambox th.ambox-text, table.ambox td.ambox-text { /* The message body cell(s) */ | ||
+ | padding: 0.25em 0.5em; /* 0.5em left/right */ | ||
+ | width: 100%; /* Make all templates the same width regardless of text size */ | ||
+ | } | ||
+ | table.ambox td.ambox-image { /* The left image cell */ | ||
+ | padding: 2px 0px 2px 0.5em; /* 0.5em left, 0px right */ | ||
+ | text-align: center; | ||
+ | } | ||
+ | table.ambox td.ambox-imageright { /* The right image cell */ | ||
+ | padding: 2px 4px 2px 0px; /* 0px left, 4px right */ | ||
+ | text-align: center; | ||
+ | } | ||
+ | table.ambox-notice { | ||
+ | border-left: 10px solid #1e90ff; /* Blue */ | ||
+ | /* border-right: 10px solid #1e90ff; */ /* If you want two blue bars */ | ||
+ | } | ||
+ | table.ambox-delete, | ||
+ | table.ambox-serious { | ||
+ | border-left: 10px solid #b22222; /* Red */ | ||
+ | } | ||
+ | table.ambox-content { | ||
+ | border-left: 10px solid #f28500; /* Orange */ | ||
+ | } | ||
+ | table.ambox-style { | ||
+ | border-left: 10px solid #f4c430; /* Yellow */ | ||
+ | } | ||
+ | table.ambox-merge { | ||
+ | border-left: 10px solid #9932cc; /* Purple */ | ||
+ | } | ||
+ | table.ambox-protection { | ||
+ | border-left: 10px solid #bba; /* Gray */ | ||
+ | } | ||
+ | table.ambox.ambox-mini { /* small floating box variant */ | ||
+ | float: right; | ||
+ | clear: right; | ||
+ | margin: 0 0 0 1em; | ||
+ | width: 25%; | ||
+ | } |
Latest revision as of 15:27, 20 January 2012
/** CSS placed here will be applied to all skins */ .eqqon_table { background-color:#ffffff; border: 1px solid #cccccc; border-collapse:collapse; margin:2px; padding:2px; } .eqqon_table td { vertical-align:top; } .eqqon_table2 { background-color:#ffffff; border: 1px solid #cccccc; border-collapse:collapse; margin:2px; padding:2px; } .eqqon_table2 tr { vertical-align:top; border: 1px dotted #cccccc; } .eqqon_table2 td { vertical-align:top; border: 1px dotted #cccccc; padding:0px 6px 0px 6px; } /* syntax hilite styles generated by scite */ .S0 { color: #808080; } .S2 { font-family: 'Comic Sans MS'; color: #007F00; font-size: 9pt; } .S5 { font-weight: bold; color: #00007F; } .S6 { font-family: 'Courier New'; color: #7F007F; font-size: 10pt; } .S8 { font-weight: bold; color: #0000FF; } .S9 { font-weight: bold; color: #007F7F; } .S10 { font-weight: bold; color: #000000; } .S15 { font-weight: bold; color: #A000A0; } /* eqqon book styles */ .book { background-color:white; padding:10px; position:relative; left:80px; width:600px; } .book p { text-align:justify; text-indent:20px; } .book pre { background-color:#ffffff; border:0px; margin:0px; text-align:left; } .book code { text-align:left; } .book samp { text-align:left; } /* blog styles */ .blog { background-color:#e8e8e8; padding:10px; position:relative; left:80px; width:600px; } .blog p { text-align:justify; text-indent:20px; } .blog pre { background-color:#e0e0ff; border:0px; margin:0px; text-align:left; } .blog code { text-align:left; } .blog samp { text-align:left; } h3 h4 h5 h6 h7 { background: #ffffff !important; } /* mediawiki ambox styles */ /* Article message box template styles */ table.ambox { margin: 0 10%; /* Will not overlap with other elements */ border-collapse: collapse; background: #fbfbfb; border: 1px solid #aaa; border-left: 10px solid #1e90ff; /* Default "notice" blue */ } table.ambox th.ambox-text, table.ambox td.ambox-text { /* The message body cell(s) */ padding: 0.25em 0.5em; /* 0.5em left/right */ width: 100%; /* Make all templates the same width regardless of text size */ } table.ambox td.ambox-image { /* The left image cell */ padding: 2px 0px 2px 0.5em; /* 0.5em left, 0px right */ text-align: center; } table.ambox td.ambox-imageright { /* The right image cell */ padding: 2px 4px 2px 0px; /* 0px left, 4px right */ text-align: center; } table.ambox-notice { border-left: 10px solid #1e90ff; /* Blue */ /* border-right: 10px solid #1e90ff; */ /* If you want two blue bars */ } table.ambox-delete, table.ambox-serious { border-left: 10px solid #b22222; /* Red */ } table.ambox-content { border-left: 10px solid #f28500; /* Orange */ } table.ambox-style { border-left: 10px solid #f4c430; /* Yellow */ } table.ambox-merge { border-left: 10px solid #9932cc; /* Purple */ } table.ambox-protection { border-left: 10px solid #bba; /* Gray */ } table.ambox.ambox-mini { /* small floating box variant */ float: right; clear: right; margin: 0 0 0 1em; width: 25%; }