refactor(ui): CSS + Remove Google fonts

This commit is contained in:
2026-06-02 08:14:06 +05:30
parent 0ea802b888
commit 3352c0475b
3 changed files with 29 additions and 16 deletions
Binary file not shown.
+1 -4
View File
@@ -4,10 +4,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap" rel="stylesheet">
<title>sorcia - A simple, open-source, self-hosted, and privacy-focused Git service</title>
<link rel="stylesheet" href="style.css">
</head>
+28 -12
View File
@@ -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;
}