Difference between revisions of "MediaWiki:Common.css"

From cgwiki
Line 35: Line 35:
 
     background-image: url(bg_wiki.jpg);
 
     background-image: url(bg_wiki.jpg);
 
     background-repeat: repeat-x;
 
     background-repeat: repeat-x;
 +
    background-color: #ddd;
 
}
 
}
  

Revision as of 00:49, 26 May 2021

/* CSS placed here will be applied to all skins */

.mw-editsection {
    display:none;
}

h1:hover .mw-editsection, h2:hover .mw-editsection, h3:hover .mw-editsection, h4:hover .mw-editsection, h5:hover .mw-editsection, h6:hover .mw-editsection {
    display:inline;
    }

 body.page-No_page_title h1.firstHeading, body.page-Main_Page h1.firstHeading
  { display:none; }

pre.de1 {
    color: #000000;
    background-color: #ebebeb;
    border-style: none;
    border-color: #ffffff;
    padding: 5px;
    margin-left: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
}


#mw-imagepage-content .mw-parser-output {
   display: none;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100vh;
    background-image: url(bg_wiki.jpg);
    background-repeat: repeat-x;
    background-color: #ddd;
}

html {
  scroll-padding-top: 70px; /* height of sticky header */
}