Init: neue Webseite
This commit is contained in:
commit
3470b542d5
188 changed files with 7271 additions and 0 deletions
185
assets/css/main.css
Normal file
185
assets/css/main.css
Normal file
|
|
@ -0,0 +1,185 @@
|
|||
@font-face {
|
||||
font-family: "EB Garamond";
|
||||
src:
|
||||
/* local("EB Garamond"), */
|
||||
url("/fonts/EBGaramond-VariableFont_wght.ttf");
|
||||
/* font-weight: normal; */
|
||||
/* font-style: normal; */
|
||||
/* font-display: swap; */
|
||||
}
|
||||
|
||||
:root {
|
||||
font-size: calc(1rem + 0.25vw);
|
||||
--red: #FC361D;
|
||||
--blue1: #116080;
|
||||
--blue2: #105099;
|
||||
--light-gray: #F0F0F0;
|
||||
--white: white;
|
||||
--beige: #FCF9EC;
|
||||
--text1: #1a1a1a;
|
||||
--text2: #6f6f6f;
|
||||
--text3: #999999;
|
||||
}
|
||||
|
||||
body {
|
||||
color: var(--text);
|
||||
background: var(--background);
|
||||
font-family: "eb garamond", serif;
|
||||
font-variant-numeric: oldstyle-nums;
|
||||
/* font-variant-ligatures: common-ligatures; */
|
||||
line-height: 1.5;
|
||||
margin: auto;
|
||||
padding: 1rem;
|
||||
max-width: 70ch;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
header {
|
||||
border-bottom: 1px solid var(--text3);
|
||||
margin-bottom: 1rem;
|
||||
|
||||
nav {
|
||||
|
||||
ul {
|
||||
|
||||
font-size: 1.25rem;
|
||||
list-style: none;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 0;
|
||||
|
||||
.active {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
padding: 0;
|
||||
margin-top: 0;
|
||||
text-align: justify;
|
||||
text-justify: inter-word;
|
||||
}
|
||||
|
||||
article>p:nth-of-type(2)::first-letter {
|
||||
font-size: 3rem;
|
||||
float: left;
|
||||
line-height: 2.9rem;
|
||||
padding-right: 0.2rem;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--red);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h1 {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-size: 2rem;
|
||||
font-weight: normal;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h2 {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-size: 1.75rem;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
h3 {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-size: 1.5rem;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
time {
|
||||
font-size: 1rem;
|
||||
float: right;
|
||||
color: var(--blue2);
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
border-bottom: 1px solid var(--text1);
|
||||
}
|
||||
}
|
||||
|
||||
hr {
|
||||
border: 0.1px solid var(--text2);
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
footer {
|
||||
border-top: 1px solid var(--text3);
|
||||
margin-top: 1rem;
|
||||
|
||||
p {
|
||||
font-size: 0.75rem;
|
||||
padding: 1rem;
|
||||
text-align: center;
|
||||
color: var(--text2);
|
||||
|
||||
a {
|
||||
color: var(--text2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.list {
|
||||
|
||||
h2 {
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 0;
|
||||
|
||||
a {
|
||||
color: var(--text1);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.lead {
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.tags {
|
||||
ul {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 0 1rem;
|
||||
font-size: 0.75rem;
|
||||
|
||||
li {
|
||||
padding: 0rem 0.3rem;
|
||||
border: 1px solid var(--text1);
|
||||
border-radius: 0.3rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 2rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.lead {
|
||||
text-align: center;
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue