Difference between revisions of "MediaWiki:Mobile.css"
From The SpiritWiki
m |
m Tags: mobile edit mobile web edit |
||
Line 7: | Line 7: | ||
padding: 0; | padding: 0; | ||
overflow: hidden; | overflow: hidden; | ||
background-color: # | background-color: #fafffa; | ||
} | } | ||
Line 34: | Line 34: | ||
} | } | ||
p:first-of-type | div.definition, div.definition p:first-of-type | ||
{ | { | ||
padding: 15px; | padding: 15px; | ||
border: 1px solid #eee; | 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; }