How did I not notice this until now

This commit is contained in:
Dominik V. Salonen 2018-03-14 12:28:50 +00:00
parent de1a7af9e0
commit fc3c7026f3
1 changed files with 107 additions and 107 deletions

214
style.css
View File

@ -1,115 +1,115 @@
html, body { html, body {
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
h1, h2, h3, h4, h5, p { h1, h2, h3, h4, h5, p {
margin: 0; margin: 0;
} }
#site { #site {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
background-color: #2b2b2b; background-color: #2b2b2b;
min-width: 100vw; min-width: 100vw;
min-height: 100vh; min-height: 100vh;
margin: 0; margin: 0;
color: #FFF; color: #FFF;
font-family: "Lato", sans-serif; font-family: "Lato", sans-serif;
} }
#content { #content {
display: block; display: block;
margin-right: auto; margin-right: auto;
margin-left: auto; margin-left: auto;
width: 750px; width: 750px;
max-width: 90vw; max-width: 90vw;
margin-top: 40vh; margin-top: 40vh;
transform: translateY(-50%) transform: translateY(-50%)
} }
#main-container { #main-container {
background-color: #3b3b3b; background-color: #3b3b3b;
margin-top: 10px; margin-top: 10px;
padding: 5px; padding: 5px;
border-radius: 5px 5px 0px 0px; border-radius: 5px 5px 0px 0px;
width: 100%; width: 100%;
box-shadow: 3px 3px 7px rgba(0,0,0,0.25); box-shadow: 3px 3px 7px rgba(0,0,0,0.25);
} }
#navbar { #navbar {
width: 100%; width: 100%;
/* Whitespace hack */ /* Whitespace hack */
font-size: 0; font-size: 0;
text-align: center; text-align: center;
} }
#page { #page {
width: 100%; width: 100%;
padding: 15px 5px 8px 5px; padding: 15px 5px 8px 5px;
} }
.title {
font-size: 32pt;
font-weight: 300;
text-align: center;
}
.title { .sub-title {
font-size: 32pt; font-size: 10pt;
font-weight: 300; color: #AAA;
text-align: center; text-align: center;
} }
.sub-title { .sub-title span {
font-size: 10pt; color: #555;
color: #AAA; }
text-align: center;
} .nav-button {
display: inline-block;
.sub-title span { border-bottom: solid 3px #2b2b2b;
color: #555; background-color: #3b3b3b;
} transition: background 0.15s ease-in-out, border 0.5s ease-in-out;
padding: 10px 5px;
.nav-button { box-sizing: border-box;
display: inline-block; margin: 0;
border-bottom: solid 3px #2b2b2b; text-align: center;
background-color: #3b3b3b; width: 33%;
transition: background 0.15s ease-in-out, border 0.5s ease-in-out; /* Undo whitespace hack */
padding: 10px 5px; font-size: 12pt;
box-sizing: border-box; cursor: pointer;
margin: 0; }
text-align: center;
width: 33%; .nav-button:hover {
/* Undo whitespace hack */ background-color: #4b4b4b;
font-size: 12pt; transition: background 0.15s ease-in-out;
cursor: pointer; }
}
.nav-button.active {
.nav-button:hover { border-color: #FF5555;
background-color: #4b4b4b; transition: background 0.15s ease-in-out, border 0.5s ease-in-out;
transition: background 0.15s ease-in-out; }
}
.initial-text {
.nav-button.active { font-size: 18pt;
border-color: #FF5555; text-align: center;
transition: background 0.15s ease-in-out, border 0.5s ease-in-out; margin-top: 50px;
} margin-bottom: 50px;
}
.initial-text {
font-size: 18pt; .notice {
text-align: center; color: #3b3b3b;
margin-top: 50px; text-align: right;
margin-bottom: 50px; }
}
/* Thanks StackOverflow, heck if I can remember this stuff */
.notice { .noselect, .nav-button, .notice {
color: #3b3b3b; -webkit-touch-callout: none; /* iOS Safari */
text-align: right; -webkit-user-select: none; /* Safari */
} -khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Firefox */
/* Thanks StackOverflow, heck if I can remember this stuff */ -ms-user-select: none; /* Internet Explorer/Edge */
.noselect, .nav-button, .notice { user-select: none; /* Non-prefixed version, currently
-webkit-touch-callout: none; /* iOS Safari */ supported by Chrome and Opera */
-webkit-user-select: none; /* Safari */ }
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome and Opera */
}