summaryrefslogtreecommitdiff
path: root/site/assets/css/css.css
diff options
context:
space:
mode:
Diffstat (limited to 'site/assets/css/css.css')
-rw-r--r--site/assets/css/css.css93
1 files changed, 89 insertions, 4 deletions
diff --git a/site/assets/css/css.css b/site/assets/css/css.css
index 843809a8..9ac35699 100644
--- a/site/assets/css/css.css
+++ b/site/assets/css/css.css
@@ -5,9 +5,11 @@ html, body {
width: 100%;
min-height: 100%;
font-family: 'Roboto', sans-serif;
- background: #191919;
color: #b8b8b8;
}
+html {
+ background: #191919;
+}
/* header */
@@ -119,12 +121,14 @@ h1 {
font-size: 24pt;
margin: 75px 0 10px;
padding: 0;
+ transition: color 0.2s cubic-bezier(0,0,1,1);
}
h2, h3 {
margin: 0 0 20px 0;
padding: 0;
font-size: 11pt;
font-weight: 500;
+ transition: color 0.2s cubic-bezier(0,0,1,1);
}
th, .gray, h2, h3 {
@@ -281,6 +285,9 @@ section.wide .image {
max-width: 620px;
margin: 10px auto 0 auto;
}
+
+/* blog index */
+
.research_index {
margin-top: 40px;
}
@@ -289,10 +296,88 @@ section.wide .image {
}
.research_index h1 {
margin-top: 20px;
+ text-decoration: underline;
+}
+.desktop .research_index section:hover h1 {
+ color: #fff;
+}
+.research_index section:hover h2 {
+ color: #ddd;
}
-/* blogpost index */
+/* home page */
-.blogposts div {
- margin-bottom: 5px;
+.hero {
+ position: relative;
+ width: 100%;
+ max-width: 1200px;
+ height: 50vw;
+ max-height: 70vh;
+ display: flex;
+ align-items: center;
+ margin: 0 auto;
+}
+#face_container {
+ pointer-events: none;
+ position: absolute;
+ width: 50vw;
+ height: 50vw;
+ max-height: 70vh;
+ top: 0;
+ right: 0;
+ z-index: -1;
+ text-align: center;
+}
+.currentFace {
+ position: absolute;
+ bottom: 50px;
+ width: 100%;
+ left: 0;
+ text-align: center;
+}
+.intro {
+ max-width: 640px;
+ padding: 75px 0 75px 10px;
+ z-index: 1;
+}
+.intro .headline {
+ font-family: 'Roboto Mono', monospace;
+ font-size: 16pt;
+}
+.intro .buttons {
+ margin: 40px 0;
+}
+.intro button {
+ font-family: 'Roboto', sans-serif;
+ padding: 8px 12px;
+ border-radius: 6px;
+ border: 1px solid transparent;
+ cursor: pointer;
+ font-size: 11pt;
+ margin-right: 10px;
+ transition: color 0.1s cubic-bezier(0,0,1,1), background-color 0.1s cubic-bezier(0,0,1,1);
+}
+.intro button.normal {
+ background: #191919;
+ border-color: #444;
+ color: #ddd;
+}
+.intro button.important {
+ background: #444;
+ border-color: #444;
+ color: #ddd;
+}
+.desktop .intro button:hover {
+ background: #666;
+ border-color: #666;
+ color: #fff;
+}
+.intro .under {
+ color: #888;
+}
+.intro .under a {
+ color: #bbb;
+}
+.desktop .intro .under a:hover {
+ color: #fff;
} \ No newline at end of file