54 lines
No EOL
753 B
CSS
54 lines
No EOL
753 B
CSS
html, body {
|
|
height: 100%;
|
|
}
|
|
body {
|
|
font-family: sans-serif;
|
|
margin: 0;
|
|
display: grid;
|
|
grid-template-columns: max(300px, 20%) auto;
|
|
background: #ccc;
|
|
}
|
|
|
|
main article {
|
|
max-width: 1800px;
|
|
box-shadow: 0 0 20px #777;
|
|
padding: 0 50px;
|
|
margin: 0 auto;
|
|
background: white;
|
|
min-height: 100%;
|
|
overflow: auto;
|
|
}
|
|
|
|
main article h1,
|
|
main article h2 {
|
|
margin-left: -20px;
|
|
}
|
|
|
|
header {
|
|
/* sidebar */
|
|
background: #6c4e7b;
|
|
z-index: 1;
|
|
}
|
|
|
|
nav a {
|
|
color: white;
|
|
}
|
|
nav a {
|
|
padding: 10px 0;
|
|
display: block;
|
|
width: 100%;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
font-size: 1.5em;
|
|
transition: 0.2s all;
|
|
}
|
|
nav a:hover {
|
|
background: #ffffff44;
|
|
}
|
|
|
|
#bune {
|
|
object-fit: contain;
|
|
display: block;
|
|
width: min(100%, 150px);
|
|
margin: 30px auto 50px auto;
|
|
} |