MediaWiki:Mobile.css
From DM Live - the Depeche Mode live encyclopedia for the masses
Jump to navigationJump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* 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(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAKCAYAAABmBXS+AAAAbklEQVQY02NgQAL//v1jZMAF/v//vwuIs9HEUBUBTbj4HwIeA3EGVsVAxtn/qOAVUGM8uknIiv4hsV8A5ZKxKfoLVvnvHwifAzLtMKwDSQLBVSBti27dJajkcSD2RJODO3wtkOOMz/tMSJJYAxMA5dmsL0IfubQAAAAASUVORK5CYII=) !important; background-repeat: no-repeat; background-position: 4px 50%; *background-position: 4px 3px; } a.sm2_button { position: relative; display: inline-block; width: 16px; height: 16px; text-indent: -9999px; overflow: hidden; vertical-align: middle; border-radius: 6px; margin-top: -1px; -webkit-transition-property: hover; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out 0s; -o-transition-property: background-color; -o-transition-duration: 0.15s; *text-indent: 0px; *line-height: 99em; *vertical-align: top; }