Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } | body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } | ||
#n-Discord a { | |||
color: white !important; | |||
font-size: 12px; | |||
font-weight: bold; | |||
border-radius: 5px; | |||
border: 1px solid #4c57d0; | |||
background-color: #5865f2; | |||
display: block; | |||
position: relative; | |||
padding: 4px 0 5px calc(17px + 6.5px * 2); | |||
box-shadow: 0 2px 3px rgba(0,0,0,0.1); | |||
transition: 0.2s ease; | |||
} | |||
#n-Discord a::before { | |||
content: 'Chat on '; | |||
font-weight: normal; | |||
opacity: 0.85; | |||
} | |||
#n-Discord a::after { | |||
content: ''; | |||
background: url(/images/Discord_icon.png?61a16) no-repeat; | |||
background-size: 17px 13px; | |||
filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1)); | |||
position: absolute; | |||
top: 5px; | |||
left: 7px; | |||
width: 17px; | |||
height: 13px; | |||
} |
Revision as of 03:02, 14 February 2022
/* CSS placed here will be applied to all skins */ body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } #n-Discord a { color: white !important; font-size: 12px; font-weight: bold; border-radius: 5px; border: 1px solid #4c57d0; background-color: #5865f2; display: block; position: relative; padding: 4px 0 5px calc(17px + 6.5px * 2); box-shadow: 0 2px 3px rgba(0,0,0,0.1); transition: 0.2s ease; } #n-Discord a::before { content: 'Chat on '; font-weight: normal; opacity: 0.85; } #n-Discord a::after { content: ''; background: url(/images/Discord_icon.png?61a16) no-repeat; background-size: 17px 13px; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1)); position: absolute; top: 5px; left: 7px; width: 17px; height: 13px; }