MediaWiki:Mobile.css: Difference between revisions
From DM Live - the Depeche Mode live encyclopedia for the masses
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will affect users of the mobile site */ | /* CSS placed here will affect users of the mobile site */ | ||
.sc { font-variant: small-caps } | .sc { font-variant: small-caps } | ||
Line 141: | Line 139: | ||
} | } | ||
.sm2_button, a.sm2_button { | a.sm2_button, a.sm2_button.sm2_paused:hover { | ||
background-color: #333; | |||
background-image: url(/extensions/SoundManager2Button/image/arrow-right-white.png?976f7); | |||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAKCAYAAABmBXS+AAAAbklEQ…wDSQLBVSBti27dJajkcSD2RJODO3wtkOOMz/tMSJJYAxMA5dmsL0IfubQAAAAASUVORK5CYII=); | |||
*background-image: url(/extensions/SoundManager2Button/image/arrow-right-white.gif?3e51f); | |||
background-repeat: no-repeat; | |||
background-position: 4px 50%; | |||
*background-position: 4px 3px; | |||
} | } |
Revision as of 16:13, 26 August 2019
/* CSS placed here will affect users of the mobile site */ .sc { font-variant: small-caps } .l { text-align: left; } .c { text-align: center; } .r { text-align: right; } /* Link color override */ .blacklinks a, .blacklinks a:link, .blacklinks a:visited, .blacklinks a:hover, .blacklinks a:active, .blacklinks a span { color: black !important; } .whitelinks a, .whitelinks a:link, .whitelinks a:visited, .whitelinks a:hover, .whitelinks a:active, .whitelinks a span { color: white !important; } /* Maximum width override for mobile */ /* Fix table caption display issues in mobile skin */ .content table caption { display: table-caption; } .round { border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px; } .roundtl { border-top-left-radius: 10px; -moz-border-radius-topleft: 10px; -webkit-border-top-left-radius: 10px; -khtml-border-top-left-radius: 10px; -icab-border-top-left-radius: 10px; -o-border-top-left-radius: 10px; } .roundtr { border-top-right-radius: 10px; -moz-border-radius-topright: 10px; -webkit-border-top-right-radius: 10px; -khtml-border-top-right-radius: 10px; -icab-border-top-right-radius: 10px; -o-border-top-right-radius: 10px; } .roundbl { border-bottom-left-radius: 10px; -moz-border-radius-bottomleft: 10px; -webkit-border-bottom-left-radius: 10px; -khtml-border-bottom-left-radius: 10px; -icab-border-bottom-left-radius: 10px; -o-border-bottom-left-radius: 10px; } .roundbr { border-bottom-right-radius: 10px; -moz-border-radius-bottomright: 10px; -webkit-border-bottom-right-radius: 10px; -khtml-border-bottom-right-radius: 10px; -icab-border-bottom-right-radius: 10px; -o-border-bottom-right-radius: 10px; } .roundbottom { border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; -moz-border-radius-bottomleft: 10px; -moz-border-radius-bottomright: 10px; -webkit-border-bottom-left-radius: 10px; -webkit-border-bottom-right-radius: 10px; -khtml-border-bottom-left-radius: 10px; -khtml-border-bottom-right-radius: 10px; -icab-border-bottom-left-radius: 10px; -icab-border-bottom-right-radius: 10px; -o-border-bottom-left-radius: 10px; -o-border-bottom-right-radius: 10px; } .roundtop { border-top-left-radius: 10px; border-top-right-radius: 10px; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px; -khtml-border-top-left-radius: 10px; -khtml-border-top-right-radius: 10px; -icab-border-top-left-radius: 10px; -icab-border-top-right-radius: 10px; -o-border-top-left-radius: 10px; -o-border-top-right-radius: 10px; } .roundleft { border-top-left-radius: 10px; border-bottom-left-radius: 10px; -moz-border-radius-topleft: 10px; -moz-border-radius-bottomleft: 10px; -webkit-border-top-left-radius: 10px; -webkit-border-bottom-left-radius: 10px; -khtml-border-top-left-radius: 10px; -khtml-border-bottom-left-radius: 10px; -icab-border-top-left-radius: 10px; -icab-border-bottom-left-radius: 10px; -o-border-top-left-radius: 10px; -o-border-bottom-left-radius: 10px; } .roundright { border-bottom-right-radius: 10px; border-top-right-radius: 10px; -moz-border-radius-bottomright: 10px; -moz-border-radius-topright: 10px; -webkit-border-bottom-right-radius: 10px; -webkit-border-top-right-radius: 10px; -khtml-border-bottom-right-radius: 10px; -khtml-border-top-right-radius: 10px; -icab-border-bottom-right-radius: 10px; -icab-border-top-right-radius: 10px; -o-border-bottom-right-radius: 10px; -o-border-top-right-radius: 10px; } /* MAIN PAGE DESIGN CSS */ body.page-Main_Page #t-cite, body.page-Main_Page #footer-info-lastmod, body.page-Main_Page #siteSub, body.page-Main_Page #contentSub, body.page-Main_Page h1.firstHeading { display: none !important; } body.page-Main_Page #content { background-color: #f1f1f1;} /* Make the list of references smaller */ ol.references, div.reflist, div.refbegin { font-size: 90%; } /* Restore category box to pre-MediaWiki 1.18.0 margins */ #catlinks li { margin: 0 0; padding: 0 0.4em; } #catlinks li:first-child { padding-left: 0; } .mw-plusminus-pos { border-bottom: 1px dotted; cursor: help; } .mw-plusminus-neg { border-bottom: 1px dotted; cursor: help; } .mw-plusminus-null { border-bottom: 1px dotted; cursor: help; } .fullwidth { width: 100% !important; } @media all and (max-width:719px) { .infobox { display: block !important; float: none !important; width: auto !important; margin-left: 0 !important; margin-right: 0 !important; } .infobox tbody { width: 100% !important; display: table !important; } } @media all and (min-width:720px) { .infobox { max-width: 315px !important; } } h1, h2, h3 {font-family: sans-serif !important;} p {font-family: helvetica !important; font-size: .8em !important;} body {font-family: helvetica !important; font-size: 1.1em !important;} em, i {font-family: helvetica !important; font-size: 1em !important;} small {font-family: helvetica !important; font-size: .7em !important;} .header-container.header-chrome { background-color: #0c0c0c; border: 0; box-shadow: none; } .header .branding-box a span {color: #fff;} table {max-width: 100% !important;} @media screen and (min-width: 720px) { .content table.fullwidth { width: 100% !important; } } @media screen and (max-width:719px) { .content table.vertical-fullwidth { width: 100% !important; } } .featured { background: rgb(255,249,212) !important; background: linear-gradient(148deg, rgba(255,249,212,1) 0%, rgba(255,252,245,1) 58%, rgba(255,244,230,1) 83%, rgba(237,239,240,1) 100%) !important; } a.sm2_button, a.sm2_button.sm2_paused:hover { background-color: #333; background-image: url(/extensions/SoundManager2Button/image/arrow-right-white.png?976f7); background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAKCAYAAABmBXS+AAAAbklEQ…wDSQLBVSBti27dJajkcSD2RJODO3wtkOOMz/tMSJJYAxMA5dmsL0IfubQAAAAASUVORK5CYII=); *background-image: url(/extensions/SoundManager2Button/image/arrow-right-white.gif?3e51f); background-repeat: no-repeat; background-position: 4px 50%; *background-position: 4px 3px; }