Difference between revisions of "MediaWiki:Common.css"
From Shangpa Resource Center
Line 54: | Line 54: | ||
} | } | ||
− | . | + | table.text_properties { |
background-color: #f8f9fa; | background-color: #f8f9fa; | ||
color: #222; | color: #222; | ||
Line 63: | Line 63: | ||
width: 30%; | width: 30%; | ||
margin-right: 20px; | margin-right: 20px; | ||
+ | } | ||
+ | |||
+ | table.text_properties > * > tr > th { | ||
+ | background-color: #eaecf0; | ||
+ | text-align: center; | ||
+ | } | ||
+ | table.text_properties > tr > th, table.text_properties > tr > td, table.text_properties > * > tr > th, table.text_properties > * > tr > td { | ||
+ | border: 1px solid #a2a9b1; | ||
+ | padding: 0.2em 0.4em; | ||
+ | } | ||
+ | |||
+ | table.text_properties> tr > th, table.text_properties> tr > td, table.text_properties> * > tr > th, table.text_properties> * > tr > td { | ||
+ | border: 1px solid #a2a9b1; | ||
+ | padding: 0.2em 0.4em; | ||
} | } |
Revision as of 10:35, 22 November 2018
/* CSS placed here will be applied to all skins */ body { font-family: 'Lato', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif; } #footer-icons, #footer-info { display: none; } .navbar-nav > li { border-left: solid 1px white; } #mw-navigation { background-color: #7d0711; border-color: white; } #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%; } @media (min-width: 1200px) .container { width: 1300px; } table.text_properties { background-color: #f8f9fa; color: #222; margin: 1em 0; border: 1px solid #a2a9b1; border-collapse: collapse; float: left; width: 30%; margin-right: 20px; } table.text_properties > * > tr > th { background-color: #eaecf0; text-align: center; } table.text_properties > tr > th, table.text_properties > tr > td, table.text_properties > * > tr > th, table.text_properties > * > tr > td { border: 1px solid #a2a9b1; padding: 0.2em 0.4em; } table.text_properties> tr > th, table.text_properties> tr > td, table.text_properties> * > tr > th, table.text_properties> * > tr > td { border: 1px solid #a2a9b1; padding: 0.2em 0.4em; }