aboutsummaryrefslogtreecommitdiff
path: root/styles.css
diff options
context:
space:
mode:
Diffstat (limited to 'styles.css')
-rw-r--r--styles.css40
1 files changed, 39 insertions, 1 deletions
diff --git a/styles.css b/styles.css
index bdd0a6b..ca9fc63 100644
--- a/styles.css
+++ b/styles.css
@@ -111,10 +111,31 @@ body.dark-mode {
background-color: var(--code-bg-faint);
}
+#goBackUp {
+ position: fixed;
+ top: 70px;
+ right: 20px;
+ padding: 8px 16px;
+ background-color: var(--code-bg);
+ border: 1px solid var(--border);
+ cursor: pointer;
+ font-family: 'Roboto Mono', monospace;
+ font-size: 1.2rem;
+ border-radius: 4px;
+ z-index: 1000;
+ transition: 0.5s background-color;
+ color: var(--text);
+ font-weight: bold;
+}
+
+#goBackUp:hover {
+ background-color: var(--code-bg-faint);
+}
+
a {
/* text-decoration: none; */
color: var(--link);
- transition: 0.5s color;
+ transition: 0.5s background-color, 0.5s color !important;
}
a:hover {
@@ -173,6 +194,23 @@ b {
text-shadow: 0 0 2px var(--text);
}
+.table-item {
+ border-radius: 6px;
+ background-color: var(--code-bg);
+ transition: 0.5s background-color;
+
+ text-decoration: none;
+ font-size: 1.5em;
+ padding: 5px 8px;
+ text-align: center;
+ color: inherit;
+ display: block;
+}
+
+.table-item:hover {
+ background-color: var(--code-bg-faint);
+}
+
pre code {
background-color: transparent;
padding: 0;