mediawiki-skins-Citizen/skinStyles/extensions/CookieWarning/ext.CookieWarning.styles.less
alistair3149 47e1259bc3
feat: implement a more adaptive smooth shadow
* Looks more natural
* Can be customized through the surface-shadow and shadow-strength CSS var
* Light mode and dark mode have been different shadow now, it should be more visible in dark mode
* Box-shadow is a CSS var, which can be used in templates and wiki CSS
2022-04-24 15:24:09 -04:00

50 lines
977 B
Plaintext

/*
* Citizen - Cookie Warning Styles
* https://starcitizen.tools
*/
@import '../../../resources/variables.less';
.mw-cookiewarning-container {
right: 0;
width: auto;
align-items: center;
justify-content: space-between;
padding: 0 var( --padding-page );
border: 1px solid var( --border-color-base );
margin: 10px;
background-color: #343a40; // dark base 70
border-radius: var( --border-radius--large );
box-shadow: var( --box-shadow-dialog );
font-size: @content-monospace-size;
line-height: 1.4;
.mw-cookiewarning-text {
padding: 20px 0;
margin-bottom: 0; // Override media styles
font-size: inherit;
font-weight: 500;
}
form {
display: flex;
padding: 15px 0;
}
}
@media only screen and ( max-width: @width-breakpoint-tablet ) {
.mw-cookiewarning-container {
flex-wrap: wrap;
.mw-cookiewarning-text {
flex-wrap: wrap;
padding-bottom: 0;
}
form {
width: 100%;
margin-left: -8px; // cancel out the button margin
}
}
}