User:Larivact/common.css

From ArchWiki
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.
/* See also https://wiki.archlinux.org/index.php/MediaWiki_talk:Common.css#Move_categories_under_h1 */

body:not(.page-Main_page) #bodyContent{
    display: flex;
    flex-direction: column; 
}
body:not(.page-Main_page) #contentSub {
    order: -2;
    margin-bottom: 0;
}
body:not(.page-Main_page) #catlinks {
    order: -1;
    /*  The margin-bottom is consistent with div.archwiki-template-message */
    margin: 0.5em 0 1em;
}
body:not(.page-Main_page) p:first-child, .archwiki-template-meta-related-articles-start + p{
    margin-top: 0;
}

/* See also https://wiki.archlinux.org/index.php/Help_talk:Template#Template_colors */

div.archwiki-template-box.archwiki-template-box-note {
  background-color:#eef;
  border-color:#ccd;
}
div.archwiki-template-box.archwiki-template-box-tip {
  background-color: #ebfeee;
  border-color: #bed8be;
}