MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(Created page with "/* This is the CSS for all skins (for all users) on MediaWiki.org. SECTIONS: 1. Indication of namespaces 2. Color classes for content 3. Special pages 4. Main page styling 5. Si...") |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
/** | /** | ||
* Styling for links generated by [[MediaWiki:Edittools]] | * Styling for links generated by [[MediaWiki:Edittools]] | ||
Line 602: | Line 5: | ||
*/ | */ | ||
.mw-charinsert-buttons { | .mw-charinsert-buttons { | ||
margin-top: 10px; | |||
border: 1px solid #aaaaaa; | |||
padding: 1px; | |||
text-align: center; | |||
font-size: 110%; | |||
} | } | ||
.mw-charinsert-buttons a { | .mw-charinsert-buttons a { | ||
color: black; | |||
background-color: #cde !important; | |||
font-weight: bold; | |||
font-size: .9em; | |||
text-decoration: none; | |||
border: thin #069 outset; | |||
padding: 0 .1em .1em; | |||
} | } | ||
.mw-charinsert-buttons a:hover, | .mw-charinsert-buttons a:hover, | ||
.mw-charinsert-buttons a:active { | .mw-charinsert-buttons a:active { | ||
background-color: #bcd; | |||
border-style: inset; | |||
} | } | ||
.client-js .mw-edittools-section { | .client-js .mw-edittools-section { | ||
display: inline; | |||
} | } | ||
.client-js .mw-edittools-section input[type="button"] { | .client-js .mw-edittools-section input[type="button"] { | ||
font-size: 0.9em; | |||
padding-left: 1px; | |||
padding-right: 1px; | |||
margin-left: 1px; | |||
} | } | ||
/* ***** ***** TimelineTable ***** ***** */ | |||
. | table.tl_table{ | ||
border-width: thin; | |||
border-spacing: 2px; | |||
border-style: outset; | |||
border-color: black; | |||
border-collapse: separate; | |||
background-color: white; | |||
border-radius: 9px; | |||
} | } | ||
. | th.tl_title{ | ||
text-transform: uppercase | |||
text-align: center; | |||
border-width: 1px; | |||
padding: 1px; | |||
border-style: outset; | |||
border-color: blue; | |||
background-color: rgb(243, 248, 252); | |||
border-radius: 9px; | |||
} | } | ||
th.tl_years{ | |||
text-align: center; | |||
font-style: italic; | |||
border-width: 1px; | |||
padding: 1px; | |||
border-style: outset; | |||
border-color: blue; | |||
background-color: rgb(223, 228, 252); | |||
border-radius: 4px; | |||
} | } | ||
th.tl_months{ | |||
text-align: center; | |||
border-width: 1px; | |||
padding: 1px; | |||
border-style: outset; | |||
border-color: blue; | |||
background-color: rgb(243, 248, 252); | |||
border-radius: 2px; | |||
} | } | ||
. | th.tl_days{ | ||
text-align: center; | |||
border-width: 1px; | |||
padding: 1px; | |||
border-style: outset; | |||
border-color: blue; | |||
background-color: rgb(243, 248, 252); | |||
border-radius: 2px; | |||
} | } | ||
th.tl_weeks{ | |||
text-align: center; | |||
border-width: 1px; | |||
padding: 1px; | |||
border-style: outset; | |||
border-color: blue; | |||
background-color: rgb(243, 248, 252); | |||
border-radius: 2px; | |||
} | } | ||
td.tl_freetime{ | |||
background-color: rgb(187, 210, 236); | |||
border-width: 1px; | |||
border-color: black; | |||
border-style: inset; | |||
border-radius: 7px; | |||
} | } | ||
. | td.tl_event{ | ||
text-align: center; | |||
padding: 1px; | |||
background-color: rgb(61, 114, 194); | |||
border-width: 1px; | |||
border-color: white; | |||
border-style: inset; | |||
color: white; | |||
border-radius: 7px; | |||
white-space: normal | |||
} | } | ||
. | td.tl_foot{ | ||
text-align: center; | |||
padding: 1px; | |||
background-color: rgb(243, 248, 252); | |||
border-width: 1px; | |||
border-color: blue; | |||
border-style: ridge; | |||
color: gray; | |||
border-radius: 9px; | |||
} | } | ||
. | thead.tl_header{} | ||
tbody.tl_body{} | |||
tfoot.tl_footer{} | |||
} | |||
. | |||
} | |||
. | |||
} |
Latest revision as of 19:52, 5 November 2018
/** * Styling for links generated by [[MediaWiki:Edittools]] * @source www.mediawiki.org/wiki/Extension:CharInsert#Styling * @updated 2012-02-29 */ .mw-charinsert-buttons { margin-top: 10px; border: 1px solid #aaaaaa; padding: 1px; text-align: center; font-size: 110%; } .mw-charinsert-buttons a { color: black; background-color: #cde !important; font-weight: bold; font-size: .9em; text-decoration: none; border: thin #069 outset; padding: 0 .1em .1em; } .mw-charinsert-buttons a:hover, .mw-charinsert-buttons a:active { background-color: #bcd; border-style: inset; } .client-js .mw-edittools-section { display: inline; } .client-js .mw-edittools-section input[type="button"] { font-size: 0.9em; padding-left: 1px; padding-right: 1px; margin-left: 1px; } /* ***** ***** TimelineTable ***** ***** */ table.tl_table{ border-width: thin; border-spacing: 2px; border-style: outset; border-color: black; border-collapse: separate; background-color: white; border-radius: 9px; } th.tl_title{ text-transform: uppercase text-align: center; border-width: 1px; padding: 1px; border-style: outset; border-color: blue; background-color: rgb(243, 248, 252); border-radius: 9px; } th.tl_years{ text-align: center; font-style: italic; border-width: 1px; padding: 1px; border-style: outset; border-color: blue; background-color: rgb(223, 228, 252); border-radius: 4px; } th.tl_months{ text-align: center; border-width: 1px; padding: 1px; border-style: outset; border-color: blue; background-color: rgb(243, 248, 252); border-radius: 2px; } th.tl_days{ text-align: center; border-width: 1px; padding: 1px; border-style: outset; border-color: blue; background-color: rgb(243, 248, 252); border-radius: 2px; } th.tl_weeks{ text-align: center; border-width: 1px; padding: 1px; border-style: outset; border-color: blue; background-color: rgb(243, 248, 252); border-radius: 2px; } td.tl_freetime{ background-color: rgb(187, 210, 236); border-width: 1px; border-color: black; border-style: inset; border-radius: 7px; } td.tl_event{ text-align: center; padding: 1px; background-color: rgb(61, 114, 194); border-width: 1px; border-color: white; border-style: inset; color: white; border-radius: 7px; white-space: normal } td.tl_foot{ text-align: center; padding: 1px; background-color: rgb(243, 248, 252); border-width: 1px; border-color: blue; border-style: ridge; color: gray; border-radius: 9px; } thead.tl_header{} tbody.tl_body{} tfoot.tl_footer{}