This wiki is for the exclusive use of my friends and colleagues. Account creation and anonymous editing have been turned off.

If you are a friend or colleague of mine, and would like to participate in this project, please send me a message.

If you find these pages useful, please donate to help cover server costs. Thanks!

Difference between revisions of "MediaWiki:Common.css"

From OdleWiki
(Added hubbox styles)
m (Changed "mw-parser" output to "mw-content-text" (Change this back upon upgrade.))
Line 55: Line 55:
  
 
/* Hub box styling */
 
/* Hub box styling */
.mw-parser-output .mainpage_hubbox {
+
.mw-content-text .mainpage_hubbox {
 
     box-sizing: border-box;
 
     box-sizing: border-box;
 
     border: solid 1px #bbb;
 
     border: solid 1px #bbb;

Revision as of 00:40, 30 June 2018

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

@import url(http://fonts.googleapis.com/css?family=Roboto:400,700,400italic,700italic);

* {font-family: "Roboto", sans-serif;}
div#content p, div#content li {font-size: 14px;}
#toc *, .toc * {font-size: 1em;}

/* Repair top links too far to left */
#left-navigation {margin-left: 12em;}


code {
background: #f6f6f6;
color: #000066;
padding: 18px
margin: 12px 12px 12px 0;
}

.coltwo {
-moz-column-count:2; /* Firefox */
-webkit-column-count:2; /* Safari and Chrome */
column-count:2;
}

.colthree {
-moz-column-count:3; /* Firefox */
-webkit-column-count:3; /* Safari and Chrome */
column-count:3;
}

.colfour {
-moz-column-count:4; /* Firefox */
-webkit-column-count:4; /* Safari and Chrome */
column-count:4;
}

.sample {
border: solid 1px #9999ff;
margin: 0px;
padding: 10px;
}

.ns-200 div#Content {
background: #fafaff;
}

/* Add space to Atticus Finch category image */
.page-Category_Atticus_Finch_Theme .thumbinner {
    padding: 1em;
}
.page-Category_Atticus_Finch_Theme .thumbimage {
    border: none;
}

/* Hub box styling */
.mw-content-text .mainpage_hubbox {
    box-sizing: border-box;
    border: solid 1px #bbb;
    float: left;
    width: 32%;
    width: calc(98%  /3);
    margin: 0.5%;
}

.mainpage_hubbox:first-child {
    margin-left: 0;
}

.mainpage_hubbox:last-child {
    margin-right: 0;
}


.mainpage_boxtitle {
    font-size: 105%;
    padding: 0.4em;
    background-color: #eeeeee;
    font-weight: bold;
    min-height: 2em;
    vertical-align: middle;
    text-align: center;
}

.mw-parser-output .mainpage_boxcontents {
    background: #ffffff;
    padding: 0.2em 0.4em;
}