MediaWiki:Common.css: Difference between revisions

From WikiMSK

No edit summary
No edit summary
Line 116: Line 116:
.right-quote { float: right; }
.right-quote { float: right; }
.left-quoteย  { float: left;ย  }
.left-quoteย  { float: left;ย  }
blockquote p span{margin:200px;}
blockquote p span{margin:20px;}

Revision as of 19:32, 27 June 2020

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

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

/*left hand navigation*/
#mw-navigation {
    background-color: #f8f9fa;
}

/*modify table header*/
.wikitable > tr > th, .wikitable > * > tr > th {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left:0.5em;
  text-align: left;
  background-color: #3498DB;
  color: white;
}

/*Add table striping*/
tr:nth-child(even) {background-color: #f8f9fa;}
tr:nth-child(odd) {background-color: white;}

/*Format Portal Section*/
.portalMainBox{
	padding: 18px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
}

.otherHeadBox {
    padding: 4px;
    font-size: 110%;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
    background-color: #BCD8D8;
}

.portalSection{
	border:solid 1px #BCD8D8;
	border-radius:5px 5px 0 0;
	max-width:500px;
}

.citebox{
	color:#006600;
	padding:0px 0px 15px 0px;
	font-size:16px;
}

/* information boxes and navigation bars */
table.infobox, table.navbar {
  border: 1px solid #aaa;
  border-spacing: 1;
  background-color: white;
}

.infobox td, .navbar td .infobox th, .navbar th {
  padding: 4px;
}
.infobox th, .navbar th {
  background-color: #99CBED;
  white-space: nowrap;
  padding: 5px;
  border: solid 1px #143C57;
}
.infobox tr.title th, .navbar tr.title th,
.infobox th.title, .navbar th.title {
  color: black;
  background-color: #3498DB;
  text-align: center;
  padding: 5px;
}
.infobox td, .navbar td {
  text-align: left;
}

.infobox .kv th, .navbar .kv th {
  width: 15%;
}

.infobox.side {
  width: 22em;
  float: right;
  margin-left: 0.5em;
}
.infobox.side td {
  font-size: 90%;
}

@media only screen and (max-width: 600px) {
  .infobox.side {
    width: 100%;
  }
}

/* curved */
.curved {
  border-radius: 5px;
}

/* Notice */
.notice {
  text-align: center;
  margin: 15px auto;
  max-width: 700px;
  padding: 0.5em;
}
.notice.stub {
  font-style: italic;
}

/*Quotes*/
.right-quote { float: right; }
.left-quote  { float: left;  }
blockquote p span{margin:20px;}