coding-precarity/style.css
2020-09-18 11:26:51 +02:00

122 lines
1.9 KiB
CSS

@font-face {
font-family: "Fell";
src: url("/IMFePIit29P.ttf");
}
@font-face {
font-family: "Fell Sc";
src: url("/IMFePIsc29P.ttf");
}
body {
background-color: #e1eef2;
margin: 0;
font-family: "Fell";
}
.wrapper {
max-width: 70em;
height: 100%;
margin: 0 auto;
background-color: #FFC63F;
position: relative;
box-sizing: border-box;
padding: 20px;
}
.items {
list-style: none;
margin: 0;
padding: 0;
}
.items > li {
display: inline-block;
}
.items > li a {
width: 120px;
height: 120px;
background: #D66C00;
border-radius: 80px;
display: block;
border: 3px solid #1a1c1c;
}
.items > li a:hover {
background-color: #f39a3f;
z-index: 1;
}
.items > li.face-up a {
background-color: #ed8112;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.line {
border-bottom: 3px solid #1a1c1c;
height: 1em;
text-align: center;
position: absolute;
transform-origin: 0 0;
}
.fullview {
width: 100%;
height: 100%;
position: fixed;
left: 0;
top: 0;
background-color: #e1eef280;
padding: 1em;
box-sizing: border-box;
cursor: default;
}
.fullview > img {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
min-width: 40em;
min-height: 30em;
max-height: 100%;
}
.fullview > div {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
min-width: 20em;
min-height: 30em;
max-height: 100%;
background-color: #006680;
padding: 1.5em;
color: white;
border-radius: 20px;
border: 5px solid #1a1c1c;
box-sizing: border-box;
}
.fullview > div img {
float: right;
width: 120px;
border-radius: 80px;
border: 3px solid #1a1c1c;
margin-bottom: 1em;
}
h1, .desc {
font-family: "Fell Sc";
}
.fulltext {
clear: both;
background-color: #99d7e9;
border-radius: 80px;
border: 3px solid #1a1c1c;
color: #1a1c1c;
margin-left: -10px;
padding: 0.5em;
}