Difference between revisions of "MediaWiki:Common.css"

From Open Montessori
Jump to navigation Jump to search
Line 18: Line 18:
 
}
 
}
  
.infobox-video {
 
max-width: 200px;
 
height: auto;
 
text-align: center;
 
}
 
 
.infobox th {
 
.infobox th {
 
     text-align: left !important;
 
     text-align: left !important;

Revision as of 12:06, 21 April 2020

/* CSS placed here will be applied to all skins from openmontessori.org */ 
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0;
    padding: 1em;
    width: 320px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}

.infobox th {
    text-align: left !important;
    vertical-align: top;
    width: 100px;
    text-transform: uppercase;
    font-weight: bold;
}
.infobox td {
    vertical-align: top;
}
body, .mw-body h1, .mw-body-content h1, .mw-body-content h2 {
font-family: 'Montserrat', sans-serif;
}
.mw-redirectedfrom {
display: none;
}

.info-box.a.image img {
min-width: 90vw;
}

.mw-parser-output p a img {
padding: 2.5px 1.5px;
}