MediaWiki:Minerva.less/mainpage.less: Difference between revisions
no edit summary
(Created page with "→=================== MAIN PAGE ===================: // preview the mobile main page at <https://brightershoreswiki.org/?useformat=mobile> →=================== mixins ===================: .uppercase-heading(@text-color: var(--byline-color)) { color: @text-color; font-weight: bold; text-transform: uppercase; letter-spacing: .025em; } @keyframes slide-up { from { opacity: 0; transform: translateY(1rem)...") |
No edit summary |
||
Line 216:
/* --------------------
-------------------- */
.mainpage-
border: none;
padding: 1em 2em;▼
align-items: center;
height: 70px; // not in em because the server icon is a fixed size▼
justify-content: center;
.
margin: 0 1em 0 -1em;
width: 60px;
text-align: center;
}
.
color: @white;
font-weight: bold;
font-size: 1.25em;
margin: 0;
}
.
color: @mp-text-light;
margin: 0;
}
Line 239 ⟶ 251:
}
.tile-bottom {
border: none;
color: @white;
font-size: .9em;
text-align: center;
margin: 0;
}
}
.mainpage-twitter {▼
▲ margin-bottom: 0;
// Discord colors
&.mainpage-discord {
background: @discord-bg;
▲ padding: 1em 2em;
}
.
}
}
▲ .twitter-name {
▲ margin: 0;
// X (Twitter) colors
▲ &.mainpage-twitter {
.tile-top {
background: @twitter-bg;
}
.
}
|