Difference between revisions of "MediaWiki:Common.css"

Tags: Mobile web edit Mobile edit
 
(One intermediate revision by the same user not shown)
Line 17: Line 17:
 
.infobox-image img {
 
.infobox-image img {
 
     max-width: 90%;
 
     max-width: 90%;
 +
    border : 1px darkgrey dashed;
 
     height: auto;
 
     height: auto;
 
}
 
}
Line 34: Line 35:
 
}
 
}
  
#wrapper {
+
.wrapper {
 
   display: flex;
 
   display: flex;
 
}
 
}
  
#left {
+
.left {
 
   flex: 0 0 50%;
 
   flex: 0 0 50%;
 
}
 
}
  
#right {
+
.right {
 
   flex: 1;
 
   flex: 1;
 
}
 
}

Latest revision as of 13:06, 11 October 2020

/* 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;
    max-width: 25%;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox-image img {
    max-width: 90%;
    border : 1px darkgrey dashed;
    height: auto;
}
.infobox table {
    width: 100%;
}
.infobox tr {
    width: 100%;
}
.infobox th {
    text-align: left;
    vertical-align: top;
}
.infobox td {
    text-align: right;
    vertical-align: top;
}

.wrapper {
  display: flex;
}

.left {
  flex: 0 0 50%;
}

.right {
  flex: 1;
}