MediaWiki:Common.css: Difference between revisions
also from SSB universes |
this messed stuff up |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
/* <h3> Shared interface </h3> */ | /* <h3> Shared interface </h3> */ | ||
.rcoptions td.mw-input, .rcoptions select, .rcoptions input { | .rcoptions td.mw-input, .rcoptions select, .rcoptions input { | ||
Line 221: | Line 219: | ||
#pt-notifications-alert .mw-echo-notifications-badge:focus, #pt-notifications-notice .mw-echo-notifications-badge:focus { | #pt-notifications-alert .mw-echo-notifications-badge:focus, #pt-notifications-notice .mw-echo-notifications-badge:focus { | ||
box-shadow: none; | box-shadow: none; | ||
} | |||
/* vertical */ | |||
.vnav { | |||
float:right; | |||
text-align:center; | |||
color:black; | |||
background:white; | |||
} | |||
.vnav .title { | |||
font-size:200%; | |||
line-height:1.2em; | |||
font-weight:bold; | |||
} | |||
.vnav .vnav_data { | |||
overflow:hidden; | |||
width:100%; | |||
background:white; | |||
color:black; | |||
} | |||
.vnav table { | |||
width:100%; | |||
border-collapse:collapse; | |||
} | |||
.vnav table.hover tr:hover {background:#fff68f; color:#000; } | |||
.vnav table.data tr {border-top:1px dotted #888;} | |||
.vnav table.data tr:first-child {border-top:none;} | |||
/* mobilefrontend */ | |||
.content .vnav table, .content .infobox table { | |||
margin: auto; | |||
display: table; | |||
} | |||
.vnav .h {font-weight:bold;} | |||
.infobox .h { | |||
font-weight:bold; | |||
text-align:center; | |||
padding: 1px; | |||
} | |||
.infobox table.data { | |||
width: 100%; | |||
} | |||
.infobox table.data th { | |||
text-align:right; | |||
padding-right:5px; | |||
} | |||
.infobox table.data td { | |||
text-align:left; | |||
} | |||
/* Responsive design of some divs with fixed width */ | |||
@media only screen and (max-width: 720px) { | |||
.vnav { | |||
width: 100% !important; | |||
float: none; | |||
margin-left: 0 !important; | |||
margin-right: 0 !important; | |||
} | |||
} | } | ||