aboutsummaryrefslogtreecommitdiff
path: root/styles.css
diff options
context:
space:
mode:
authorGravatar Moon Flower <mforoud86@gmail.com> 2026-01-01 11:50:48 +0330
committerGravatar Moon Flower <mforoud86@gmail.com> 2026-01-01 11:50:48 +0330
commit0cee860019a7475c46eeb68271ef62beccff4fc7 (patch)
tree0625f4395736b0a2ba1bbbd5093ffb280c9dcd98 /styles.css
parentupdate log update (diff)
sw+firstpaint+smooth+nostyles3
Diffstat (limited to 'styles.css')
-rw-r--r--styles.css56
1 files changed, 28 insertions, 28 deletions
diff --git a/styles.css b/styles.css
index c150343..5368a60 100644
--- a/styles.css
+++ b/styles.css
@@ -1,29 +1,29 @@
@font-face {
- font-family: 'Charter';
- src: url('fonts/Charter/Charter Regular.ttf') format('truetype');
- font-weight: normal;
- font-style: normal;
+ font-family: 'Charter';
+ src: url('fonts/Charter/Charter Regular.ttf') format('truetype');
+ font-weight: normal;
+ font-style: normal;
}
@font-face {
- font-family: 'Charter';
- src: url('fonts/Charter/Charter Italic.ttf') format('truetype');
- font-weight: normal;
- font-style: italic;
+ font-family: 'Charter';
+ src: url('fonts/Charter/Charter Italic.ttf') format('truetype');
+ font-weight: normal;
+ font-style: italic;
}
@font-face {
- font-family: 'Charter';
- src: url('fonts/Charter/Charter Bold.ttf') format('truetype');
- font-weight: bold;
- font-style: normal;
+ font-family: 'Charter';
+ src: url('fonts/Charter/Charter Bold.ttf') format('truetype');
+ font-weight: bold;
+ font-style: normal;
}
@font-face {
- font-family: 'Charter';
- src: url('fonts/Charter/Charter Bold Italic.ttf') format('truetype');
- font-weight: bold;
- font-style: italic;
+ font-family: 'Charter';
+ src: url('fonts/Charter/Charter Bold Italic.ttf') format('truetype');
+ font-weight: bold;
+ font-style: italic;
}
@font-face {
@@ -81,18 +81,18 @@ body.dark-mode {
top: 20px;
right: 20px;
padding: 8px 16px;
- background: var(--code-bg);
+ background-color: var(--code-bg);
border: 1px solid var(--border);
cursor: pointer;
font-family: 'Roboto Mono', monospace;
font-size: 0.85rem;
border-radius: 4px;
z-index: 1000;
- transition: 0.5s background;
+ transition: 0.5s background-color;
}
#themeToggle:hover {
- background: var(--code-bg-faint);
+ background-color: var(--code-bg-faint);
}
a {
@@ -113,7 +113,7 @@ body {
max-width: 720px;
margin: 40px auto;
padding: 0 20px;
- background: var(--bg);
+ background-color: var(--bg);
}
h1 {
@@ -133,7 +133,7 @@ h2 {
code {
font-family: "Roboto Mono", "Charter", serif;
- background: var(--code-bg);
+ background-color: var(--code-bg);
padding: 0px 8px;
/* border-radius: 3px; */
font-size: 0.95em;
@@ -143,7 +143,7 @@ code {
}
pre {
- background: var(--code-bg);
+ background-color: var(--code-bg);
padding: 1.5rem;
border-left: 3px solid var(--accent);
overflow-x: auto;
@@ -154,7 +154,7 @@ pre {
}
pre code {
- background: transparent;
+ background-color: transparent;
padding: 0;
border: none;
font-size: 0.9rem;
@@ -175,7 +175,7 @@ block {
display: block;
margin-bottom: 1.5rem;
padding: 1rem;
- background: var(--block-bg);
+ background-color: var(--block-bg);
border: 1px solid var(--border);
}
@@ -195,7 +195,7 @@ header {
header span.def-name {
color: var(--def-name);
- background: var(--eng-bg);
+ background-color: var(--eng-bg);
padding: 0px 8px;
border: 1px solid var(--border);
font-size: 0.95em;
@@ -207,7 +207,7 @@ header span.def-name {
.eng-text {
font-weight: normal;
color: var(--eng-text);
- background: var(--eng-bg);
+ background-color: var(--eng-bg);
padding: 0px 8px;
border: 1px solid var(--border);
font-size: 0.95em;
@@ -228,7 +228,7 @@ desc {
align-items: center;
gap: 8px;
padding: 6px 12px;
- background: var(--code-bg);
+ background-color: var(--code-bg);
border: 2.3px dashed #ff6600;
border-radius: 20px;
font-family: "Roboto Mono", monospace;
@@ -252,7 +252,7 @@ body.dark-mode .timestamp-badge {
bottom: 20px;
left: 20px;
color: red;
- background: var(--code-bg);
+ background-color: var(--code-bg);
border: 2px solid var(--code-bg-faint);
padding: 5px 10px;
} \ No newline at end of file