MediaWiki:Common.css

From G3ict
Revision as of 05:33, 15 September 2020 by Admin (talk | contribs)
Jump to navigation Jump to search

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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */

body {font-size:1rem!important; font-family: Arial, sans serif;}

/*LINKS*/
#mw-panel .portal .body li a {font-size:1rem;line-height:1.5;border-bottom:none;}
.toctogglelabel {border-bottom:none;}
.toc ul a {border-bottom:none;}
.mw-editsection a {border-bottom:none;}
#mw-head li a {border-bottom:none;}
a {border-bottom:1px solid;}

/*Navigation*/
/*.vectorTabs {height:auto;}
.vectorTabs li {background-image:none;}
.vectorTabs li a, .vectorTabs .mw-watchlink.icon a {font-size:0.9em;line-height:1.5; padding:0.25rem 0.5rem;height:auto;top:-12px;}
.vectorTabs, .vectorTabs span, #mw-head .vectorMenu h3 {background-image:none;}
.vectorTabs .selected {background:#1B4576;}
.vectorTabs .selected a, .vectorTabs .selected a:visited {color:white;}
.navbar {min-height:none;}*/


#p-logo, #p logo a {height:7rem;margin-bottom:1rem;}
#mw-panel .portal .body li {padding:0.15rem 0;}
#mw-panel #p-logo + .portal .body {margin-left:0;}
#p-Categories-label, #p-tb-label {border-bottom: 1px solid; font-size:1.25rem!important; font-family: 'Trebuchet MS', Arial, sans serif;margin-left:0;}
#mw-panel .portal .body {background-image:none; margin-left:0;}
.mw-body-content p {font-size:1rem;}
#mw-panel .portal .body li a {font-size:1rem;line-height:1.5;}
#content {margin-top:1rem;}
.vectorTabs #ca-unwatch.icon a {top:-12px;}
#p-cactions {top:-8px;}

@media screen {
    .vectorTabs .mw-watchlink.icon a {
        margin: 0;
        padding: 1.25em 1.5em;
        display: block;
        width: auto;
        height: auto; 
        overflow: hidden;
        background-position: .1em 1.25em;
        background-repeat: no-repeat;
    }
    .tool-button {
        border: 1px solid black;
        padding: 0em .5em;
        text-indent: inherit;
        width: auto;
    }
}