feat: more mobile friendly pages

dev
Antonio De Lucreziis 1 month ago
parent 2cbef56377
commit 68afc97c07

@ -360,7 +360,7 @@
padding: 2rem 1rem; padding: 2rem 1rem;
@media screen and (max-width: $screen-desktop-min) { @media screen and (max-width: $screen-desktop-min) {
padding: 1rem 2rem 1rem 0; padding: 1rem 1rem 1rem 0;
} }
display: grid; display: grid;
@ -605,6 +605,10 @@
& > .card { & > .card {
max-width: 25rem; max-width: 25rem;
} }
@media screen and (max-width: $screen-desktop-min) {
grid-template-columns: 1fr;
}
} }
.show-more { .show-more {

@ -55,14 +55,14 @@
} }
&.flat { &.flat {
background: #0002; background: transparent;
color: #222; color: #222;
border: none; border: none;
box-shadow: none; box-shadow: none;
&:hover { &:hover {
background: #0004; background: #0002;
} }
} }
} }

@ -164,13 +164,27 @@ body {
display: none; display: none;
} }
} }
@media screen and (max-width: $screen-desktop-min) {
height: 5rem;
padding: 0 0.5rem;
.logo {
padding-left: 0;
img {
height: 3rem;
}
}
}
} }
main { main {
width: 100%; width: 100%;
@media screen and (max-width: $screen-desktop-min) { @media screen and (max-width: $screen-desktop-min) {
padding: 0.5rem; padding: 3rem 1rem;
gap: 3rem;
} }
} }
@ -190,6 +204,11 @@ body {
font-family: 'Source Sans Pro', sans-serif; font-family: 'Source Sans Pro', sans-serif;
font-size: 20px; font-size: 20px;
@media screen and (max-width: $screen-desktop-min) {
min-height: 5rem;
font-size: 18px;
}
} }
} }

@ -34,6 +34,9 @@
@include geometric-headings; @include geometric-headings;
.text { .text {
// text-align: justify;
// hyphens: auto;
&.center { &.center {
text-align: center; text-align: center;
} }
@ -80,6 +83,11 @@
code { code {
padding: 0; padding: 0;
} }
@media screen and (max-width: $screen-desktop-min) {
width: calc(100vw - 2rem);
max-width: none;
}
} }
p { p {

Loading…
Cancel
Save