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

51 lines
985 B
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 {
right: 0;
2021-03-22 19:04:28 +00:00
width: auto;
align-items: center;
2021-01-19 17:14:01 +00:00
justify-content: space-between;
padding: 0 var( --padding-page );
2021-03-22 19:04:28 +00:00
border: 1px solid var( --border-color-base );
margin: 10px;
2021-01-28 18:17:20 +00:00
background-color: #343a40; // dark base 70
2021-03-22 19:04:28 +00:00
border-radius: @border-radius-large;
font-size: @content-monospace-size;
2021-01-28 18:17:20 +00:00
line-height: 1.4;
2019-12-29 18:45:17 +00:00
.boxshadow(5);
.mw-cookiewarning-text {
padding: 20px 0;
2021-03-22 19:04:28 +00:00
margin-bottom: 0; // Override media styles
font-size: inherit;
font-weight: 500;
2021-01-28 18:17:20 +00:00
}
2019-12-29 18:45:17 +00:00
form {
display: flex;
padding: 15px 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;
2021-03-07 17:13:15 +00:00
padding-bottom: 0;
2020-03-15 04:26:03 +00:00
}
form {
width: 100%;
margin-left: -8px; // cancel out the button margin
2019-12-29 18:45:17 +00:00
}
}
}