Difference between revisions of "MediaWiki:Common.css"

From RainMachine wiki page
Jump to: navigation, search
m
m
Line 23: Line 23:
 
code {color:#000;letter-spacing: 2px;background-color:#fff;}
 
code {color:#000;letter-spacing: 2px;background-color:#fff;}
 
#yambe {font-size:75%;}
 
#yambe {font-size:75%;}
 +
 +
 +
@media screen and (min-width: 982px) {
 +
#mw-head-base {
 +
    margin-left: 0em;
 +
}
 +
#mw-head-base {
 +
    margin-top: 0em;
 +
    margin-left: 0em;
 +
    height: 0em;
 +
}
 +
div.vectorTabs span > a {
 +
    float: left;
 +
    display: none;
 +
}
 +
div#mw-head {
 +
    display: none;
 +
}
 +
div#mw-panel {
 +
    display: none;
 +
}
 +
}
 +
@media screen and (min-width: 768px) {
 +
div#content {
 +
    margin-left: 0em;
 +
    padding: 0em;
 +
}
 +
#mw-head-base {
 +
    margin-left: 0em;
 +
}
 +
div#content {
 +
    margin: 2em;
 +
    padding: 1em;
 +
    border: 1px solid #ccc;
 +
    margin: 0 auto;
 +
    width: 80%;
 +
}
 +
div.vectorTabs span > a {
 +
    float: left;
 +
    display: none;
 +
}
 +
div#mw-head {
 +
    display: none;
 +
}
 +
div#mw-panel {
 +
    display: none;
 +
}
 +
.searchInputField {
 +
    width: 34%;
 +
}
 +
}
  
 
/*hidings and edits begin */
 
/*hidings and edits begin */
Line 150: Line 201:
  
 
/* hidings and edits ends */
 
/* hidings and edits ends */
@media screen and (min-width: 982px) {
 
#mw-head-base {
 
    margin-left: 0em;
 
}
 
#mw-head-base {
 
    margin-top: 0em;
 
    margin-left: 0em;
 
    height: 0em;
 
}
 
div.vectorTabs span > a {
 
    float: left;
 
    display: none;
 
}
 
div#mw-head {
 
    display: none;
 
}
 
div#mw-panel {
 
    display: none;
 
}
 
}
 
@media screen and (min-width: 768px) {
 
div#content {
 
    margin-left: 0em;
 
    padding: 0em;
 
}
 
#mw-head-base {
 
    margin-left: 0em;
 
}
 
div#content {
 
    margin: 2em;
 
    padding: 1em;
 
    border: 1px solid #ccc;
 
    margin: 0 auto;
 
    width: 80%;
 
}
 
div.vectorTabs span > a {
 
    float: left;
 
    display: none;
 
}
 
div#mw-head {
 
    display: none;
 
}
 
div#mw-panel {
 
    display: none;
 
}
 
.searchInputField {
 
    width: 34%;
 
}
 
}
 

Revision as of 03:18, 9 June 2016

