Difference between revisions of "MediaWiki:Common.css"

From cgwiki
 
Line 3: Line 3:
 
.mw-editsection {
 
.mw-editsection {
 
     display:none;
 
     display:none;
 +
}
 +
 +
ul, ol {
 +
    padding: 10px;
 
}
 
}
  

Latest revision as of 00:13, 3 June 2021

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

.mw-editsection {
    display:none;
}

ul, ol {
    padding: 10px;
}

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 */
}