about summary refs log tree commit diff
path: root/web/homepage
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-02-08T22·22+0000
committerVincent Ambo <tazjin@google.com>2020-02-08T22·22+0000
commite6002f95cd3ad5c4ee449e6a51c50f07da26f287 (patch)
tree212f2ac95204a7bea8bff7217cfe4ddd787e166d /web/homepage
parentcce872e3977d3f7e2001a76310d98f6fa80d7243 (diff)
feat(web/homepage): Add static assets for new homepage r/489
Adds the Jetbrains Mono font and the WIP CSS file for the homepage
and (soon) the blog.
Diffstat (limited to 'web/homepage')
-rw-r--r--web/homepage/static/jetbrains-mono-bold-italic.woff2bin0 -> 53364 bytes
-rw-r--r--web/homepage/static/jetbrains-mono-bold.woff2bin0 -> 49892 bytes
-rw-r--r--web/homepage/static/jetbrains-mono-italic.woff2bin0 -> 50936 bytes
-rw-r--r--web/homepage/static/jetbrains-mono.woff2bin0 -> 48700 bytes
-rw-r--r--web/homepage/static/tazjin.css88
5 files changed, 88 insertions, 0 deletions
diff --git a/web/homepage/static/jetbrains-mono-bold-italic.woff2 b/web/homepage/static/jetbrains-mono-bold-italic.woff2
new file mode 100644
index 000000000000..34b5c69ae1cf
--- /dev/null
+++ b/web/homepage/static/jetbrains-mono-bold-italic.woff2
Binary files differdiff --git a/web/homepage/static/jetbrains-mono-bold.woff2 b/web/homepage/static/jetbrains-mono-bold.woff2
new file mode 100644
index 000000000000..84a008af7edb
--- /dev/null
+++ b/web/homepage/static/jetbrains-mono-bold.woff2
Binary files differdiff --git a/web/homepage/static/jetbrains-mono-italic.woff2 b/web/homepage/static/jetbrains-mono-italic.woff2
new file mode 100644
index 000000000000..85fd4687891e
--- /dev/null
+++ b/web/homepage/static/jetbrains-mono-italic.woff2
Binary files differdiff --git a/web/homepage/static/jetbrains-mono.woff2 b/web/homepage/static/jetbrains-mono.woff2
new file mode 100644
index 000000000000..d5b94cb9e7db
--- /dev/null
+++ b/web/homepage/static/jetbrains-mono.woff2
Binary files differdiff --git a/web/homepage/static/tazjin.css b/web/homepage/static/tazjin.css
new file mode 100644
index 000000000000..396c4ecf4a93
--- /dev/null
+++ b/web/homepage/static/tazjin.css
@@ -0,0 +1,88 @@
+/* Jetbrains Mono font from https://www.jetbrains.com/lp/mono/
+   licensed under Apache 2.0. Thanks, Jetbrains! */
+@font-face {
+    font-family: jetbrains-mono;
+    src: url(jetbrains-mono.woff2);
+}
+
+@font-face {
+    font-family: jetbrains-mono;
+    font-weight: bold;
+    src: url(jetbrains-mono-bold.woff2);
+}
+
+@font-face {
+    font-family: jetbrains-mono;
+    font-style: italic;
+    src: url(jetbrains-mono-italic.woff2);
+}
+
+@font-face {
+    font-family: jetbrains-mono;
+    font-weight: bold;
+    font-style: italic;
+    src: url(jetbrains-mono-bold-italic.woff2);
+}
+
+/* Generic-purpose styling */
+
+body {
+    margin: 40px auto;
+    max-width: 650px;
+    line-height: 1.6;
+    font-size: 18px;
+    padding: 0 10px;
+    font-family: jetbrains-mono, monospace;
+}
+
+p, a :not(.uncoloured-link) {
+    color: inherit;
+}
+
+.entry-container {
+    display: flex;
+    flex-direction: row;
+    flex-wrap: wrap;
+}
+
+.entry {
+    
+}
+
+/* Light theme (used for the blog) */
+
+.light {
+    color: #383838;
+}
+
+/* Dark theme (used for the homepage) */
+
+.dark {
+    background-color: #181818;
+    color: #e4e4ef;
+}
+
+.dark a {
+    color: #96a6c8;
+}
+
+h1, h2, h3 {
+    line-height: 1.2
+}
+.footer {
+    text-align: right;
+}
+.unstyled-link {
+    text-decoration: none;
+}
+.uncoloured-link {
+    color: inherit;
+}
+.date {
+    text-align: right;
+    font-style: italic;
+    float: right;
+}
+.inline {
+    display: inline;
+}