MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* 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;
}