60 lines
943 B
SCSS
60 lines
943 B
SCSS
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.wrapper {
|
|
display: grid;
|
|
grid-template-columns: 30rem auto;
|
|
grid-template-rows: auto;
|
|
gap: 0;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.article {
|
|
padding: 5rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
.side {
|
|
background-image: url(/images/sensor-watch/f91w-strap.svg);
|
|
background-repeat: repeat-y;
|
|
}
|
|
|
|
.side>svg {
|
|
width: 30rem;
|
|
position: fixed;
|
|
}
|
|
|
|
@media only screen and (max-width: 1500px) {
|
|
.wrapper {
|
|
grid-template-columns: 10rem auto;
|
|
grid-template-rows: auto;
|
|
}
|
|
|
|
.side>svg {
|
|
width: 10rem;
|
|
}
|
|
|
|
.article {
|
|
padding-left: 3rem;
|
|
padding-right: 1rem;
|
|
padding-top: 1rem;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 800px) {
|
|
.side {
|
|
display: none;
|
|
}
|
|
|
|
.wrapper {
|
|
grid-template-columns: auto;
|
|
grid-template-rows: auto;
|
|
}
|
|
|
|
.article {
|
|
padding: 1rem;
|
|
}
|
|
} |