Difference between revisions of "MediaWiki:Common.css"

From ScientificComputing
Jump to: navigation, search
(3 intermediate revisions by the same user not shown)
Line 29: Line 29:
 
padding: 1px;
 
padding: 1px;
 
padding-left: 3px;
 
padding-left: 3px;
 +
padding-right: 3px;
 
color: white;
 
color: white;
 
}
 
}
Line 47: Line 48:
 
#ss_position{
 
#ss_position{
 
position: absolute;
 
position: absolute;
top: 25px;
+
width: 100%;
left:345px;
+
text-align: right;
 +
top: 85px;
 
}
 
}
  

Revision as of 07:22, 7 October 2019

/* CSS placed here will be applied to all skins */

/* nowrap class, used for {{nowrap}} template */
.nowrap{
    white-space: nowrap;
}


/* remove title from main page */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading {
 display: none;
}

/* classes used for formatting of application tables */
.atc1{
display:inline-block;
width:8em;
}

.atc2{
display:inline-block;
width:16em;
}

/* color classes for system status */
.base_status{
font-size:10pt;
font-weight:500;
padding: 1px;
padding-left: 3px;
padding-right: 3px;
color: white;
}

.green_status{
background-color: #008040;
}

.orange_status{
background-color: orange;
}

.red_status{
background-color: red;
}

/* Position the system status in the top middle of the wiki */
#ss_position{
position: absolute;
width: 100%;
text-align: right;
top: 85px;
}

/* Position the ETH logo in the top left of the wiki */
#logo{
position: absolute;
top: 10px;
left: 177px;
width: 135px;
height: 27px;
background: url("https://scicomp.ethz.ch/w/images/b/b0/EthLogo.svg");
background-size: 135px 27px;
background-repeat: no-repeat;
}