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

123 lines
1.6 KiB
CSS
Raw 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.webp");
background-size: cover;
background-position: center;
z-index: 1;
}
.left h1, .left h2 {
2020-12-30 12:37:20 +01:00
position: absolute;
font-size: 3rem;
2020-12-30 12:37:20 +01:00
height: 1em;
line-height: 1em;
margin: 0;
width: 100%;
}
.left h2 {
2020-12-30 12:37:20 +01:00
top: calc( 50% - 1em );
}
.left h1 {
2020-12-30 12:37:20 +01:00
bottom: calc( 50% - 1em );
}
2021-04-10 11:06:57 +02:00
nav {
position: absolute;
top: 0;
width: 100%;
background: #ffffffde;
text-align: center;
font-size: 2em;
padding: 1em;
font-weight: 800;
}
nav > a {
padding: 1em;
}
footer {
2020-12-30 12:37:20 +01:00
position: absolute;
bottom: 0;
width: 100%;
background: #000000de;
color: #ffffffde;
text-align: center;
}
footer ul {
2020-12-30 12:37:20 +01:00
list-style: none;
padding: 1em;
}
2020-12-22 11:38:23 +01:00
footer li {
height: 24px;
line-height: 24px;
margin: 12px;
}
footer li span {
2020-12-30 12:37:20 +01:00
font-weight: 800;
margin-right: 1em;
}
footer a {
2020-12-30 12:37:20 +01:00
color: #dededede;
}
footer a:hover {
2020-12-30 12:37:20 +01:00
color: #ffffffde;
}
footer a:active {
2020-12-30 12:37:20 +01:00
color: #ffffffde;
}
@media screen and (min-width: 1024px), screen and (orientation: landscape) {
.left, .right {
top: 0;
bottom: 0;
}
.right {
right: 0;
left: 40%
}
.left {
right: 60%;
}
.left h1, .left h2 {
text-align: right;
padding-right: 1em;
}
}
2020-12-22 11:38:23 +01:00
@media screen and (hover: hover) {
footer li {
height: initial;
line-height: initial;
margin: initial;
}
}
@media screen and (min-width: 1024px) {
.left h1, .left h2 {
font-size: 4rem;
}
}
@media screen and (max-width: 700px) and (orientation: landscape) {
.left h1, .left h2 {
font-size: 2rem;
padding-right: .5em;
}
}