summaryrefslogtreecommitdiff
path: root/src/styles/main.css
diff options
context:
space:
mode:
authorseth <[email protected]>2024-04-08 22:58:22 -0400
committerseth <[email protected]>2024-04-08 22:58:22 -0400
commitd8a20e3032a0ce97b6ddc29840e135eda9b3f43c (patch)
tree40a4059020ff4c9d500d4022f5b84e7bf2c46fd4 /src/styles/main.css
parent33a4eb02a8307be1bcfaaabbe3adaf25d0088d3b (diff)
refactor; use plain css
Diffstat (limited to 'src/styles/main.css')
-rw-r--r--src/styles/main.css75
1 files changed, 75 insertions, 0 deletions
diff --git a/src/styles/main.css b/src/styles/main.css
new file mode 100644
index 0000000..974dd5c
--- /dev/null
+++ b/src/styles/main.css
@@ -0,0 +1,75 @@
+:root {
+ --background-color: #1e1e2e;
+ --primary-font: "Noto Sans";
+ --regular-text: #cdd6f4;
+ --blue-text: #89b4fa;
+ --subtext: #bac2de;
+ --medium-screen: 768px;
+}
+
+body {
+ background-color: var(--background-color);
+ font-family: var(--primary-font), system-ui;
+;
+ line-height: 1.5rem;
+ margin-left: auto;
+ margin-right: auto;
+ margin-top: 1.25rem;
+ margin-bottom: 1.25rem;
+ max-width: var(--medium-screen);
+ padding: 0.75rem;
+}
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6,
+strong,
+b,
+p {
+ color: var(--regular-text);
+}
+
+a {
+ text-decoration: underline;
+ color: var(--blue-text);
+}
+
+video {
+ width: 100%;
+ height: auto;
+ max-width: var(--medium-screen);
+}
+
+footer {
+ color: var(--subtext);
+ font-size: 0.75rem;
+
+ text-align: right;
+}
+
+#nav_links {
+ display: flex;
+ gap: 0.25rem;
+}
+
+#gifs {
+ display: none;
+ flex-direction: row;
+ flex-wrap: wrap;
+ gap: 0.5rem;
+ justify-content: space-evenly;
+}
+
+.blogpost {
+ font-size: 0.85rem;
+}
+
+@media screen and (min-width: 768px) {
+ #gifs {
+ display: flex;
+ }
+}
+