mediawiki-skins-Citizen/skinStyles/extensions/CookieWarning/ext.CookieWarning.styles.less

52 lines
1 KiB
Plaintext
Raw Normal View History

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