MediaWiki:Monobook.css

From OpenKM Documentation
Jump to: navigation, 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 affect users of the Monobook skin */

.openkm_table {
    background-color: #FFFAF0;
}

.openkm_hubtitle {
    text-align: center;
    background-color: #EEEEEE;
    border-bottom: 1px solid #AAAAAA;
    font-size: 105%;
    padding: 0.4em;
}

.openkm_boxcontents, .openkm_boxcontents_small {
    background: none repeat scroll 0 0 #FFFFFF;
    padding: 0.2em 0.4em;
}

.openkm_boxcontents_small {
    font-size: 95%;
}

.openkm_hubbox, #openkm_newscell, #openkm_downloadcell {
    border: 1px solid #AAAAAA;
    padding: 0;
}

.openkm_hubbox {
    margin-bottom: 0;
    background-color: #FFFFFF;
}

/* Google Search */
table.gsc-search-box {
    width: 50% !important;
    margin-left: auto; 
    margin-right: auto;
}

div.gsc-control-cse {
    background-color: #FFFAF0;
}

/* Protected Pages */
.ns-100 #content, .ns-101 #content { background-color: #CADCEB; }
.ns-100 div.thumb, .ns-101 div.thumb { border-color: #CADCEB; }
.ns-100 #ca-nstab-knowledge a { background-color: #CADCEB !important; }