Difference between revisions of "MediaWiki:Common.css"

From Block library
Jump to: navigation, search
(Created page with "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; }")
 
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* 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; }
 
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
 +
 +
.blockbox {
 +
    background: #eee;
 +
    border: 1px solid #aaa;
 +
    float: right;
 +
    margin: 0 0 1em 1em;
 +
    padding: 1em;
 +
  <! width: 450px;>
 +
}
 +
.blockbox-title {
 +
    font-size: 2em;
 +
    text-align: center;
 +
}
 +
.blockbox-image {
 +
    text-align: center;
 +
}
 +
.blockbox th {
 +
    text-align: right;
 +
    vertical-align: top;
 +
  <! width: 250px;>
 +
}
 +
.blockbox td {
 +
    vertical-align: top;
 +
}
 +
 +
.boxed {
 +
background: #eee;
 +
    border: 1px solid #aaa;
 +
    margin: 1em 1em 1em 1em;
 +
}

Latest revision as of 14:37, 30 August 2018

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

.blockbox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
   <! width: 450px;>
}
.blockbox-title {
    font-size: 2em;
    text-align: center;
}
.blockbox-image {
    text-align: center;
}
.blockbox th {
    text-align: right;
    vertical-align: top;
   <! width: 250px;>
}
.blockbox td {
    vertical-align: top;
}

.boxed {
background: #eee;
    border: 1px solid #aaa;
    margin: 1em 1em 1em 1em;
}