lynnespace/assets/style.css

81 lines
1.1 KiB
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;
}
2021-01-10 02:59:16 +00:00
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;
}
2021-01-08 07:17:56 +00:00
main article {
max-width: 1800px;
box-shadow: 0 0 20px #777;
padding: 0 50px;
margin: 0 auto;
background: white;
min-height: 100%;
overflow: auto;
2021-01-08 09:03:12 +00:00
font-size: 1.1em;
2021-01-08 07:17:56 +00:00
}
main article h1,
main article h2 {
2021-01-10 02:59:16 +00:00
border-left: 5px solid mediumpurple;
padding-left: 5px;
margin-left: -10px;
2021-01-08 07:17:56 +00:00
}
header {
/* sidebar */
2021-01-08 09:03:12 +00:00
/*background: #6c4e7b;*/
background: #333;
2021-01-08 07:17:56 +00:00
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;
}
2021-01-08 09:03:12 +00:00
#logo {
2021-01-08 07:17:56 +00:00
object-fit: contain;
display: block;
width: min(100%, 150px);
2021-01-08 09:03:12 +00:00
margin: 30px auto 80px auto;
2021-01-10 02:59:16 +00:00
}