improve css responsiveness
This commit is contained in:
parent
134e1a98c4
commit
609c06a819
1 changed files with 5 additions and 7 deletions
|
@ -31,6 +31,10 @@ br {
|
|||
margin-top: 2px;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.card {
|
||||
margin: 6px;
|
||||
padding: 8px;
|
||||
|
@ -48,7 +52,7 @@ br {
|
|||
.card.layout-card {
|
||||
margin: 36px auto;
|
||||
padding: 26px;
|
||||
width: var(--cards-length);
|
||||
width: clamp(200px, 100%, var(--cards-length));
|
||||
box-shadow: 0 0 28px 3px rgba(0, 0, 0, 0.40);
|
||||
}
|
||||
|
||||
|
@ -115,9 +119,3 @@ br {
|
|||
padding: 3px;
|
||||
margin: 8px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.card.layout-card {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue