Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* | /* | ||
Line 34: | Line 35: | ||
#content .rss h3 a { color: #4E507F } | #content .rss h3 a { color: #4E507F } | ||
ul.rss { background-color: | /* Modify RSS feed display */ | ||
ul.rss li { font-weight: bold; } | |||
/* box css */ | |||
#box { | |||
width: 100px; | |||
height: 100px; | |||
background-color: #ccc; | |||
position: relative; | |||
border: 4px solid #333; | |||
} | |||
#box:after, #box:before { | |||
border: solid transparent; | |||
content: ' '; | |||
height: 0; | |||
left: 100%; | |||
position: absolute; | |||
width: 0; | |||
} | |||
#box:after { | |||
border-width: 9px; | |||
border-left-color: #ccc; | |||
top: 15px; | |||
} | |||
#box:before { | |||
border-width: 14px; | |||
border-left-color: #333; | |||
top: 10px; | |||
} | |||
/* | /* to enable option to remove the TOC numbers as explained here: https://www.mediawiki.org/wiki/Manual:Table_of_contents */ | ||
.noautonum .tocnumber { display: none; } |
Latest revision as of 10:52, 19 April 2017
/* CSS placed here will be applied to all skins */
/*
* RSSREader below:
*
* This file contains all the skinning rules for the RSSReader extension
* if you want to change the look of the RSS feed to better suit your skin
* then this is where you should make the changes. By default the reader
* is coded to look good with monobook.
* Alternatively to modifying the code in here, you could copy and paste it
* into your wiki's [[MediaWiki:Common.css]] page and that way you can have
* different looks for different skins
*/
.RSSReader-head {
text-align: center;
padding: 0.2em;
border-bottom: 0.1em solid #aaa;
}
/*
* Example CSS rules for use with the "text" parameter
*/
div.rss {
margin: 0 0 20px 0;
padding: 5px;
border: 1px solid #D0D6F0;
}
div.rss h3 {
background: #D0D6F0;
padding: 2px 5px;
margin: 0;
}
#content .rss h3 a { color: #4E507F }
/* Modify RSS feed display */
ul.rss li { font-weight: bold; }
/* box css */
#box {
width: 100px;
height: 100px;
background-color: #ccc;
position: relative;
border: 4px solid #333;
}
#box:after, #box:before {
border: solid transparent;
content: ' ';
height: 0;
left: 100%;
position: absolute;
width: 0;
}
#box:after {
border-width: 9px;
border-left-color: #ccc;
top: 15px;
}
#box:before {
border-width: 14px;
border-left-color: #333;
top: 10px;
}
/* to enable option to remove the TOC numbers as explained here: https://www.mediawiki.org/wiki/Manual:Table_of_contents */
.noautonum .tocnumber { display: none; }