Difference between revisions of "MediaWiki:Common.css"

From OtanWiki
Line 57: Line 57:
 
     padding: 1em;
 
     padding: 1em;
 
     width: 200px;  
 
     width: 200px;  
     display: block;
+
     float:left;
 
}
 
}
  

Revision as of 18:01, 4 March 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: 320px; 
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center; 
}
.infobox th {
    text-align: left;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}

.copyright {
    background: #eee;
    text-align: center; 
    border: 1px solid #aaa;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 600px;
}

.omonth {
    background: #eee;
    border: 1px solid #aaa;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 200px; 
    float:left;
}

.odayofweek {
    background: #eee;
    border: 1px solid #aaa;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 150px; 
    float:left;
}

.oweek {
    background: #eee;
    border: 1px solid #aaa;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 200px; 
    float:left;
}

.oday{
    #background: #eee;
    border: 1px solid #aaa;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 150px; 
    float:left;
}