81 lines
1.1 KiB
CSS
81 lines
1.1 KiB
CSS
html, body {
|
|
height: 100%;
|
|
}
|
|
body {
|
|
font-family: sans-serif;
|
|
margin: 0;
|
|
display: grid;
|
|
grid-template-columns: max(300px, 20%) auto;
|
|
background: #ccc;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: "Open Sans", sans-serif;
|
|
}
|
|
h1 a,
|
|
h2 a,
|
|
h3 a,
|
|
h4 a,
|
|
h5 a,
|
|
h6 a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
h1, h2 {
|
|
font-weight: 400;
|
|
}
|
|
h1 {
|
|
font-size: 2em;
|
|
}
|
|
h2 {
|
|
font-size: 1.6em;
|
|
}
|
|
|
|
main article {
|
|
max-width: 1800px;
|
|
box-shadow: 0 0 20px #777;
|
|
padding: 0 50px;
|
|
margin: 0 auto;
|
|
background: white;
|
|
min-height: 100%;
|
|
overflow: auto;
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
main article h1,
|
|
main article h2 {
|
|
border-left: 5px solid mediumpurple;
|
|
padding-left: 5px;
|
|
margin-left: -10px;
|
|
}
|
|
|
|
header {
|
|
/* sidebar */
|
|
/*background: #6c4e7b;*/
|
|
background: #333;
|
|
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;
|
|
}
|
|
|
|
#logo {
|
|
object-fit: contain;
|
|
display: block;
|
|
width: min(100%, 150px);
|
|
margin: 30px auto 80px auto;
|
|
}
|