diff --git a/IBMPlexMono-Regular.woff2 b/IBMPlexMono-Regular.woff2
new file mode 100644
index 0000000..f9c08a3
Binary files /dev/null and b/IBMPlexMono-Regular.woff2 differ
diff --git a/index.html b/index.html
index b7ab394..ca89f30 100644
--- a/index.html
+++ b/index.html
@@ -4,10 +4,7 @@
- Document
-
-
-
+ sorcia - A simple, open-source, self-hosted, and privacy-focused Git service
diff --git a/style.css b/style.css
index 2295f0d..0336556 100644
--- a/style.css
+++ b/style.css
@@ -1,3 +1,19 @@
+@font-face {
+ font-family: 'IBM Plex Mono';
+ src: url('IBMPlexMono-Regular.woff2') format('woff2');
+ font-weight: normal;
+ font-style: normal;
+}
+
+:root {
+ --primary-color: #c35e5e;
+ --secondary-color: #7f7f7f;
+ --background-color: #f9f9f9;
+ --text-color: #444444;
+ --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
+ --font-family-monospace: 'IBM Plex Mono', monospace;
+}
+
*,
*::before,
*::after {
@@ -7,18 +23,18 @@
}
*::selection {
- background-color: #e7a85f;
- color: #444444;
+ background-color: var(--primary-color);
+ color: var(--text-color);
}
body {
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
- color: #444444;
+ font-family: var(--font-family);
+ color: var(--text-color);
font-size: 16px;
font-weight: normal;
font-style: normal;
font-optical-sizing: auto;
- background-color: #f9f9f9;
+ background-color: var(--background-color);
}
h1,
@@ -37,7 +53,7 @@ li {
}
a {
- color: #c35e5e;
+ color: var(--primary-color);
text-decoration: none;
}
@@ -59,9 +75,9 @@ a:hover {
}
.title {
- font-family: 'IBM Plex Mono', monospace;
+ font-family: var(--font-family-monospace);
font-size: 16px;
- color: #c35e5e;
+ color: var(--primary-color);
}
.title_center {
@@ -70,7 +86,7 @@ a:hover {
}
.title .sep {
- color: #7f7f7f;
+ color: var(--secondary-color);
}
.description {
@@ -105,14 +121,14 @@ a:hover {
}
.repository__files .repository__item {
- font-family: 'IBM Plex Mono', monospace;
- color: #c35e5e;
+ font-family: var(--font-family-monospace);
+ color: var(--primary-color);
}
.repository__files .date,
.repository__files .author,
.repository__files .commit-details a {
- color: #7f7f7f;
+ color: var(--secondary-color);
font-size: 12px;
}