MediaWiki:Common.css

From SEPAKAT wiki
Revision as of 17:31, 13 March 2022 by Yherus (talk | contribs)
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 be applied to all skins */
@media (min-height: 768px ) {
 #mw-panel {
  position: fixed !important;
  top: 0 !important;
  left: auto !important;
}
}
@media (min-width: 1245px) {
body {
  width:1245px;
  max-width: 1245px;
  position: absolute;
  margin: auto 0;
  display: inline-block;
  left: calc((100% - 1245px) / 2);
}
}

body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }

/* hide tab */
#ca-talk ,#ca-history ,#ca-viewsource { display:none!important; }

.mw-wiki-logo {
  background-size: contain;
  background-color: #fff;
  box-shadow: 0em 1em 1em #357;
  border-radius: 50%;
}

div#mw-panel {
    background: #fff;
    height: 100vh;
    width: 10.5em;
    top: 0;
   padding-top: 181px;
}

#p-logo { top: 0 }

.hidden-toc-number .tocnumber { display:none; }
.lower-roman > ol,.lower-roman > ul {  list-style-type:lower-roman }
.lower-alpha > ol,.lower-alpha > ul {  list-style-type:lower-alpha }
.lower-decimal > ol,.lower-decimal > ul {  list-style-type:decimal }
.lower-decimal-alpha > ol { list-style-type:decimal } 
.lower-decimal-alpha > ol li > ol { list-style-type:lower-alpha } 


.prettytable { border: 1px solid #aaa; border-collapse: collapse;}
.prettytable caption { font-size: 1.3em;padding: 0.5em; }
.prettytable tr th { font-size: 1.3em;text-align: center;vertical-align: middle;background: red;color:white;border: 1px solid #aaa;padding: 0.5em; }
.prettytable tr td { border-bottom: 1px solid #eee;padding: 0.5em;border-right: 1px solid #eee; }


.main-content-logo { width: 100%;max-height: 333px; }
.mulai-sepakat-desa p { text-align: center; }
.mulai-sepakat-desa a { border: 1px solid green;padding: 1em;border-radius: 1em;background-color: #34bfa3;color: #fff;font-weight: bold;margin: 0 auto;display: inline-block; }