MediaWiki:Common.css: Difference between revisions

From AnotherEidos Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
 
(43 intermediate revisions by 2 users not shown)
Line 1: Line 1:
.Infobox Character{
.infobox{  
background: #eee;  
background: #eee;
  border: 1px solid #aaa;
  border: 1px solid #aaa;  
float: left;
float: right;
  margin: 0 0 1em 1em;
  margin: 0 0 1em 1em;
  padding: 1em; width: 400px;  
  padding: 1em;
}
width: 290px;
.infobox-title {
}  
font-size: 2em;
.infobox-title {  
  text-align: center;  
font-size: 2em;
}
  text-align: center;
.infobox-image {
}  
text-align: center;  
.infobox-image {  
text-align: center;  
}  
}  
.infobox th {
.infobox th {
Line 18: Line 19:
  width: 120px;  
  width: 120px;  
}  
}  
.infobox td {  
.infobox td {
text-align: center;
  vertical-align: top;
  vertical-align: top;
width: 160px; 
}
@media only screen and (max-width: 1250px) {
    .infobox {
    position: unset;
        right: unset;
        margin-bottom: 10px;
        float: unset;
    }
}
}

Latest revision as of 07:13, 12 May 2022

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

@media only screen and (max-width: 1250px) {
    .infobox {
    position: unset;
        right: unset;
        margin-bottom: 10px;
        float: unset;
    }
}