From 2259de2e8d5ed3434ce1555b45149f4c07343e89 Mon Sep 17 00:00:00 2001 From: Thorge Petersen <petersen@rz.uni-kiel.de> Date: Fri, 13 Jan 2023 15:02:22 +0100 Subject: [PATCH] Aligned header and modules with old version --- ckanext/odsh/fanstatic/odsh.css | 15 +++++++++++++-- ckanext/odsh/fanstatic/odsh_header.css | 7 +++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/ckanext/odsh/fanstatic/odsh.css b/ckanext/odsh/fanstatic/odsh.css index 7588cba4..9f32fcf4 100644 --- a/ckanext/odsh/fanstatic/odsh.css +++ b/ckanext/odsh/fanstatic/odsh.css @@ -80,6 +80,9 @@ textarea { font-family: 'MuseoSans', 'Helvetica Neue', Helvetica, Arial, sans-serif; } +h1, .h1, h2, .h2, h3, .h3 { + margin: 10px 0; +} h1 { color: #003064; @@ -538,6 +541,15 @@ input[type=checkbox] { color: black; } +.secondary .module:first-child, .primary .module:first-child { + margin-top: 0; +} + +.module { + margin: 20px 0; + margin-top: 20px; +} + .navbar-static-top { z-index: 3; } @@ -2085,7 +2097,6 @@ ul.pagination>li:last-child>span:hover { } .logo { - margin-left: -7px; height: auto; box-sizing: border-box; width: 155px; @@ -2953,4 +2964,4 @@ body.filters-modal div.row>aside.secondary.span3 { .tpsh-collection-list { list-style-type: none; -} \ No newline at end of file +} diff --git a/ckanext/odsh/fanstatic/odsh_header.css b/ckanext/odsh/fanstatic/odsh_header.css index 1d729bc7..5e3109eb 100644 --- a/ckanext/odsh/fanstatic/odsh_header.css +++ b/ckanext/odsh/fanstatic/odsh_header.css @@ -40,7 +40,6 @@ padding-right: 0; position: relative; top: 0; - margin-left: 18px; padding: 1em 0; } @@ -390,4 +389,8 @@ .navbar.masthead .navigation .nav-pills li.open .user-icon, .navbar.masthead .navigation .nav-pills li a:hover .user-icon { fill: white; -} \ No newline at end of file +} + +.masthead .logo img { + max-height: initial; +} -- GitLab