summaryrefslogtreecommitdiff
path: root/assets/css/header.css
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-10-16 23:47:46 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-10-16 23:56:56 +0530
commit3edc160c5937d627cd95bb6b0c67e603f00bdf59 (patch)
tree8246eb5180851c709434db664b73d9621b7cdf48 /assets/css/header.css
parentdb52aa994294f3f2a412efee7802c752073018e2 (diff)
nav-label: init
* label can be set differently from title * label can have an optional icon with preffered size * in site config => params: label: text: "Home" icon: /apple-touch-icon.png iconHeight: 35
Diffstat (limited to 'assets/css/header.css')
-rw-r--r--assets/css/header.css11
1 files changed, 10 insertions, 1 deletions
diff --git a/assets/css/header.css b/assets/css/header.css
index 916e575..e5061d4 100644
--- a/assets/css/header.css
+++ b/assets/css/header.css
@@ -25,6 +25,15 @@
font-weight: 700;
}
+.logo a img {
+ display: inline;
+ vertical-align: middle;
+ pointer-events: none;
+ transform: translate(0, -10%);
+ border-radius: 6px;
+ margin-right: 8px;
+}
+
.theme-toggle svg{
height: 18px;
margin: 0 10px;
@@ -57,4 +66,4 @@ body:not(.dark) #sun {
.menu .active {
font-weight: 500;
border-bottom: 2px solid currentColor;
-} \ No newline at end of file
+}