Refactor, tweaks, clean-up, improve

This commit is contained in:
Melvin Valster
2019-07-24 23:27:23 +02:00
parent 36742ea22e
commit e021dea1ab
16 changed files with 258 additions and 130 deletions
+27 -29
View File
@@ -4,6 +4,12 @@ body {
color: white;
background-color: #111;
font-family: Verdana;
margin: 0;
}
// Normalize etc.
ul {
margin: 0;
}
a {
@@ -28,6 +34,17 @@ a {
}
}
.yellow { color: $color-yellow; }
.green { color: $quality-2; }
.tight {
margin-bottom: 0;
& + p {
margin-top: 0;
}
}
.calculator {
&__points {
color: white;
@@ -69,35 +86,16 @@ a {
}
}
.class-picker {
display: flex;
list-style: none;
padding: 0;
.index {
min-height: 85vh;
}
.index__class-picker {
margin: 2em 0;
}
&--center {
justify-content: center;
}
&__class {
margin-right: 1em;
opacity: 1;
transition: all .1s ease-out;
&:hover {
opacity: 1;
}
&--active {
opacity: 1;
}
&--inactive {
opacity: .4;
&:hover {
opacity: .5;
}
}
}
footer {
padding: 2em;
font-size: 12px;
text-align: center;
}