Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 39: | Line 39: | ||
/* box css */ | /* box css */ | ||
#box { | |||
width: 100px; | width: 100px; | ||
height: 100px; | height: 100px; | ||
Line 47: | Line 47: | ||
} | } | ||
#box:after, #demo:before { | |||
border: solid transparent; | border: solid transparent; | ||
content: ' '; | content: ' '; | ||
Line 56: | Line 56: | ||
} | } | ||
#box:after { | |||
border-width: 9px; | border-width: 9px; | ||
border-left-color: #ccc; | border-left-color: #ccc; | ||
Line 62: | Line 62: | ||
} | } | ||
#box:before { | |||
border-width: 14px; | border-width: 14px; | ||
border-left-color: #333; | border-left-color: #333; | ||
top: 10px; | top: 10px; | ||
} | } |
Revision as of 19:30, 3 March 2011
/* 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, #demo: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;
}