Difference between revisions of "MediaWiki:Common.css"

From iPi Docs
Jump to: navigation, search
Line 23: Line 23:
 
   bottom: 0;
 
   bottom: 0;
 
   right: 0;
 
   right: 0;
   left:0;
+
   left: 0;
 
}
 
}
  
Line 35: Line 35:
 
   vertical-align: top;
 
   vertical-align: top;
 
   position: relative;
 
   position: relative;
 +
  border: 1px solid;
 
}
 
}
  
Line 45: Line 46:
 
   color: #444444;
 
   color: #444444;
 
   padding: 0.2em 0.4em;
 
   padding: 0.2em 0.4em;
 +
  border: 1px solid;
 
}
 
}

Revision as of 09:01, 16 October 2014

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