MediaWiki:Common.less/mainpage.less: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 241:
/* --------------------
discord server & twitter/X
-------------------- */
.mainpage-
border: none;
box-shadow: @box-shadow-dark;
Line 250:
display: flex;
align-items: center;
a {
flex: 1;
position: relative;
text-decoration: none;
Line 267 ⟶ 266:
.tile-bottom {
background: @discord-bg-dark;▼
border: none;
padding: 1em 1.
p {
Line 283 ⟶ 281:
}
.
margin-right: .75em;
text-align: center;
Line 289 ⟶ 287:
}
.
color: @white;
font-weight: bold;
font-size: 1.
margin: .5em 0 -0.15em;
}
Line 310 ⟶ 308:
transition: .3s ease-out;
}
// Discord colors
&.mainpage-discord {
.tile-top {
background: @discord-bg;
}
.tile-bottom {
▲ background: @discord-bg-dark;
}
}
// X (Twitter) colors
&.mainpage-twitter {
.tile-top {
background: rgb(21, 32, 43);
}
.tile-bottom {
background: darken(rgb(21, 32, 43), 1.5%);
}
}
}
|