aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJieiku2022-05-31 02:23:10 -0700
committerJieiku2022-05-31 02:23:10 -0700
commit8febb654559df90d267c2c95b362c2442cbce804 (patch)
tree25b985389ee0bb4dd04974860837ef7d5080c5a1
parent8699b2808a831f27f07ab278190a726ecb640c5e (diff)
downloadabridge-8febb654559df90d267c2c95b362c2442cbce804.tar.gz
abridge-8febb654559df90d267c2c95b362c2442cbce804.tar.bz2
abridge-8febb654559df90d267c2c95b362c2442cbce804.zip
Update: Logo, Nav, Search Box Size
-rw-r--r--config.toml6
-rw-r--r--sass/include/_nav.scss3
-rw-r--r--sass/include/_search.scss2
3 files changed, 8 insertions, 3 deletions
diff --git a/config.toml b/config.toml
index b1ee8e4..03602fd 100644
--- a/config.toml
+++ b/config.toml
@@ -50,8 +50,10 @@ recent_items = 9
footer_credit = true
#footer_credit_override = '<p>Powered by <a href="https://www.getzola.org/">Zola</a> &#38; <a href="https://github.com/Jieiku/abridge/">Abridge</a></p>' # <i class="fa-solid fa-heart"></i>
-logo = { file="logo.svg", width="42", height="42", alt="Abridge", text="bridge" }
-textlogo = '<font color="#f90">A</font>bridge'
+#uncomment one of the two lines, or neither, depending on which type of logo you want to use:
+logo = { file="logo.svg", width="32", height="32", alt="Abridge", text="bridge" }
+#textlogo = '<font color="#f90">A</font>bridge'
+
sitedesc = false # enables or disables the display of the site description below the logo.
#copyright_start_year = 2019 # optional
#copyright_end_year = 2020 # optional, recommend leaving unset, zola build will set this to current year by default
diff --git a/sass/include/_nav.scss b/sass/include/_nav.scss
index b6d84a7..7cbc0f7 100644
--- a/sass/include/_nav.scss
+++ b/sass/include/_nav.scss
@@ -68,6 +68,9 @@ nav {
header nav {
display: flex;
flex-direction: column;
+ header h1 {
+ margin-top: var(--s2);
+ }
header {
text-align: center
}
diff --git a/sass/include/_search.scss b/sass/include/_search.scss
index aaaa888..8cb8a1a 100644
--- a/sass/include/_search.scss
+++ b/sass/include/_search.scss
@@ -45,7 +45,7 @@ nav > div > form > div:last-of-type {//parent div of suggestions div
white-space: nowrap;
}
.searchd > input {
- max-width: 15rem;
+ max-width: 15.3rem;
padding-right:2.4rem;//inlayed search icon
}
.searchd > button {