MediaWiki:Minerva.less/mainpage.less: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(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: | Line 216: | ||
/* -------------------- |
/* -------------------- |
||
social |
|||
-------------------- */ |
-------------------- */ |
||
.mainpage- |
.mainpage-social { |
||
border: none; |
|||
⚫ | |||
.tile-top { |
|||
⚫ | |||
⚫ | |||
align-items: center; |
|||
⚫ | |||
justify-content: center; |
|||
⚫ | |||
⚫ | |||
. |
.social-icon { |
||
float: left; |
|||
margin: 0 1em 0 -1em; |
|||
width: 60px; |
|||
text-align: center; |
|||
} |
} |
||
. |
.social-header { |
||
color: @white; |
|||
font-weight: bold; |
|||
font-size: 1.25em; |
|||
margin: 0; |
margin: 0; |
||
} |
} |
||
. |
.social-tagline { |
||
color: @mp-text-light; |
|||
margin: 0; |
margin: 0; |
||
} |
} |
||
Line 239: | Line 251: | ||
} |
} |
||
.tile-bottom { |
|||
} |
|||
border: none; |
|||
⚫ | |||
⚫ | |||
/* -------------------- |
|||
.uppercase-heading(); |
|||
color: @white; |
|||
-------------------- */ |
|||
font-size: .9em; |
|||
text-align: center; |
|||
margin: 0; |
|||
} |
|||
} |
|||
⚫ | |||
⚫ | |||
// Discord colors |
|||
&.mainpage-discord { |
|||
.tile-top { |
|||
background: @discord-bg; |
|||
⚫ | |||
} |
|||
height: 70px; // not in em because the server icon is a fixed size |
|||
. |
.tile-bottom { |
||
background: @discord-bg-dark; |
|||
} |
} |
||
} |
|||
⚫ | |||
⚫ | |||
// X (Twitter) colors |
|||
⚫ | |||
.tile-top { |
|||
background: @twitter-bg; |
|||
} |
} |
||
. |
.tile-bottom { |
||
background: @twitter-bg-dark; |
|||
} |
} |
||