website/src/styles/layouts/_home.scss

54 lines
823 B
SCSS
Raw Normal View History

2023-04-07 01:11:08 +02:00
@use '../consts' as consts;
.l-home {
display: flex;
flex-direction: column;
align-items: center;
padding: 1.5em;
@media (min-width: consts.$bp-lg) {
flex-direction: row;
justify-content: center;
align-items: flex-start;
}
&__aside {
flex-shrink: 0;
display: flex;
flex-direction: column;
gap: 1em;
2023-06-25 00:15:56 +02:00
max-width: min(40em, 100%);
2023-04-07 01:11:08 +02:00
margin-top: 3em;
@media (min-width: consts.$bp-lg) {
width: 24em;
margin-top: 0;
margin-left: 3em;
}
}
&__article {
max-width: 40em;
}
}
2023-06-19 00:32:59 +02:00
.intro-jp {
2023-06-25 00:15:56 +02:00
max-height: 18em;
2023-06-19 11:52:51 +02:00
min-width: fit-content;
2023-06-25 00:15:56 +02:00
max-width: 100%;
overflow-x: auto;
writing-mode: vertical-rl;
2023-06-19 00:32:59 +02:00
&__heading {
2023-06-22 21:54:46 +02:00
font-family: var(--serif);
2023-06-19 00:32:59 +02:00
font-size: 2.5rem;
}
2023-06-19 11:52:51 +02:00
&__text {
text-indent: 1em;
2023-06-25 00:15:56 +02:00
line-height: 1.4;
2023-06-19 11:52:51 +02:00
}
2023-06-19 00:32:59 +02:00
}