Difference between revisions of "MediaWiki:Common.css"

From iPi Docs
Jump to: navigation, search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
/* Remove the arrow next to external links */
 +
a.external {
 +
  background: none !important;
 +
  padding-right: 0px !important;
 +
}
 +
 +
a:visited {
 +
  color: #0747AF !important;
 +
}
 +
 
/* Dotted border around div with source code */
 
/* Dotted border around div with source code */
 
/* http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi/ru#.D0.9C.D0.B5.D1.82.D0.BE.D0.B4_1:_CSS_.D1.84.D0.B0.D0.B9.D0.BB */
 
/* http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi/ru#.D0.9C.D0.B5.D1.82.D0.BE.D0.B4_1:_CSS_.D1.84.D0.B0.D0.B9.D0.BB */
Line 23: Line 33:
 
   bottom: 0;
 
   bottom: 0;
 
   right: 0;
 
   right: 0;
   left:0;
+
   left: 0;
 
}
 
}
  
Line 35: Line 45:
 
   vertical-align: top;
 
   vertical-align: top;
 
   position: relative;
 
   position: relative;
 +
  border: 1px solid;
 
}
 
}
  
Line 43: Line 54:
 
   font-weight: bold;
 
   font-weight: bold;
 
   text-align: center;
 
   text-align: center;
   color: #000;
+
   color: #444444;
 
   padding: 0.2em 0.4em;
 
   padding: 0.2em 0.4em;
 +
  border: 1px solid;
 +
}
 +
 +
/* Side panel for info */
 +
div.sideInfoPanel {
 +
  float: right;
 +
  clear: right;
 +
  border: 1px solid #AAA;
 +
  background-color: #F9F9F9;
 +
  padding: 0.4em;
 +
  margin-left: 1.5em;
 +
  margin-bottom: 1.5em;
 +
  width: 21em;
 +
  font-size:90%;
 
}
 
}

Latest revision as of 10:25, 31 October 2014

/* Remove the arrow next to external links */
a.external {
  background: none !important;
  padding-right: 0px !important;
}
 
a:visited {
  color: #0747AF !important;
}
 
/* Dotted border around div with source code */
/* http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi/ru#.D0.9C.D0.B5.D1.82.D0.BE.D0.B4_1:_CSS_.D1.84.D0.B0.D0.B9.D0.BB */
div.mw-geshi {
  padding: 1em; 
  margin: 1em 0; 
  border: 1px dashed #2f6fab;
  background-color: #f9f9f9;
}
 
/* No title on main page */
/* http://www.sciencemedianetwork.org/wiki/Mediawiki/Hiding_the_main_page_title */
body.page-Main_Page h1.firstHeading { display:none; }
 
/* Editions notes on main page */
div.editionsNote {
  margin: 8px;
  font-size: 95%;
  border: 1px dashed #a3bfb1;
  color: #000066;
  padding: 0.2em 0.4em;
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}
 
/* Config panel on main page */
div.configPanel {
  vertical-align: top;
  color: #000;
  padding: 8px;
  display: table-cell;
  width: 32%;
  vertical-align: top;
  position: relative;
  border: 1px solid;
}
 
/* Header of config panel on main page */
div.configPanelHeader {
  margin: 3px 3px 12px 3px;
  font-size: 120%;
  font-weight: bold;
  text-align: center;
  color: #444444;
  padding: 0.2em 0.4em;
  border: 1px solid;
}
 
/* Side panel for info */
div.sideInfoPanel {
  float: right;
  clear: right;
  border: 1px solid #AAA;
  background-color: #F9F9F9;
  padding: 0.4em;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
  width: 21em;
  font-size:90%;
}