Open main menu

Difference between revisions of "MediaWiki:Mobile.css"

Line 1: Line 1:
body{text-align:justify; background-color: #E9EAED;}
+
div#mw-mf-page-left,div#mw-mf-page-left li{background-color:#3a5795}body{text-align:justify;background-color:#E9EAED;font-family:helvetica;font-size:1em}div#mw-mf-page-left{border-left:solid 12px #FFF}#mw-mf-page-left ul li{border-bottom:1px solid #fff}#mw-mf-page-left ul:first-child{border-bottom:12px solid #FFF}.header a#secondary-button{background-color:#3A5795}.header a{background-color:#fff;border:2px solid #3A5795}input#searchInput{padding:5px}div.header{background-color:#3a5795}div.pre-content{border-bottom:solid 4px #3A5795}ul#page-actions{background:#fff}div#content{background-color:#fff;padding:6px;border-radius:5px;margin-left:5%;margin-right:5%}table.diff th,td{width:50%}table.diff td{padding-left:2%;padding:right:2%}table.diff th{background-color:#3a5795;color:#fff}div#content_wrapper h1,h2,h3,h4{color:#3A5795}div#footer{background-color:#3A5795}div#footer,div#footer a,div#footer h1,div#footer h2,div#footer h3,div#footer h4{color:#fff}@media screen and (max-width:500px){table.diff th,td{font-weight:700;display:block;width:100%}div#content{margin-left:5px;margin-right:5px}table.diff th:nth-child(even){background:#000;color:#fff}table.diff th:nth-child(odd){background:#3a5795;color:#fff}table.diff td:nth-child(odd){color:#3a5795;padding:5px}}button.btn.btn-success,button.btn.btn-success:hover{background:#16a085;border:0;font-size:1em}button.btn.btn-success a{color:#fff}button.btn.btn-success a:hover{color:#16a085;text-decoration:none}.diff tr th{display:none}.diff tr td{border:0;border-radius:5px;padding:5px;font-weight:400;margin-top:5px}.td-head,.td-head-2{padding:3px;border-radius:4px;display:inline-block}.diff tr td:nth-child(n){background:#021F31;color:#fff}.diff tr td:nth-child(2n){background:#fff;color:#021F31}.td-head{background:#f39c12}.td-head-2{background:#f1c40f;color:#fff}.td-head:after{content:''}
div#mw-mf-page-left {background-color: #3a5795; border-left: solid 12px #FFFFFF;}
 
div#mw-mf-page-left li{background-color: #3a5795;}
 
#mw-mf-page-left ul li {border-bottom: 1px solid white;}
 
#mw-mf-page-left ul:first-child {border-bottom: 12px solid #FFFFFF;}
 
.header a#secondary-button {background-color: #3A5795;}
 
.header a {background-color: white;border: 2px solid #3A5795;}
 
input#searchInput { padding: 5px;}
 
div.header{background-color: #3a5795; }
 
div.pre-content{border-bottom: solid 4px #3A5795;}
 
ul#page-actions { background: white;}
 
div#content {background-color: white; padding: 6px;border-radius: 5px;}
 
table.diff th,td{width:50%;}
 
table.diff td{ padding-left:2%; padding:right:2%; }
 
table.diff th{background-color:#3a5795;color:white;}
 
div#content{margin-left:5%; margin-right:5%;}
 
div#content_wrapper h1,h2,h3,h4 {color: #3A5795;}
 
div#footer {background-color: #3A5795;}
 
div#footer,div#footer h1,div#footer h2,div#footer h3,div#footer h4, div#footer a {color: white;}
 
 
 
@media screen and (max-width:500px){
 
  table.diff th,td {font-weight:bold;display:block;width:100%;}
 
  div#content{margin-left:5px;margin-right:5px;
 
}
 
table.diff th:nth-child(even){background: black; color:white;}
 
table.diff th:nth-child(odd){background: rgb(58, 87, 149); color:white;}
 
table.diff td:nth-child(odd){color:#3a5795;padding:5px;}
 
 
 
}
 

Revision as of 11:45, 16 April 2016

div#mw-mf-page-left,div#mw-mf-page-left li{background-color:#3a5795}body{text-align:justify;background-color:#E9EAED;font-family:helvetica;font-size:1em}div#mw-mf-page-left{border-left:solid 12px #FFF}#mw-mf-page-left ul li{border-bottom:1px solid #fff}#mw-mf-page-left ul:first-child{border-bottom:12px solid #FFF}.header a#secondary-button{background-color:#3A5795}.header a{background-color:#fff;border:2px solid #3A5795}input#searchInput{padding:5px}div.header{background-color:#3a5795}div.pre-content{border-bottom:solid 4px #3A5795}ul#page-actions{background:#fff}div#content{background-color:#fff;padding:6px;border-radius:5px;margin-left:5%;margin-right:5%}table.diff th,td{width:50%}table.diff td{padding-left:2%;padding:right:2%}table.diff th{background-color:#3a5795;color:#fff}div#content_wrapper h1,h2,h3,h4{color:#3A5795}div#footer{background-color:#3A5795}div#footer,div#footer a,div#footer h1,div#footer h2,div#footer h3,div#footer h4{color:#fff}@media screen and (max-width:500px){table.diff th,td{font-weight:700;display:block;width:100%}div#content{margin-left:5px;margin-right:5px}table.diff th:nth-child(even){background:#000;color:#fff}table.diff th:nth-child(odd){background:#3a5795;color:#fff}table.diff td:nth-child(odd){color:#3a5795;padding:5px}}button.btn.btn-success,button.btn.btn-success:hover{background:#16a085;border:0;font-size:1em}button.btn.btn-success a{color:#fff}button.btn.btn-success a:hover{color:#16a085;text-decoration:none}.diff tr th{display:none}.diff tr td{border:0;border-radius:5px;padding:5px;font-weight:400;margin-top:5px}.td-head,.td-head-2{padding:3px;border-radius:4px;display:inline-block}.diff tr td:nth-child(n){background:#021F31;color:#fff}.diff tr td:nth-child(2n){background:#fff;color:#021F31}.td-head{background:#f39c12}.td-head-2{background:#f1c40f;color:#fff}.td-head:after{content:''}

Follow Us