Difference between revisions of "MediaWiki:Mobile.css"
Jump to navigation
Jump to search
(Created page with "→CSS placed here will affect users of the mobile site: @import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900,100italic,300italic,400italic,5...") |
|||
Line 9: | Line 9: | ||
h1, h2, h3, h4, h5, h6, a { | h1, h2, h3, h4, h5, h6, a { | ||
font-family: 'Roboto', sans-serif !important; | font-family: 'Roboto', sans-serif !important; | ||
+ | } | ||
+ | |||
+ | .cit-home-nav { | ||
+ | display: -webkit-box; | ||
+ | display: -webkit-flex; | ||
+ | display: -ms-flexbox; | ||
+ | display: flex; | ||
+ | -webkit-flex-wrap: wrap; | ||
+ | -ms-flex-wrap: wrap; | ||
+ | flex-wrap: wrap; | ||
+ | } | ||
+ | |||
+ | .cit-home-nav a { | ||
+ | color: inherit; | ||
+ | text-decoration: none; | ||
+ | flex-grow: 1; | ||
+ | flex-shrink: 0; | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | .cit-home-nav div { | ||
+ | text-align: center; | ||
+ | font-weight: bold; | ||
+ | border: 1px solid #999; | ||
+ | margin-bottom: 16px; | ||
+ | height: 200px; | ||
} | } |
Revision as of 22:36, 19 September 2019
/* CSS placed here will affect users of the mobile site */ @import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900,100italic,300italic,400italic,500italic,700,700italic,900italic'); body { font-family: 'Roboto', sans-serif; } h1, h2, h3, h4, h5, h6, a { font-family: 'Roboto', sans-serif !important; } .cit-home-nav { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } .cit-home-nav a { color: inherit; text-decoration: none; flex-grow: 1; flex-shrink: 0; width: 100%; } .cit-home-nav div { text-align: center; font-weight: bold; border: 1px solid #999; margin-bottom: 16px; height: 200px; }