MediaWiki:Common.css

From Open Montessori
Revision as of 09:03, 17 April 2020 by Jerry (talk | contribs)
Jump to navigation Jump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* 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;
    vertical-align: top;
    width: 120px;
    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;
}