summaryrefslogtreecommitdiff
path: root/resources/css.org
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2022-03-03 21:30:38 +0100
committerMarius Peter <marius.peter@tutanota.com>2022-03-03 21:30:38 +0100
commitd08dc33034f75d016a4e8ff077dc67d76058b92e (patch)
tree55d7fe34efb5e4a69ec169fc406c2c6aef76e0af /resources/css.org
parent245e70f383544c45695e2709fcfa68971224e59e (diff)
Renaming #home to .button, consistency
Diffstat (limited to 'resources/css.org')
-rw-r--r--resources/css.org16
1 files changed, 8 insertions, 8 deletions
diff --git a/resources/css.org b/resources/css.org
index 6924cf6..7a60745 100644
--- a/resources/css.org
+++ b/resources/css.org
@@ -50,7 +50,7 @@ These styles apply across the entire website, to every element.
#+BEGIN_SRC css
body {
- background: linear-gradient(0deg, white 20%, gray 70%);
+ background: linear-gradient(0deg, white 20%, slategray 70%);
background-attachment: fixed;
margin: 0;
}
@@ -86,11 +86,11 @@ We assign colors to the page element backgrounds.
.timestamp { background: var(--topnav); }
.title { background: var(--topnav); }
#topnav { background: var(--topnav); }
- #home { background: var(--topnav-menu); }
+ .button { background: var(--topnav-menu); }
#topnav #hamburger { background: var(--topnav-menu); }
#topnav #hamburger:hover { background: white; }
#topnav #hamburger:hover .line { background: var(--topnav); }
- #topnav a:hover { background: white; }
+ #topnav .button:hover { background: white; }
#shadow { background: black; }
#+END_SRC
@@ -103,10 +103,10 @@ We assign colors to the page element backgrounds.
.timestamp { color: white; }
.title { color: white; }
.subtitle { color: lightgray; }
- #home { color: white; }
+ .button { color: white; }
#topnav #hamburger { color: white; }
#topnav #hamburger:hover { color: var(--topnav-menu); }
- #topnav a:hover { color: var(--topnav-menu); }
+ #topnav .button:hover { color: var(--topnav-menu); }
#topnav ul a { color: lightgray; }
#+END_SRC
@@ -427,7 +427,7 @@ current page's table of contents.
margin: 0.5em;
padding: 0.5em 0;
}
- #buttons a {
+ .button {
text-decoration: none;
border-radius: 0 8px 8px 0;
padding: 0.5em;
@@ -557,11 +557,11 @@ label.
position: absolute;
flex-direction: column;
background: var(--topnav);
- height: calc(100vh - 4em);
+ height: calc(100vh - 3.5em);
top: 3.5em;
padding: 0 0.5em;
justify-content: normal;
- overflow-x: scroll;
+ overflow: auto;
}
#topnav ul a { display: block; }
Copyright 2019--2026 Marius PETER