Main Page
Difference between revisions of "MediaWiki:Mobile.css"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
/* All CSS here will be loaded for users of the mobile site */ | /* All CSS here will be loaded for users of the mobile site */ | ||
+ | .panel { | ||
+ | margin-bottom: 20px; | ||
+ | border: 1px solid transparent; | ||
+ | border-radius: 4px; | ||
+ | -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); | ||
+ | box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); | ||
+ | } | ||
+ | .panel-body { | ||
+ | padding: 15px; | ||
+ | } | ||
+ | .panel-heading { | ||
+ | padding: 10px 15px; | ||
+ | border-bottom: 1px solid transparent; | ||
+ | border-top-left-radius: 3px; | ||
+ | border-top-right-radius: 3px; | ||
+ | } | ||
+ | .panel-heading > .dropdown .dropdown-toggle { | ||
+ | color: inherit; | ||
+ | } | ||
+ | .panel-title { | ||
+ | margin-top: 0; | ||
+ | margin-bottom: 0; | ||
+ | font-size: 16px; | ||
+ | color: inherit; | ||
+ | } | ||
+ | |||
+ | .panel-footer { | ||
+ | padding: 10px 15px; | ||
+ | border-top: 1px solid #ddd; | ||
+ | border-bottom-right-radius: 3px; | ||
+ | border-bottom-left-radius: 3px; | ||
+ | } | ||
+ | |||
[data-theme="dark"] { | [data-theme="dark"] { | ||
color: #aaa!important; | color: #aaa!important; |
Revision as of 05:50, 7 June 2021
/* All CSS here will be loaded for users of the mobile site */ .panel { margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px; -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); } .panel-body { padding: 15px; } .panel-heading { padding: 10px 15px; border-bottom: 1px solid transparent; border-top-left-radius: 3px; border-top-right-radius: 3px; } .panel-heading > .dropdown .dropdown-toggle { color: inherit; } .panel-title { margin-top: 0; margin-bottom: 0; font-size: 16px; color: inherit; } .panel-footer { padding: 10px 15px; border-top: 1px solid #ddd; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; } [data-theme="dark"] { color: #aaa!important; background-color: #272b30!important; } [data-theme="dark"] #mw-head, [data-theme="dark"] #mw-head-base { color: #aaa!important; background-color: #272b30!important; } [data-theme="dark"] .jumbotron { background-color: #1c1e22!important; } [data-theme="dark"] .mw-body, [data-theme="dark"] .parsoid-body { background-color: #32383e!important; color: #aaa!important; } [data-theme="dark"] a { color: #fff!important; }