Difference between revisions of "MediaWiki:Common.css"
From Shangpa Resource Center
Line 100: | Line 100: | ||
} | } | ||
− | div.text_left_column ~ p { | + | div.text_left_column ~ p:first-of-type { |
border: none; | border: none; | ||
margin-left: 10px; | margin-left: 10px; | ||
flex: 70%; | flex: 70%; | ||
} | } |
Revision as of 10:48, 23 November 2018
/* CSS placed here will be applied to all skins */ @import url('https://fonts.googleapis.com/css?family=Lato'); body { font-family: 'Lato', sans-serif; } @media (min-width: 1200px) .container { width: 1300px; } .firstHeading { color: #7d0711; } #footer-icons, #footer-info { display: none; } .navbar-nav > li { border-left: solid 1px white; } #mw-navigation { background-color: #7d0711; border-color: white; font-variant-caps: small-caps; } #mw-navigation-collapse > ul > li > a, #mw-navigation-collapse > div > ul > li > a { color: white; -webkit-transition: background-color 200ms linear; -ms-transition: background-color 200ms linear; transition: background-color 200ms linear; } #mw-navigation-collapse > ul > li > a:hover, #mw-navigation-collapse > div > ul > li > a:hover { color: white; background-color: #eb800e; } /* Navigation du bas */ #p-tb { border-color: #7d0711; border-top-style: solid; border-top-width: 10px; background: #ffffff url(/mediawiki-1.30.1/resources/assets/motif-shangpa-foundation-300x298.png) top center repeat scroll; } #p-tb > ul > li > a { color: #aaaaaa; } .home_image { width:100%; height: auto; } /* Template Text */ .main_text { font-size: 120%; line-height: 250%; } table.text_properties { background-color: #fff; color: #7D0711; margin: auto; border: none; border-collapse: collapse; margin-top: 10px; } table.text_properties > * > tr > th { background-color: #fff; color: #7D0711; text-align: right; } table.text_properties > tr > th, table.text_properties > tr > td, table.text_properties > * > tr > th, table.text_properties > * > tr > td { border: none; padding: 0.2em 0.4em; display: block; text-align: right; } div.smwpre { font-family: auto; padding: 0; border: none; color: #7D0711; background-color: white; line-height: 1em; word-wrap: break-word; word-break: break-word; margin-right: auto; } .text_left_column { flex: 30%; border: 1px solid #EB807B; margin-right: 10px; } div.text_left_column ~ p:first-of-type { border: none; margin-left: 10px; flex: 70%; }