Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
| (16 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | /* CSS placed here will be applied to all skins */ | + | /* 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'); | @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'); | ||
| Line 8: | Line 8: | ||
margin: 0; | margin: 0; | ||
padding: 1em; | padding: 1em; | ||
| − | width: | + | width: 320px; |
} | } | ||
.infobox-title { | .infobox-title { | ||
font-size: 2em; | font-size: 2em; | ||
| − | text-align: | + | text-align: left; |
} | } | ||
.infobox-image { | .infobox-image { | ||
text-align: center; | text-align: center; | ||
} | } | ||
| + | |||
.infobox th { | .infobox th { | ||
| − | text-align: | + | text-align: left !important; |
vertical-align: top; | vertical-align: top; | ||
| − | width: | + | width: 100px; |
text-transform: uppercase; | text-transform: uppercase; | ||
font-weight: bold; | font-weight: bold; | ||
| Line 39: | Line 40: | ||
.mw-parser-output p a img { | .mw-parser-output p a img { | ||
| − | padding: 2.5px; | + | padding: 2.5px 1.5px; |
| + | } | ||
| + | |||
| + | .language-icons { | ||
| + | text-align: right; | ||
| + | padding-bottom: 1em !important; | ||
| + | } | ||
| + | |||
| + | .language-icons li { | ||
| + | display: inline; | ||
} | } | ||
Latest revision as of 14:47, 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: left;
}
.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;
}
.language-icons {
text-align: right;
padding-bottom: 1em !important;
}
.language-icons li {
display: inline;
}