60 lines
949 B
CSS
60 lines
949 B
CSS
:root {
|
|
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
* {
|
|
font-family: 'Fira Code', 'PT sans', sans-serif;
|
|
box-sizing: border-box;
|
|
color: #333;
|
|
}
|
|
|
|
html, body {
|
|
height: 100vh;
|
|
width: 100vw;
|
|
}
|
|
|
|
html, body, main, section, section div, footer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
body {
|
|
background-color: #e2e2e2;
|
|
background-image:
|
|
linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
|
|
linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
|
|
background-size: 20px 20px;
|
|
color: #111;
|
|
}
|
|
|
|
main {
|
|
justify-content: start;
|
|
|
|
width: 95%;
|
|
height: 95%;
|
|
|
|
overflow: auto;
|
|
scroll-snap-type: y mandatory;
|
|
margin : 5px;
|
|
}
|
|
|
|
section {
|
|
height: 100%;
|
|
min-height: 100%;
|
|
width: 100%;
|
|
scroll-snap-align: start;
|
|
}
|
|
|
|
ul li{
|
|
list-style-type: none;
|
|
}
|
|
|
|
ul li a {
|
|
text-decoration: none;
|
|
} |