Difference between revisions of "MediaWiki:Common.css"

From ScientificComputing
Jump to: navigation, search
Line 67: Line 67:
 
.button{
 
.button{
 
width: 80%;
 
width: 80%;
border: solid 1px;
 
 
border-radius: 10px;
 
border-radius: 10px;
 
padding-top: 6px;
 
padding-top: 6px;

Revision as of 06:01, 1 July 2021

/* 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;
}

/* Some classes for new quick guide tutorial */
.button{
width: 80%;
border-radius: 10px;
padding-top: 6px;
padding-bottom: 6px;
margin: 5px;
text-align:center;
}

/* Standard Navigationsleisten, aka box hiding thingy
   from .de.  Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
	margin: 0;
	padding: 4px;
	border: 1px solid #a2a9b1;
	text-align: center;
	border-collapse: collapse;
	font-size: 95%;
}
div.NavFrame + div.NavFrame {
	border-top-style: none;
	border-top-style: hidden;
}
div.NavPic {
	background-color: #fff;
	margin: 0;
	padding: 2px;
	/* @noflip */
	float: left;
}
div.NavFrame div.NavHead {
	line-height: 1.6em;
	font-weight: bold;
	background-color: #ccf;
	position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
	font-size: 100%;
}
div.NavEnd {
	margin: 0;
	padding: 0;
	line-height: 1px;
	clear: both;
}
a.NavToggle {
	position: absolute;
	top: 0;
	/* @noflip */
	right: 3px;
	font-weight: normal;
	font-size: 90%;
}

.client-js .NavFrame.collapsed > .NavContent {
	display: none;
}

/* 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
   (as long as there are no =headings= on the page, which
   there shouldn't be according to the MoS).
 */
.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;
}