Difference between revisions of "MediaWiki:Mobile.css"

From The SpiritWiki
m
Tags: mobile edit mobile web edit
m
Tags: mobile edit mobile web edit
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will affect users of the mobile site */
/* CSS placed here will affect users of the mobile site */
div.nav ul {
    list-style-type: none;
    margin: 0;
    margin-bottom:28px;
    padding: 0;
    overflow: hidden;
    background-color: #fafffa;
}
div.nav li {
    float: left;
}
div.nav li a {
    display: block;
    color: #222;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}
div.nav ul a:hover:not(.active) {
    background-color: #f3f3f3;
}
div.nav ul .active {
background-color:#fafafa;
}


div.toc-mobile  {
div.toc-mobile  {
   display:none
   display:none
}
div.definition, div.definition p:first-of-type
{
    padding: 15px;
    border: 1px solid #eee;
}
}

Latest revision as of 13:49, 21 November 2018

/* CSS placed here will affect users of the mobile site */

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

div.nav li {
    float: left;
}

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

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

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

div.toc-mobile  {
   display:none
}

div.definition, div.definition p:first-of-type
{
    padding: 15px;
    border: 1px solid #eee;
}