Difference between revisions of "MediaWiki:Common.css"

From RimWorld Wiki
Jump to navigation Jump to search
m (duplicating line removed)
m
Line 9: Line 9:
 
#bodyContent a.external,
 
#bodyContent a.external,
 
#bodyContent a[href ^="gopher://"] { background: none; padding-right: 0;}
 
#bodyContent a[href ^="gopher://"] { background: none; padding-right: 0;}
 +
 +
/**Helper classes**/
 +
.text-left { text-align: left; }
 +
.text-right { text-align: right; }
 +
.text-center { text-align: center; }
 +
.text-top { vertical-align: top; }
 +
.text-middle { vertical-align: middle; }
 +
.text-bottom { vertical-align: bottom; }
 +
 +
.pull-left { float: left !important; }
 +
.pull-right { float: right !important; }
 +
.center-block { display: block; margin-left: auto; margin-right: auto; }
 +
 +
.padding-tb { padding: .5em 0; }
 +
.margin-lr { margin: 0 1.5em; }
  
 
/* </source> */
 
/* </source> */

Revision as of 09:25, 2 November 2013

/* <source lang="css"> */

/**Spoiler**/
.spoiler-body { display: none; }
.opened { color: green; cursor: pointer; }
.closed { color: blue; cursor: pointer; }

/**Remove external link icon**/
#bodyContent a.external,
#bodyContent a[href ^="gopher://"] { background: none; padding-right: 0;}

/**Helper classes**/
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-top { vertical-align: top; }
.text-middle { vertical-align: middle; }
.text-bottom { vertical-align: bottom; }
 
.pull-left { float: left !important; }
.pull-right { float: right !important; }
.center-block { display: block; margin-left: auto; margin-right: auto; }
 
.padding-tb { padding: .5em 0; }
.margin-lr { margin: 0 1.5em; }

/* </source> */