lynnespace/assets/style.css

54 lines
753 B
CSS
Raw Normal View History

2021-01-08 07:17:56 +00:00
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;
}