MediaWiki:Common.css
From Dreams Knowledge Platform
Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
.navbar-brand img {
padding-top: 10px;
height: 60px;
}
.firstHeading {
color: rgb(92,76,228) !important;
}
.grid-container {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
padding: 20px;
}
.square {
padding: 30px;
border-radius: 12px;
text-align: center;
font-family: Arial, sans-serif;
font-weight: bold;
color: white;
display: flex;
align-items: center;
justify-content: center;
min-height: 150px;
}
.blue { background-color: #2D8CFF; }
.red { background-color: #FF4757; }
.green { background-color: #2ED573; }
.yellow { background-color: #FFD32A; }
.orange { background-color: #fee4cb; }
.hue1 { background-color: #5c4ce4; }
.hue2 { background-color: #8068ff; }
.hue3 { background-color: #a386ff; }
.hue4 { background-color: #c6a4ff; }
.hue5 { background-color: #e9c4ff; }
/* DREAMers team layout */
.dreamer-section { margin: 18px 0 26px; }
.dreamer-section__title { font-size: 1.25em; font-weight: 700; }
.dreamer-section__subtitle { color: #54595d; margin-top: 2px; }
.dreamer-section__subtitle:empty { display: none; }
.dreamer-section__head { margin: 6px 0 12px; }
.dreamers-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 14px;
align-items: stretch;
}
.dreamer-card {
display: grid;
grid-template-columns: 74px 1fr;
gap: 12px;
padding: 12px;
border: 1px solid #eaecf0;
border-radius: 12px;
background: #fff;
}
.dreamer-card__img { border-radius: 999px; }
.dreamer-card__name { line-height: 1.2; }
.dreamer-card__role { color: #54595d; margin-top: 2px; }
.dreamer-card__meta { color: #72777d; margin-top: 6px; font-size: 0.95em; }
.dreamer-card__meta:empty { display: none; }