mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-18 03:41:50 +00:00
0f381493f1
* Add a 720px max width to the cookie banner so it does not span the whole page * Remove border
55 lines
1 KiB
Plaintext
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 );
|
|
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
|
|
}
|
|
}
|
|
}
|