Commit 9794bbad authored by Tobias Bengfort's avatar Tobias Bengfort
Browse files

replace px by em/rem

parent 01379feb
......@@ -102,14 +102,14 @@ header {
.txt-bottom {
position: absolute;
vertical-align: bottom;
margin-top: 10px;
bottom: 5px;
margin-top: 0.7em;
bottom: 0.4em;
}
.top-right {
position: absolute;
top: 2px;
right: 15px;
top: 0.1em;
right: 1em;
}
.float {
......@@ -119,8 +119,8 @@ header {
.icon {
width: 1.5em;
min-height: 1.5em !important;
padding-top: 10px;
margin-left: 10px;
padding-top: 0.7em;
margin-left: 0.7em;
fill: #800080;
}
......@@ -144,9 +144,9 @@ footer nav a:hover {
height: 10vw;
min-height: 3rem;
max-height: 6rem;
padding-right: 10px;
padding-top: 10px;
padding-bottom: 10px;
padding-right: 0.7em;
padding-top: 0.7em;
padding-bottom: 0.7em;
}
nav {
......@@ -201,10 +201,10 @@ nav a:hover {
flex-direction: column;
border-top: 0.5em solid var(--brand);
text-decoration: none;
box-shadow: 6px 6px 3px 0 rgba(0,0,0,1);
box-shadow: 0.4rem 0.4rem 0.2rem 0 rgba(0,0,0,1);
}
a.card:hover {
box-shadow: 6px 6px 4px 1px rgba(0,0,0,1);
box-shadow: 0.4rem 0.4rem 0.3rem 0.1rem rgba(0,0,0,1);
}
.card-header {
width: 100%;
......@@ -279,7 +279,7 @@ a.card:hover {
#filters label {
cursor: pointer;
margin-bottom: 6px;
margin-bottom: 0.4em;
}
#filter-full-game:not(:checked) ~ .tiles [data-category="full game"],
#filter-jam:not(:checked) ~ .tiles [data-category="jam"],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment