From 1cdb4806d082945177f6da2e072ae4043bacf041 Mon Sep 17 00:00:00 2001 From: Felix Hamann Date: Sat, 7 Jul 2018 21:10:52 +0200 Subject: [PATCH 1/3] more beautiful definition-lists --- templates/default-layout.lucius | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/templates/default-layout.lucius b/templates/default-layout.lucius index 3abf26a8f..f90806be1 100644 --- a/templates/default-layout.lucius +++ b/templates/default-layout.lucius @@ -435,22 +435,26 @@ input[type="button"].btn-info:hover, .deflist__dt { font-weight: 600; - font-size: 20px; - - /* bad. avoid this. */ - > a { - font-size: 16px; - } } .deflist__dd { - margin-bottom: 4px; + font-size: 18px; + margin-bottom: 10px; } @media (min-width: 768px) { .deflist { - grid-template-columns: max-content auto; + grid-template-columns: max-content minmax(auto, max-content); + + .deflist { + margin-top: -10px; + margin-right: -15px; + + .deflist__dd { + padding-right: 15px; + } + } } .deflist__dt, @@ -458,6 +462,7 @@ input[type="button"].btn-info:hover, border-bottom: 1px solid #d3d3d3; padding: 12px 0; margin: 0; + font-size: 16px; &:last-of-type { border: 0; @@ -465,7 +470,10 @@ input[type="button"].btn-info:hover, } .deflist__dt { - padding-right: 24px; - font-size: 16px; + padding-right: 50px; + } + + .deflist__dd { + padding-right: 15px; } } From a237fc0f2750c846f85df48f94660965b736f4c6 Mon Sep 17 00:00:00 2001 From: Felix Hamann Date: Sat, 7 Jul 2018 21:39:09 +0200 Subject: [PATCH 2/3] no overflow in changelog on imprint --- templates/versionHistory.hamlet | 2 +- templates/versionHistory.lucius | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 templates/versionHistory.lucius diff --git a/templates/versionHistory.hamlet b/templates/versionHistory.hamlet index 2cf13182d..7ad727838 100644 --- a/templates/versionHistory.hamlet +++ b/templates/versionHistory.hamlet @@ -13,7 +13,7 @@

Versionsgeschichte -
+    
       #{changeLog}
 
   

diff --git a/templates/versionHistory.lucius b/templates/versionHistory.lucius new file mode 100644 index 000000000..a6ef22367 --- /dev/null +++ b/templates/versionHistory.lucius @@ -0,0 +1,4 @@ +#changelog { + font-size: 14px; + white-space: pre-line; +} From e67139aba473cbf7d2ad93a8b9c28ff9f7a3941c Mon Sep 17 00:00:00 2001 From: Felix Hamann Date: Sat, 7 Jul 2018 21:44:13 +0200 Subject: [PATCH 3/3] Theme lavender now actually feels like lavender --- templates/default-layout.lucius | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/default-layout.lucius b/templates/default-layout.lucius index f90806be1..6939d7616 100644 --- a/templates/default-layout.lucius +++ b/templates/default-layout.lucius @@ -49,11 +49,11 @@ body { --color-lmu-box-border: var(--color-lightwhite); &.theme--lavender { - --color-primary: #4C7A9C; - --color-light: #598EB5; - --color-lighter: #5F98C2; - --color-dark: #425d79; - --color-darker: #274a65; + --color-primary: #4c569c; + --color-light: #5969b5; + --color-lighter: #5f7dc2; + --color-dark: #4c4279; + --color-darker: #273765; --color-link: var(--color-dark); --color-link-hover: var(--color-darker); }