User:Larivact/common.css

From ArchWiki

Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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;
}