MediaWiki:Common.less/mainpage.less: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 241:
 
/* --------------------
discord server & twitter/X
-------------------- */
.mainpage-discordsocial {
border: none;
box-shadow: @box-shadow-dark;
Line 250:
display: flex;
align-items: center;
backgroundpadding: @discord-bg1em 1.5em;
padding: 1em 1.25em;
 
a {
flex: 1;
position: relative; // allow link to cover icon
text-decoration: none;
 
Line 267 ⟶ 266:
 
.tile-bottom {
background: @discord-bg-dark;
border: none;
padding: 1em 1.25em75em;
 
p {
Line 283 ⟶ 281:
}
 
.partnersocial-icon {
margin-right: .75em;
text-align: center;
Line 289 ⟶ 287:
}
 
.serversocial-nameheader {
color: @white;
font-weight: bold;
font-size: 1.25em15em;
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%);
}
}
}