Difference between revisions of "MediaWiki:Mobile.css"

From The SpiritWiki
m
Tags: mobile edit mobile web edit
m
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: #fafafa;
}
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  {

Revision as of 20:21, 19 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: #fafafa;
}

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
}

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