Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 165: | Line 165: | ||
color: black; | color: black; | ||
} | } | ||
− | |||
div#footer { | div#footer { | ||
Line 175: | Line 174: | ||
#footer-info { display: none; } | #footer-info { display: none; } | ||
+ | |||
+ | |||
+ | /*responsive*/ | ||
+ | .container { | ||
+ | padding-right: 15px; | ||
+ | padding-left: 15px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 { | ||
+ | position: relative; | ||
+ | min-height: 1px; | ||
+ | padding-right: 15px; | ||
+ | padding-left: 15px; | ||
+ | } | ||
+ | .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 { | ||
+ | float: left; | ||
+ | } | ||
+ | |||
+ | .col-12 { | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | .col-6 { | ||
+ | width: 50%; | ||
+ | } | ||
+ | |||
+ | .col-4 { | ||
+ | width: 33.33333333%; | ||
+ | } | ||
+ | .col-3 { | ||
+ | width: 25%; | ||
+ | } | ||
+ | |||
+ | @media (max-width: 768px) { | ||
+ | .col-6 { | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | .col-4 { | ||
+ | width: 100%; | ||
+ | } | ||
+ | } |
Revision as of 16:27, 4 May 2015
/* CSS placed here will be applied to all skins */ body { background-color: #f3f3f3; background-color: #ffffff; background-image: none; font-family: Verdana,Geneva,sans-serif; min-height: 400px; } img { height: auto; max-width: 100%; } /* .firstHeading { display: none }*/ #contentSub, #p-tb, .mw-search-formheader, #p-namespaces, .toc, #toc, #footer-places-about { display: none } body.page-Main_Page h1.firstHeading { display:none; } #mw-pages p { display: none; } a:visited { color: #008ACC !important; } pre { white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ word-wrap: break-word; /* Internet Explorer 5.5+ */ } #bodyContent a:link, a:visited, a:active { color: #008ACC; text-decoration: none; font-weight: normal; } #bodyContent a:hover a:focus { color: #008ACC; text-decoration: underline; } div#mw-panel div.portal div.body ul li a:link, a:visited, a:active { color: #008ACC; } div#mw-panel div.portal div.body ul li a:hover { text-decoration: underline; } div.vectorTabs li a:link, a:visited, a:active { color: #008ACC; } div.vectorTabs li a:hover { text-decoration: underline; } #p-navigation li{ padding: 6px !important; margin-bottom: 5px !important; background-color: #f4f4f4; transition: color 0.2s linear 0s; border: 1px solid #e7e7e7; } #p-navigation a{ color: #2f2f2f!important; } #p-navigation a:hover { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; filter: alpha(opacity=70); -moz-opacity: 0.7; -khtml-opacity: 0.7; opacity: 0.7; text-decoration:none; } div#mw-panel { width: 12em; } div#content, div#footer { margin-left: 12em; } input {font-weight: bold; font-size: 120%} div#content { background-image: none; clear: both; border: none; } #mw-page-base { background-color: #F3F3F3; background-color: #ffffff; background-image: none; } div.vectorTabs { background-color: #F3F3F3; background-color: #ffffff; background-image: none; } div.selected { background-color: #ffffff; background-image: none; } #mw-head-base { background-color: #F3F3F3; background-color: #ffffff; background-image: none; } div.vectorTabs ul li { background-color: #F3F3F3; background-color: #ffffff; background-image: none; } div.vectorTabs span { background-color: #F3F3F3; background-color: #ffffff; background-image: none; } div#mw-head div.vectorMenu h5{ background-color: #F3F3F3; background-color: #ffffff; background-image: none; } div#mw-head div.vectorMenu h5 a{ background-color: #F3F3F3; background-color: #ffffff; background-image: none; } .mw-normal-catlinks a !important { color: black; } .mw-normal-catlinks a:link, a:visited, a:active !important{ color: black; } #footer a { color: black; } div#footer { background-color: #F3F3F3; background-color: #ffffff; background-image: none; border-top: 1px solid; } #footer-info { display: none; } /*responsive*/ .container { padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; } .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 { position: relative; min-height: 1px; padding-right: 15px; padding-left: 15px; } .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 { float: left; } .col-12 { width: 100%; } .col-6 { width: 50%; } .col-4 { width: 33.33333333%; } .col-3 { width: 25%; } @media (max-width: 768px) { .col-6 { width: 100%; } .col-4 { width: 100%; } }