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

90 lines
1.2 KiB
CSS
Raw Permalink Normal View History

.left, .right {
position: absolute;
left: 0;
right: 0;
}
.left {
text-align: center;
top: 0;
bottom: 60%;
box-shadow: 0 0 2em black;
z-index: 100;
}
.right {
top: 40%;
bottom: 0;
background: url("../images/pic1.jpg");
background-size: cover;
background-position: center;
z-index: 1;
}
.left h1 {
font-family: 'IBM Plex Serif', serif;
position: absolute;
font-size: 3rem;
height: 1em;
line-height: 1em;
margin: 0;
width: 100%;
}
.left h1:first-of-type {
top: calc( 50% - 1em );
font-weight: 800;
}
.left h1:last-of-type {
bottom: calc( 50% - 1em );
font-weight: 300;
}
footer {
position: absolute;
bottom: 0;
width: 100%;
background: #000000de;
color: #ffffffde;
text-align: center;
}
footer ul {
list-style: none;
padding: 1em;
}
footer li span {
font-weight: 800;
margin-right: 1em;
}
footer a {
color: #dededede;
text-decoration: none;
transition: color 50ms;
}
footer a:hover {
color: #ffffffde;
}
footer a:active {
color: #ffffffde;
}
@media screen and (min-width: 1024px) {
.left, .right {
top: 0;
bottom: 0;
}
.right {
right: 0;
left: 40%
}
.left {
right: 60%;
}
.left h1 {
font-size: 4rem;
text-align: right;
padding-right: 1em;
}
}