mediawiki-skins-Citizen/skinStyles/extensions/CookieWarning/ext.CookieWarning.styles.less
github-actions 0d63257e86 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-09-28 21:02:56 +00:00

55 lines
1 KiB
Plaintext

/*
* Citizen
*
* SkinStyles for Extension:CookieWarning
* Module: ext.CookieWarning.styles
* Version: REL1_35 3c2ae6a
*
* Date: 2022-04-29
*/
@import '../../../resources/variables.less';
.mw-cookiewarning-container {
right: 0;
width: auto;
max-width: @width-breakpoint-tablet;
align-items: center;
justify-content: space-between;
padding: 0 var( --padding-page );
border-radius: var( --border-radius--large );
margin: 10px;
background-color: #343a40; // dark base 70
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
}
}
}