MediaWiki:Mobile.css
Revision as of 18:17, 24 August 2020 by L1ghtsword (talk | contribs)
Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will affect users of the mobile site * Copied from the vector.css skin */ h1, h2, h3, h4, h5, h6 { color: #EEE } hr{ color: #222 } .editOptions { background-color: #333; border-color: #4c4c4c } input, textarea { background-color: #4c4c4c; border-color: #4c4c4c; color: #c1c1c1 } a, .mw-body a.external, .mw-body a.extiw { color: #e69710 } a:visited, .mw-body a.external:visited, .mw-body a.extiw:visited { color: #8a7f6c } a.new, #p-personal a.new { color: #d44 } ul { list-style-image: none } div.thumbinner, .catlinks { background-color: #4c4c4c; border-color: #666 } #toc, div.toc, ul#filetoc, li.gallerybox div.thumb { background-color: #4c4c4c; border-color: #666 } code { border: none; background-color: inherit; color: inherit } table.mw_metadata td, table.mw_metadata th, table.wikitable, table.wikitable>*>tr>th, table.wikitable>*>tr>td, pre { color: #c1c1c1; background-color: #4c4c4c; border-color: #666 } table.mw_metadata th, table.wikitable>*>tr>th { background-color: #595959 } table.diff { background-color: #4c4c4c } td .diffchange { color: #4c4c4c } #pagehistory li.selected, td.diff-context { background-color: inherit; color: inherit } #pagehistory li { border: 0 } ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper, ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper, ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper { background-color: rgba(0, 0, 0, 0.8) } #left-navigation div.vectorTabs, #right-navigation div.vectorTabs { background-image: inherit; background-color: #250b2d } #left-navigation div.vectorTabs ul, #right-navigation div.vectorTabs ul { background-color: #250b2d } #left-navigation div.vectorTabs ul li, #right-navigation div.vectorTabs ul li { background-color: #222; background-image: -moz-linear-gradient(top, #2e2e2e 20%, #222 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #2e2e2e), color-stop(100%, #222)); background-image: -webkit-linear-gradient(top, #2e2e2e 20%, #222 100%); background-image: linear-gradient(#2e2e2e 20%, #222 100%) } #left-navigation div.vectorTabs li.new a, #right-navigation div.vectorTabs li.new a, #left-navigation div.vectorTabs li.new a:visited, #right-navigation div.vectorTabs li.new a:visited { color: #d44 } #left-navigation div.vectorTabs li.selected, #right-navigation div.vectorTabs li.selected { background-color: #333; background-image: -moz-linear-gradient(top, #e69710 0, #333 10%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #e69710), color-stop(10%, #333)); background-image: -webkit-linear-gradient(top, #e69710 0, #333 10%); background-image: linear-gradient(#e69710 0, #333 10%) } #left-navigation div.vectorTabs li.selected a, #right-navigation div.vectorTabs li.selected a, #left-navigation div.vectorTabs li.selected a:visited, #right-navigation div.vectorTabs li.selected a:visited { color: #8a7f6c } #left-navigation div.vectorTabs li a, #right-navigation div.vectorTabs li a { color: #e69710 } #left-navigation div.vectorTabs span, #right-navigation div.vectorTabs span { background: transparent } div#mw-head #right-navigation div.vectorMenu h3 { background: inherit } div#mw-head div.vectorMenu h3 span { color: #e69710 } div.vectorMenu h3 a { background: inherit } div.vectorMenu ul { background-color: black; border: solid 1px #0c0c0c } div.vectorMenu li a { color: #e69710 } div.vectorMenu li.selected a, div.vectorMenu li.selected a:visited { color: #8a7f6c; text-decoration: none } div.vectorMenu#p-cactions div.menu { border-color: #666 } div.vectorMenu#p-cactions ul { border: 0; background-color: #4c4c4c } #mw-navigation div#mw-panel div.portal { background-image: none; border-top: 1px solid #4c4c4c } #mw-navigation div#mw-panel div.portal#p-logo, #mw-navigation div#mw-panel div.portal#p-navigation { border-top: none } html { font-size: 100% } html, body { height: 100%; margin: 0; padding: 0; font-family: sans-serif } body { background-color: #2a2a2a } .mw-body { margin-left: 10em; padding: 1em; border: 1px solid #250b2d; border-right-width: 0; margin-top: -1px; background-color: #333; color: #c1c1c1; direction: ltr } .mw-body .mw-editsection, .mw-body .mw-editsection-like { font-family: sans-serif } .mw-body p { line-height: inherit; margin: .5em 0 } .mw-body h1, .mw-body h2, .mw-body #firstHeading { font-family: "Linux Libertine", Georgia, Times, serif; line-height: 1.3; margin-bottom: .25em; padding: 0 } .mw-body h1, .mw-body #firstHeading { font-size: 1.8em } .mw-body h2 { font-size: 1.5em; margin-top: 1em } .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6 { line-height: 1.6; margin-top: .3em; margin-bottom: 0; padding-bottom: 0 } .mw-body h3 { font-size: 1.17em } .mw-body h3, .mw-body h4 { font-weight: bold } .mw-body h4, .mw-body h5, .mw-body h6 { font-size: 100% } .mw-body #toc h2, .mw-body .toc h2 { font-size: 100%; font-family: sans-serif } div.emptyPortlet { display: none } ul { list-style-type: disc; list-style-image:/* @embed */ url('skins/Vector/images/bullet-icon.png') } pre, .mw-code { line-height: 1.3em } #siteNotice { font-size: .8em } .redirectText { font-size: 140% } .redirectMsg img { vertical-align: text-bottom } .mw-body-content { position: relative; line-height: 1.6; font-size: .875em } body.vector-animateLayout .mw-body, body.vector-animateLayout div#footer, body.vector-animateLayout #left-navigation { -webkit-transition: margin-left 250ms, padding 250ms; -moz-transition: margin-left 250ms, padding 250ms; -o-transition: margin-left 250ms, padding 250ms; transition: margin-left 250ms, padding 250ms } body.vector-animateLayout #p-logo { -webkit-transition: left 250ms; -moz-transition: left 250ms; -o-transition: left 250ms; transition: left 250ms } body.vector-animateLayout #mw-panel { -webkit-transition: padding-right 250ms; -moz-transition: padding-right 250ms; -o-transition: padding-right 250ms; transition: padding-right 250ms } body.vector-animateLayout #p-search { -webkit-transition: margin-right 250ms; -moz-transition: margin-right 250ms; -o-transition: margin-right 250ms; transition: margin-right 250ms } body.vector-animateLayout #p-personal { -webkit-transition: right 250ms; -moz-transition: right 250ms; -o-transition: right 250ms; transition: right 250ms } body.vector-animateLayout #mw-head-base { -webkit-transition: margin-left 250ms; -moz-transition: margin-left 250ms; -o-transition: margin-left 250ms; transition: margin-left 250ms } #p-personal { position: absolute; top: .33em; right: .75em; z-index: 100 } #p-personal h3 { display: none } #p-personal ul { list-style-type: none; list-style-image: none; margin: 0; padding-left: 10em } #p-personal li { line-height: 1.125em; float: left; margin-left: .75em; margin-top: .5em; font-size: .75em; white-space: nowrap } #pt-userpage, #pt-anonuserpage { background-position: left top; background-repeat: no-repeat; background-image: url('skins/Vector/images/user-icon.png'); background-image: -webkit-linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/user-icon.svg'); background-image: linear-gradient(transparent, transparent),/* @embed */ url('skins/Vector/images/user-icon.svg'); padding-left: 15px !important } #p-search { float: left; margin-right: .5em; margin-left: .5em } #p-search h3 { display: none } #p-search form, #p-search input { margin: 0; margin-top: .4em } div#simpleSearch { display: block; width: 12.6em; padding-right: 1.4em; height: 1.4em; margin-top: .65em; position: relative; min-height: 1px; border: solid 1px #aaa; color: black; background-color: white; background-image:/* @embed */ url('skins/Vector/images/search-fade.png'); background-position: top left; background-repeat: repeat-x } div#simpleSearch input { margin: 0; padding: 0; border: 0; background-color: transparent; color: black } div#simpleSearch #searchInput { width: 100%; padding: .2em 0 .2em .2em; font-size: 13px; direction: ltr; -webkit-appearance: textfield } div#simpleSearch #searchInput:focus { outline: none } div#simpleSearch #searchInput.placeholder { color: #999 } div#simpleSearch #searchInput:-ms-input-placeholder { color: #999 } div#simpleSearch #searchInput:-moz-placeholder { color: #999 } div#simpleSearch #searchInput::-webkit-search-decoration, div#simpleSearch #searchInput::-webkit-search-cancel-button, div#simpleSearch #searchInput::-webkit-search-results-button, div#simpleSearch #searchInput::-webkit-search-results-decoration { -webkit-appearance: textfield }