1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-30 09:09:50 +02:00

Tweak sidebar

This commit is contained in:
Phuoc Nguyen
2021-04-19 21:59:10 +07:00
parent 899656809b
commit 692e3a2adb
5 changed files with 21 additions and 11 deletions

View File

@@ -59,9 +59,8 @@ a {
justify-content: center;
}
.hero__logo img {
height: 12rem;
object-fit: cover;
width: 20rem;
width: 16rem;
}
.hero__heading {
color: var(--color-gray-9);
@@ -154,13 +153,13 @@ pre {
}
@media (min-width: 768px) {
.sidebar {
flex-basis: 10rem;
flex-basis: 12rem;
margin-left: 1rem;
}
}
@media (min-width: 1024px) {
.sidebar {
flex-basis: 12rem;
flex-basis: 16rem;
margin-left: 2rem;
}
}