MediaWiki:Common.css: Difference between revisions
From Jcastle.info
No edit summary |
No edit summary |
||
Line 98: | Line 98: | ||
.panel-heading { | .panel-heading { | ||
background-image: url("/smw/resources/assets/design/texture2.png"); | background-image: url("/smw/resources/assets/design/texture2.png"); | ||
background-color:#ffcccc; | background-color:#ffcccc!important; | ||
} | } | ||
Revision as of 01:08, 3 February 2018
/* CSS placed here will be applied to all skins */ /* * Allow limiting of which header levels are shown in a TOC; * <div class="toclimit-3">, for instance, will limit to * showing ==headings== and ===headings=== but no further. * Used in [[Template:TOC]] */ .toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul { display: none; } .tocnumber { display: none!important; } /* background setting */ body { background-image: url("/smw/resources/assets/design/bgmap8.jpg"); background-attachment: fixed; } .img-responsive { margin: 0 auto; } h1 { color:#36563C; } h2 { color:#36563C; /*color:#4C6473;*/ } /* even and odd in Broad tables */ .smwtable .row-even { background-color: #fff; } .smwtable .row-odd { background-color: #cde6ea; } .smwtable td { width: 150px; } /* for highlight photo template */ .largephoto { width:550px } /* for voting to fix display of your vote */ .rating-voted { display: inline; padding-left: .7em; padding-right: .5em; position: static; right: initial; } img { max-width: 100%; height: auto; width: auto\9; /* ie8 */ } #ca-talk { display:none!important; } body.page-Home h1.firstHeading { display: none; } ul.titlelist { columns: 2; -webkit-columns: 2; -moz-columns: 2; } /* @noflip */ a { -ms-word-break: break-all; word-break: break-all; /* Non standard for WebKit */ word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; } /* Infobox template style */ .infobox { background-color: #f2f3f2; /* @noflip */ font-size: 88%; border: 1px solid #ddd; } .infobox .caption { background-image: url("/smw/resources/assets/design/texture2.png"); font-size: 100%; font-weight: bold; padding: 0.2em!important;; background-color: #808f7c; color: #fff; text-align: center; border: 1px solid #808f7c; } .panel-heading { background-image: url("/smw/resources/assets/design/texture2.png"); background-color:#ffcccc!important; } .right { float: right; width: 60%; } .left { float: left; width: 40%; } /* footer */ #myFooter { background-color: #f5f5f5; padding-top: 15px; border: 1px solid #e3e3e3; } #myFooter .footer-copyright { background-color: #eee; padding-top: 3px; padding-bottom: 3px; text-align: center; border-top: 1px solid #e3e3e3; } #myFooter .row { margin-bottom: 30px; } #myFooter .footer-copyright p { margin: 10px; } #myFooter ul { list-style-type: none; list-style: none; list-style-image: none; line-height: 1.7; padding-left: 0px; } #myFooter h5 { font-size: 18px; font-weight: bold; margin-top: 30px; color: #9D9D9D; } #myFooter a { text-decoration: none; } #myFooter .footercol { padding-left: 30px; } #myFooter .fa { font-size: 32px; color: #9D9D9D; padding: 10px 20px 10px 0px; transition: 0.2s; } #myFooter .social-networks a:hover { text-decoration: none; } #myFooter .fa-facebook:hover{ color: #2b55ff; } #myFooter .fa-facebook:focus{ color: #2b55ff; } #myFooter .fa-instagram:hover{ color:red; } #myFooter .fa-instagram:focus{ color:red; } #myFooter .fa-twitter:hover{ color: #00aced; } #myFooter .fa-twitter:focus{ color:#00aced; } #myFooter .fa-rss:hover{ color: #ff7518; } #myFooter .fa-rss:focus{ color:#ff7518; }