MediaWiki:Common.css
From Prince Vault
Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Clear the cache in Tools → Preferences
/** Collapsible tables ********************************************************* * * Description: Allows tables to be collapsed, showing only the header. See * http://www.mediawiki.org/wiki/Manual:Collapsible_tables. * Maintainers: [[en:User:R. Koot]] */ table.collapsed tr.collapsible { display: none; } .collapseButton { /* 'show'/'hide' buttons created dynamically by the */ float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ font-weight: normal; /* are styled here so they can be customised. */ text-align: right; width: auto; } /** Princevault special CSS********************************************************** * * These are the changes from the original mediawiki monobook CSS that are specific to Princevault. * * Do not alter if you're not familiar with CSS coding * * Maintainers: BLR */ /* This line disables the display of the wiki page name on main page + other pages in the wiki*/ body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } /* The below lines define UTMNeutra font family to use in the website - doesn't work so far */ @font-face { font-family: 'UTMNeutra', Verdana, Arial, sans-serif; src: url('./UTMNeutra.eot'); src: local('UTMNeutra'), url('./UTMNeutra.woff') format('woff'), url('./UTMNeutra.ttf') format('truetype'); font-weight: bold; } /* use this class to attach this font to any element i.e. <p class="fontsforweb_fontid_79354">Text with this font applied</p> */ .fontsforweb_fontid_79354 { font-family: 'UTMNeutra'; } /* Font downloaded from FontsForWeb.com */ /* main page CSS for responsive design properties */ .flex-container { display: flex; flex-wrap: wrap; } .flex-container > div { width: 100px; background-color: #fff; margin: 0 .5em .5em 0; padding: .5em; font-size: 30px; } h1.firstHeading { display: none; } /* This is the code for all titles color, spaces etc */ h1, h2, h3, h4, h5, h6 { border-bottom: 1px solid #aaa; color: black; font-weight: bold; margin: 0; padding-bottom: 0.17em; padding-top: 0.5em; } h1 { font-size:2.5em; color:#795290; } h2 { font-size:2em; color:#DE8300; padding-top:0.2em; } h3 { color:#AB3E00; } /* This turns the menu box titles white */ .portlet h3 { color: white; } /* This turns the personal bar top right titles white */ #p-personal li a { color: #fff; } /* This turns the borders of page menu round */ #p-cactions li a { border: medium none; border-radius: 3px 3px 0 0; padding: 0 0.8em 0.3em; } #ca-nstab-main, #ca-nstab-mediawiki, #ca-talk, #ca-edit, #ca-history, #ca-delete, #ca-move, #ca-protect, #ca-unprotect, #ca-unwatch, #ca-watch { border-radius: 3px 3px 0 0; } /* This removes all talk pages from the wiki: do not remove. Talk pages are considered non secured, and can be used by bots to insert unwanted text and links */ #ca-talk { display:none!important; } /* This are settings for wikitable collapsible */ table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td { border: 0; } table.wikitable { background-color: #fff; border: 0; } table.wikitable > tr > th, table.wikitable > * > tr > th { background-color: #ffffff; text-align: left; }