MyNoVi/css/main.css

47 lines
592 B
CSS
Raw Normal View History

2020-10-08 17:00:12 +02:00
@media (min-width: 540px) {
body {
display: grid;
grid-template-columns: 20% 1fr 20%;
gap: 0em 1em;
grid-template-areas:
"menu main toc"
"footer footer footer";
}
}
2020-10-13 17:20:49 +02:00
html {
scroll-behavior: smooth;
}
2020-10-08 17:00:12 +02:00
body {
max-width: 1000px;
}
2020-10-13 17:20:49 +02:00
.backTop {
content: "test";
}
2020-10-08 17:00:12 +02:00
.menu {
grid-area: menu;
font-size: .9rem;
}
.main {
grid-area: main;
}
.toc {
grid-area: toc;
font-size: .9rem;
2020-10-13 17:20:49 +02:00
overflow: scroll;
2020-10-08 17:00:12 +02:00
}
.toc ul {
padding: 0 0 0 1em;
}
.footer {
grid-area: footer;
margin: .9rem 0;
}