Difference between revisions of "MediaWiki:Common.css"

From Block library
Jump to: navigation, search
Line 2: Line 2:
 
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; }
  
.infobox {
+
.blockbox {
 
     background: #eee;
 
     background: #eee;
 
     border: 1px solid #aaa;
 
     border: 1px solid #aaa;
Line 10: Line 10:
 
     width: 400px;
 
     width: 400px;
 
}
 
}
.infobox-title {
+
.blockbox-title {
 
     font-size: 2em;
 
     font-size: 2em;
 
     text-align: center;
 
     text-align: center;
 
}
 
}
.infobox-image {
+
.blockbox-image {
 
     text-align: center;
 
     text-align: center;
 
}
 
}
.infobox th {
+
.blockbox th {
 
     text-align: right;
 
     text-align: right;
 
     vertical-align: top;
 
     vertical-align: top;
 
     width: 120px;
 
     width: 120px;
 
}
 
}
.infobox td {
+
.blockbox td {
 
     vertical-align: top;
 
     vertical-align: top;
 
}
 
}

Revision as of 16:31, 29 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: 400px;
}
.blockbox-title {
    font-size: 2em;
    text-align: center;
}
.blockbox-image {
    text-align: center;
}
.blockbox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.blockbox td {
    vertical-align: top;
}