This repository has been archived on 2022-01-01. You can view files and clone it, but cannot push or open issues or pull requests.
Web/css/index.css

74 lines
1.2 KiB
CSS
Raw Normal View History

body {
background: url('/images/pic1.webp');
background-position: center;
background-size: cover;
}
.title {
height: 200px;
width: 600px;
margin: calc((100vh - 200px) / 2) auto;
text-align: center;
background: #ffffff;
box-shadow: 0 0 1rem black;
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
column-gap: 1em;
}
.title h1, .title h2 {
font-size: 3rem;
2020-12-30 12:37:20 +01:00
margin: 0;
align-self: end;
}
.title h1 {
text-align: left;
}
.title h2 {
text-align: right;
}
.title nav {
font-variant: small-caps;
font-size: 1.5rem;
grid-column: 1 / 3;
padding: .5em;
align-self: center;
}
.title nav a {
border: 0px solid #484848de;
border-width: .1em 0;
padding: 0 .5em;
margin: .5em;
transition: border-color 250ms, background-color 250ms, color 250ms;
}
.title nav a:hover {
background-color: #242424de;
border-color: #242424de;
color: #ffffffde;
2021-04-10 11:06:57 +02:00
}
.title nav a:active {
border-color: #121212de;
background-color: #121212de;
color: #dededede;
2021-04-10 11:06:57 +02:00
}
footer {
background: white;
margin: 0;
padding: 1em;
2020-12-30 12:37:20 +01:00
text-align: center;
}
footer>p>* {
2020-12-30 12:37:20 +01:00
padding: 1em;
line-height: 3em;
}
footer>p {
margin: 0;
padding: 0;
}
footer>.author {
font-family: 'IBM Plex Serif';
font-weight: 300;
}