mediawiki-skins-Citizen/skinStyles/extensions/CookieWarning/ext.CookieWarning.styles.less
2021-02-20 15:13:41 -05:00

52 lines
1 KiB
Plaintext

/*
* Citizen - Cookie Warning Styles
* https://starcitizen.tools
*/
@import '../../../resources/variables.less';
@import '../../../resources/mixins.less';
.mw-cookiewarning-container {
overflow: hidden;
max-width: var( --width-breakpoint-desktop-wide );
justify-content: space-between;
padding: 0 var( --padding-page );
margin: 0 auto;
background-color: #343a40; // dark base 70
border-radius: @border-radius-large @border-radius-large 0 0;
font-size: @content-monospace-size;
font-weight: normal;
line-height: 1.4;
opacity: 1;
.boxshadow(5);
.mw-cookiewarning-text {
padding: 20px 0;
}
form {
display: flex;
align-items: center;
padding: 10px 0;
}
}
@media only screen and ( max-width: @width-breakpoint-tablet ) {
.mw-cookiewarning-container {
flex-wrap: wrap;
.mw-cookiewarning-text {
flex-wrap: wrap;
padding-bottom: 10px;
/* Hack to hide nbsp */
font-size: 0;
}
form {
width: 100%;
justify-content: center;
margin-left: -8px; // cancel out the button margin
}
}
}