Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorWang Chucheng <ccwangchn@gmail.com>2020-06-15 15:13:22 +0300
committerWang Chucheng <ccwangchn@gmail.com>2020-06-15 15:13:22 +0300
commit1ae175faf4ce8440e6b60b69f18258e301d75350 (patch)
tree5ddcdb1dc4fd9d62cf4b3b962e85921643f1d597 /assets
parent154d615c25b50e677bcaa532ee94d461569a91e2 (diff)
fix: change the navbar height to bridge the gap
Diffstat (limited to 'assets')
-rw-r--r--assets/css/markdown.css4
-rw-r--r--assets/css/tailwind.config.js3
2 files changed, 5 insertions, 2 deletions
diff --git a/assets/css/markdown.css b/assets/css/markdown.css
index 7447315..aff5ee1 100644
--- a/assets/css/markdown.css
+++ b/assets/css/markdown.css
@@ -95,6 +95,6 @@
}
.content *:target {
- padding-top: 4.5rem;
- margin-top: -4.5rem;
+ padding-top: 4rem;
+ margin-top: -4rem;
}
diff --git a/assets/css/tailwind.config.js b/assets/css/tailwind.config.js
index af75cf1..20eee7d 100644
--- a/assets/css/tailwind.config.js
+++ b/assets/css/tailwind.config.js
@@ -17,6 +17,9 @@ module.exports = {
'mono': ['SFMono-Regular', 'Menlo'],
},
extend: {
+ minHeight: {
+ '16': '4rem',
+ },
inset: {
'16': '4rem',
},