www.nclazz.de/site/styles/main.css

191 lines
3.0 KiB
CSS

:root {
font-size: 15px;
font-family: 'Poppins', sans-serif;
color: var(--color-fg);
}
* {
margin: 0;
padding: 0;
}
html {
height: 100vh;
width: 100vw;
background: rgb(32,36,44);
background: -moz-linear-gradient(0deg, rgba(32,36,44,1) 43%, rgba(0,0,0,1) 100%);
background: -webkit-linear-gradient(0deg, rgba(32,36,44,1) 43%, rgba(0,0,0,1) 100%);
background: linear-gradient(0deg, rgba(32,36,44,1) 43%, rgba(0,0,0,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#20242c",endColorstr="#000000",GradientType=1);
background-repeat: no-repeat;
background-color: var(--color-bg);
scroll-behavior: smooth;
}
a {
color: var(--color-primary-1);
}
body {
flex: 1;
/* background-color: var(--color-bg); */
/* padding: 4em 8em; */
flex-direction: column;
justify-content: stretch;
align-items: stretch;
overflow-x: hidden;
}
body > * {
padding: 2em 8em;
}
header {
grid-column-end: span 2;
padding: 4em 3em;
}
header img {
width: 24em;
}
nav {
font-family: 'Overpass Mono', monospace;
color: var(--color-nav-fg);
line-height: 1.5em;
cursor: pointer;
font-size: 1em;
padding: 1em 3em;
}
nav ul {
list-style: none;
}
nav li {
padding-left: 2em;
}
nav li a {
color: inherit;
text-decoration: none;
}
nav li b {
display: none;
color: var(--color-nav-fg-attr);
font-weight: normal;
font-style: normal;
}
nav li b i {
color: var(--color-nav-fg-value);
font-weight: normal;
font-style: normal;
}
nav li:hover {
color: var(--color-nav-fg-hover);
font-weight: bold;
font-size: 1.2em;
}
nav li:hover b {
display: inline;
}
nav li.entry::before {
content: '<';
}
nav li.entry::after {
content: '/>';
}
nav::before {
content: '<nclazz>'
}
nav::after {
content: '</nclazz>'
}
main {
display: flex;
align-content: stretch;
justify-content: stretch;
align-content: stretch;
flex-wrap: wrap;
padding: 1em 3em;
}
/* main > * {
flex: 1;
min-width: 40vw;
padding: 2em 2em 0 0;
} */
main h1 {
color: var(--color-primary-2);
padding: 0 0 1em;
}
section h1::before {
content: ':: ';
font-family: sans-serif;
font-size: 1.3em;
font-weight: 900;
}
article {
text-align: justify;
hyphens: auto;
}
footer {
position: fixed;
left: 0;
bottom: 0;
background-color: var(--color-bg);
padding: 0;
width: 100%;
font-size: 0.8em;
}
footer ul {
list-style-type: none;
display: flex;
align-items: flex-end;
justify-content: flex-end;
padding: 0.5em 8em;
}
footer li {
/* flex: 1; */
padding-left: 8em;
padding-right: 4em;
}
footer li a {
color: var(--color-nav-fg);
text-decoration: none;
text-align: right;
}
footer li a:hover {
color: var(--color-nav-fg-hover);
}
/*
.fhw-slide {
height: 100vh;
box-sizing: border-box;
} */
section {
padding-bottom: 8em;
}