Difference between revisions of "MediaWiki:Common.css"

From WikiCorporates
Jump to navigation Jump to search
Line 32: Line 32:
 
div#footer { padding-top: 0.50em;
 
div#footer { padding-top: 0.50em;
  
−
 
+
/* 1st table at the top of personal pages */
−
table.contact-info td {
+
.contact-info td {
−
   border-bottom:1px solid #cedff2;
+
   border-bottom: 1px solid #cedff2;
 
}
 
}
−
 
−
 
−
 
  
 
/* Timeline dl list
 
/* Timeline dl list
Line 95: Line 92:
 
span.indent {
 
span.indent {
 
   padding-left: 2.5em;
 
   padding-left: 2.5em;
−
}
 
−
 
−
/* Experimenting with home-grown message boxes */
 
−
div.my-msgbox {
 
−
background: #fbfbfb;
 
−
border: 1px solid #a2a9b1;
 
−
border-left: 10px solid #f28500;
 
−
padding: 0.25em 0.5em;
 
−
width: 240px;
 
−
line-height: 1.2em;
 
 
}
 
}

Revision as of 02:27, 30 December 2017

/* CSS placed here will be applied to all skins */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }

/* Sidebar: get rid of the div's top border image */
div#mw-panel div.portal {
  background-image: none;
}

/* Sidebar:
 * let's have a decent top space between groups
 * pad the h3 a bit more so is in line w/all text
 * we don't want any borders */
div#mw-panel div.portal h3 {
  margin: 0.5em 0 0 0;
  padding: 0.25em 0 0.25em 0.7em;
  border: 0;
}

/* Sidebar: give the div for the text links a top border image */
div#mw-panel div.portal div.body {
  margin-left: 0.6em;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAAABCAAAAAAphRnkAAAAJ0lEQVQIW7XFsQEAIAyAMPD/b7uLWz8wS5youFW1UREfiIpH1Q2VBz7fGPS1dOGeAAAAAElFTkSuQmCC);
  background-repeat: no-repeat;
}

/* Centre the row of footer links */
div#footer #footer-places { width: 100%; text-align: center; float: none; }
div#footer #footer-places li { float: none; display: inline-block; }

/* Prevent the (unused) div 'footer-info-lastmod' from taking up space */
div#footer ul#footer-info { display: none; }
div#footer { padding-top: 0.50em;

/* 1st table at the top of personal pages */
.contact-info td {
  border-bottom: 1px solid #cedff2;
}

/* Timeline dl list
 * http://maxdesign.com.au/articles/definition/ */
dl.timeline-list {
  margin:0; padding:0;
}
dl.timeline-list dt {
  margin:0; padding:0; font-weight:bold; text-decoration:underline;
}
dl.timeline-list dd {
  margin: 0 0 1em 0; padding:0;
}

/* Timeline dl styled as a table */
dl.timeline-table {
  float: left;
  width: 820px;
  margin: 1em 0;
  padding: 0;
  border-bottom: 1px solid #999;
}
dl.timeline-table dt {
  clear: left;
  float: left;
  width:100px;
  margin: 0;
  padding: 5px;
  border-top: 1px solid #999;
  font-weight: bold;
}
dl.timeline-table dd {
  float: left;
  width:700px;
  margin: 0;
  padding: 5px;
  border-top: 1px solid #999;
}

/* Glossary dl style */
div#glossary dt {
  margin-top: 1.0em;
}

/* Style blockquotes */
blockquote.left-border {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 50px;
  padding-left: 15px;
  border-left: 3px solid #ccc;
}

/* Create a hanging indent.
 * This should be a template (when I get them working) */
span.indent {
  padding-left: 2.5em;
}