alpes-maritimes-2018: set default box model to border-box (#39459)

This commit is contained in:
Thomas Jund 2020-02-11 11:51:28 +01:00
parent afff0b69ff
commit 349ec4bafe
1 changed files with 4 additions and 2 deletions

View File

@ -5,6 +5,7 @@ body {
}
@mixin trapesoid($border-color: $secondary-color, $width: 1em, $background-color: #fff) {
box-sizing: content-box;
position: relative;
padding: 0.25em 0.25em 0.25em 1.75em;
border-left: 1.25em solid $background-color;
@ -54,6 +55,7 @@ div#main-content-wrapper {
}
span {
a {
box-sizing: content-box;
@media screen and ($max-mobile-viewport) {
text-indent: -9999px;
}
@ -881,7 +883,6 @@ div.cell {
width: 25%;
margin: 3ex 1em;
vertical-align: middle;
box-sizing: border-box;
@media screen and ($max-mobile-viewport) {
padding: 0 1em;
margin: 3ex 0;
@ -961,6 +962,7 @@ div.cell {
margin: 3ex 1em;
}
a {
box-sizing: content-box;
background: #dbebf1;
color: $primary-color;
padding: 2ex 2em;
@ -1001,6 +1003,7 @@ div.cell {
a.see-more {
color: #000;
white-space: nowrap;
box-sizing: content-box;
&::before {
content: '+';
border: 1px solid $secondary-color;
@ -1009,7 +1012,6 @@ div.cell {
width: 21px;
height: 21px;
border-radius: 50%;
box-sizing: border-box;
padding: 0 5px;
}
}