Difference between revisions of "MediaWiki:Common.css"

From CreaWiki
Jump to navigation Jump to search
(Created page with "→‎CSS placed here will be applied to all skins: .infobox { background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em;...")
 
Line 56: Line 56:
 
     margin: 0 0 1em 1em;
 
     margin: 0 0 1em 1em;
 
     padding: 1em;
 
     padding: 1em;
     width = 100%
+
     width = 100%;
 
}
 
}
 
.TopBanner th, td {
 
.TopBanner th, td {
 
     padding: 5px;
 
     padding: 5px;
 
     text-align: center;  
 
     text-align: center;  
     width = 100%
+
     width = 100%;
 
}
 
}
 
.MainBody {
 
.MainBody {

Revision as of 15:17, 6 May 2021

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

.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 300px;
}
.infobox-title{
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 50px;
    padding: 1em;
}
.infobox td {
    text-align: left;    
    padding: 1em;
}


.Creabookbox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 300px;
}
.Creabookbox-image {
    text-align: center;
}
.Creabookbox th {
    text-align: right;
    vertical-align: top;
    width: 50px;
    padding: 0;
}
.Creabookbox td {
    width: 249px;
    text-align: left; 
    padding: 0;
}
.TopBanner {
    background: #eee;
    border: 1px solid #aaa;
    float: none;
    margin: 0 0 1em 1em;
    padding: 1em;
    width = 100%;
}
.TopBanner th, td {
    padding: 5px;
    text-align: center; 
    width = 100%;
}
.MainBody {
    background: #eee;
    border: 1px solid #aaa;
    float: none;
    margin: 0 0 1em 1em;
    padding: 1em;
    width = 100%;
    text-align: center; 
}
#siteSub {
    display: block; font-weight: normal; font-size: 10px;
}
body.page-Main_Page.action-view #siteSub,
body.page-Main_Page.action-submit #siteSub {
    display: none;
}