From 0fcd167bb456853c39f092a29ba670c92659a370 Mon Sep 17 00:00:00 2001 From: erciccione Date: Sat, 26 Jun 2021 13:14:09 +0200 Subject: [PATCH] custom.css: fix blog minor issues Co-authored-by: alreadyburnt <81592644+alreadyburnt@users.noreply.github.com> --- css/custom.css | 46 ++++++++++++++++++++-------------------------- 1 file changed, 20 insertions(+), 26 deletions(-) diff --git a/css/custom.css b/css/custom.css index 0690a08e..7183dbdd 100644 --- a/css/custom.css +++ b/css/custom.css @@ -2914,6 +2914,8 @@ footer a.white:hover, a.white:focus { .site-wrap { padding-bottom: 470px; padding-bottom: 29.375rem; + margin-bottom: -470px; + margin-bottom: -29.375rem; } footer { @@ -2938,6 +2940,7 @@ footer { .site-wrap { padding-bottom: 0; + margin-bottom: 0; } footer { @@ -3356,8 +3359,7 @@ span.icon-git { } .mob.dropdowndrop input:checked ~ ul#menu { - display: block; - transition:max-height 0.5s ease-in; + max-height: 30rem; } .mob.dropdowndrop label{ @@ -3393,7 +3395,7 @@ span.icon-git { } .mob.dropdowndrop input:checked ~ label { - color: #d26e2b; + color: #d26e2b; } .mob.dropdowndrop input:hover ~ .mob.dropdowndrop label:after { @@ -3409,19 +3411,19 @@ span.icon-git { } .mob.dropdowndrop ul#menu { - display:none; + max-height: 0; padding:0; - overflow:hidden; + margin: 0; + width: 100%; + overflow: hidden; + background: #ffffff; list-style-type:none; + -webkit-transition: max-height 0.3s; + -o-transition: max-height 0.3s; + transition: max-height 0.3s; -moz-box-shadow: 0 2px 4px rgba(50,50,93,.1); -webkit-box-shadow: 0 2px 4px rgba(50,50,93,.1); box-shadow: 0 2px 4px rgba(50,50,93,.1); - transition:max-height 0.5s ease-out; - min-width:100%; - text-align: left; - background: #ffffff; - width: 100%; - margin: 0; } .mob.dropdowndrop ul#menu li a { @@ -4062,6 +4064,10 @@ img.emoji { margin-top: 0; } +.feed { + position: relative; +} + .feed span { height: 30px; width: 30px; @@ -4071,7 +4077,8 @@ img.emoji { .feed span.feed-pic { background: url(../img/feed.svg) no-repeat; - float: right; + position: absolute; + right: 0; } @media only screen and (max-width: 75rem) { @@ -4091,14 +4098,6 @@ img.emoji { } } -@media only screen and (max-width: 48rem) { - -} - -@media only screen and (max-width: 30rem) { - -} - /* Hangouts Styling */ @@ -4218,10 +4217,6 @@ p.hangouts-social { width: 3rem; } -@media only screen and (max-width: 75rem) { - -} - @media only screen and (max-width: 62rem) { .hangouts .irc .col-md-4 { @@ -4507,7 +4502,6 @@ label.accordion { .tab-content { max-height: 0; - border-radius: 3px; -webkit-transition: max-height 0.3s; -o-transition: max-height 0.3s; transition: max-height 0.3s; @@ -4519,7 +4513,7 @@ label.accordion { } input.accordion:checked ~ .tab-content { - max-height: 100rem; + max-height: 85rem; } label.accordion::after {