[gi-docgen] template: Make the sidebar slightly smaller



commit 96def2643a876b061ae7025b687dfb52439f0661
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Mar 31 13:22:34 2021 +0100

    template: Make the sidebar slightly smaller
    
    Reduce the font size, the size of the logo, and the minimum width.

 gidocgen/templates/basic/style.css | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/gidocgen/templates/basic/style.css b/gidocgen/templates/basic/style.css
index a56d382..e78acf4 100644
--- a/gidocgen/templates/basic/style.css
+++ b/gidocgen/templates/basic/style.css
@@ -359,7 +359,7 @@ footer {
   scrollbar-width: thin;
   background: var(--sidebar-bg);
   border-right: 1px solid var(--sidebar-bg);
-  min-width: 40ch;
+  min-width: 35ch;
   padding: var(--sidebar-padding);
   color: var(--sidebar-text-color);
   position: sticky;
@@ -376,8 +376,8 @@ footer {
 
 .sidebar .logo {
   display: block;
-  margin: 2rem auto 0 auto;
-  width: 70%;
+  margin: 1rem auto 0 auto;
+  width: 50%;
 }
 
 .sidebar .section > ul > li {
@@ -413,6 +413,7 @@ footer {
 .sidebar .section {
   padding-left: 0.5rem;
   padding-right: 0.5rem;
+  font-size: 80%;
 }
 
 .sidebar .links {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]