Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(11 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
} | } | ||
− | h1, h2, h3, h4, h5, h6, a { | + | h1, h2, h3, h4, h5, h6, a, table { |
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; | ||
+ | margin: 8px; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | .cit-home-nav div { | ||
+ | text-align: center; | ||
+ | width: 220px; | ||
+ | height: 220px; | ||
+ | border: 1px solid #999; | ||
+ | padding-top: 8px; | ||
+ | } | ||
+ | |||
+ | .cit-home-nav h2 { | ||
+ | text-decoration:none; | ||
+ | border: none; | ||
+ | margin: 0 0 16px 0; | ||
+ | font-size: 16px; | ||
+ | } | ||
+ | |||
+ | .cit-home-nav p { | ||
+ | font-weight: 400; | ||
+ | font-size: smaller; | ||
+ | margin: 0 8px; | ||
} | } |
Latest revision as of 15:06, 20 September 2019
/* CSS placed here will be applied to all skins */ @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, table { 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; margin: 8px; font-weight: bold; } .cit-home-nav div { text-align: center; width: 220px; height: 220px; border: 1px solid #999; padding-top: 8px; } .cit-home-nav h2 { text-decoration:none; border: none; margin: 0 0 16px 0; font-size: 16px; } .cit-home-nav p { font-weight: 400; font-size: smaller; margin: 0 8px; }