/* CSS placed here will be applied to all skins */
@import url(https://fonts.googleapis.com/css?family=Lato);
body {font-family: 'Lato', sans-serif;font-size:120%}
#firstHeading, #ca-nstab-main, #left-navigation { display: none; }
a:visited {color: #0645ad;}
.mw-body a.external:visited {color: #0645ad;}
div#mw-panel div.portal div.body ul li a:visited {color:#0645ad;}
pre {font-size:12px;}
h2 {font-size: 130%;line-height: 0.8em;color:#0645ad;}
/*Home starts*/
.homeContainer {text-align:center;border-bottom:1px solid #eee;padding-bottom:20px;}
.homeH1 {text-align:center;padding-bottom:15px;font-size: 2.625em;padding-top: 1em;}
.homeFeature, .homeFeatureLast {display:inline-block;width:380px;text-align:left;height:126px;vertical-align:top;padding:10px;padding-left:20px;cursor: pointer;color:#888;}
.homeFeatureLast {cursor:auto;}
.left {margin-right:15px;}
.homeFeature h3 {font-size: 1.1875em;}
.homeFeature a:link, .homeFeature a:visited {text-decoration:none; color:#888;}
.homeFeature a:hover {color:#0645ad;}
.homeFeature:hover {background-color:#fafafa;color:#0645ad;}
.homeFeatureLast:hover {background-color:transparent;color:#0645ad;}
/*Home ends*/
#content {margin-right:1em;border-right-width:1px;}
code {color:#000;letter-spacing: 2px;background-color:#fff;}
#yambe {font-size:75%;}


@media screen and (min-width: 982px) {
#mw-head-base {
    margin-left: 0em;
}
#mw-head-base {
    margin-top: 0em;
    margin-left: 0em;
    height: 0em;
}
div.vectorTabs span > a {
    float: left;
    display: none;
}
div#mw-head {
    display: none;
}
div#mw-panel {
    display: none;
}
}
@media screen and (min-width: 768px) {
div#content {
    margin-left: 0em; 
    padding: 0em; 
}
#mw-head-base {
    margin-left: 0em;
}
div#content {
    margin: 2em;
    padding: 1em;
    border: 1px solid #ccc;
    margin: 0 auto;
    width: 80%;
}
div.vectorTabs span > a {
    float: left;
    display: none;
}
div#mw-head {
    display: none;
}
div#mw-panel {
    display: none;
}
.searchInputField {
    width: 34%;
}
}

/*hidings and edits begin */
.rmLogo {
    margin-left: 0em;
    border:0;
}
#mw-page-base {
    height: 4em;
    margin: 0 auto;
    width: 80%;
    background: transparent;
    }

div#footer ul li {
    display: none;
}

.searchInputField, .searchButton {
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    height: 2.2em;
    margin: 0 0 15px;
    padding: 0.5em;
    color: #30373b;
    font-size: 1.125em;
    border: 1px solid #eee;
    border-radius: 3px;
    background-color: #fff;
    -webkit-transition: border-color 0.1s;
    transition: border-color 0.1s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 45%;
}

.searchButton {
    color: #fff;
    border: 1px solid #3399cc;
    background-color: #3399cc;
    width: 80px;
    margin-left: 10px;
}

#p-search {
    text-align: center;
}
/*----- Menu Outline -----*/
.menu-wrap {
    width:100%;
}
.clearfix:after {
    display:block;
    clear:both;
}
.menu {
    width:646px;
    margin:0 auto;
}
.menu ul {
    margin:0;
}
.menu li {
    margin:0px;
    list-style:none;
}
.menu a {
    transition:all linear 0.15s;
    color:#555;
}
.menu li:hover > a, .menu .current-item > a {
    text-decoration:none;
    color:#fff;
}
.menu .arrow {
    font-size:9px;
    line-height:0%;
}
 
/*----- Top Level -----*/
.menu > ul > li {
    float:left;
    display:inline-block;
    position:relative;
    font-size:16px;
}
.menu > ul > li > a {
    padding:5px 15px;
    display:inline-block;
}
.menu > ul > li:hover > a, .menu > ul > .current-item > a {
    background:#39c;
}
 
/*----- Bottom Level -----*/
.menu li:hover .sub-menu {
    z-index:1;
    opacity:1;
}
.sub-menu {
    width:160%;
    padding:0px 0px;
    position:absolute;
    top:100%;
    left:0px;
    z-index:-1;
    opacity:0;
    transition:opacity linear 0.15s;
    background:#eee;
}
.sub-menu li {
    display:block;
    font-size:15px;
}
.sub-menu li a {
    padding:5px 15px;
    display:block;
}
.sub-menu li a:hover, .sub-menu .current-item a {
    background:#39c;
}
.submenu ul {
    margin:0;
}

/* hidings and edits ends */