Difference between revisions of "MediaWiki:Common.css"

From The SpiritWiki
m
m
Line 21: Line 21:
     padding: 14px 16px;
     padding: 14px 16px;
     text-decoration: none;
     text-decoration: none;
    transition: .3s background-color;
}
}



Revision as of 03:58, 21 November 2018

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

div.nav ul {
    list-style-type: none;
    margin: 0;
    margin-bottom:28px;
    padding: 0;
    overflow: hidden;
    background-color: #fafffa;
}

div.nav li {
    float: left;
    border-bottom: 1px solid #888;
}

div.nav li a {
    display: block;
    color: #222;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: .3s background-color;
}

div.nav ul a:hover:not(.active) {
    background-color: #f3f3f3;
}

div.nav ul .active {
background-color:#fafafa;
}


div.toc-mobile h2 {
   display:none
}

div.toc 
{
   display:none;
}



p:first-of-type
{
    padding: 15px;
    border: 1px solid #eee;
}
@import url("https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif")

body {font-family: "Noto Sans", sans-serif}
/* changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text) */

div#content h1, div#content h2 {font-family: "Noto Serif", serif}
/* changes the default font used for MediaWiki headings to Noto Serif */