From ae25df43aaf8eb4aac931a52d6c4c8cbcd80731b Mon Sep 17 00:00:00 2001 From: Random Penguin <25882519-randompenguin@users.noreply.gitlab.com> Date: Wed, 19 Mar 2025 15:39:01 -0500 Subject: [PATCH] fixed mobile spacing sheduled + contacts --- bookface_auto.css | 70 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/bookface_auto.css b/bookface_auto.css index ac5e049..b8db192 100644 --- a/bookface_auto.css +++ b/bookface_auto.css @@ -1858,6 +1858,41 @@ body.mod-settings #delegation .contact-block-img { body.mod-profile .vcard + #sidebar-photos-albums::before { content: ''; } + /* only seen on your own Contacts Page */ + @supports not selector(:has(*)){ + body.mod-contact #peoplefind-sidebar::before { + content: '\f0c0'; + font-family: ForkAwesome; + font-size: 150px; + position: fixed; + top: 175px; + left: 0; + right: 0; + text-align: center; + color: var(--nav-icon-color); + opacity: .5; + z-index: -1; + transition-duration: .5s; + transition-property: left; + } + body.mod-contact aside.canvas-sliding #peoplefind-sidebar::before, + body.mod-contact aside.canvas-slid #peoplefind-sidebar::before { + left: 50%; + } + } + @supports selector(:has(*)){ + body.mod-contact aside:has(#peoplefind-sidebar) + #content { + margin-top: 0; + } + /* Fix Scheduled Posts Page spacing + Note: aside not :empty because of whitespace, + :blank works but is poorly supported, + :not(has(*)) works but not in old browsers + */ + body.mod-profile aside:not(:has(*)) + #content { + margin-top: 0; + } + } body.mod-contact aside, body.mod-photos aside, body.mod-profile aside { @@ -4574,6 +4609,41 @@ a.tag.label, body.mod-profile .vcard + #sidebar-photos-albums::before { content: ''; } + /* only seen on your own Contacts Page */ + @supports not selector(:has(*)){ + body.mod-contact #peoplefind-sidebar::before { + content: '\f0c0'; + font-family: ForkAwesome; + font-size: 150px; + position: fixed; + top: 175px; + left: 0; + right: 0; + text-align: center; + color: var(--nav-icon-color); + opacity: .5; + z-index: -1; + transition-duration: .5s; + transition-property: left; + } + body.mod-contact aside.canvas-sliding #peoplefind-sidebar::before, + body.mod-contact aside.canvas-slid #peoplefind-sidebar::before { + left: 50%; + } + } + @supports selector(:has(*)){ + body.mod-contact aside:has(#peoplefind-sidebar) + #content { + margin-top: 0; + } + /* Fix Scheduled Posts Page spacing + Note: aside not :empty because of whitespace, + :blank works but is poorly supported, + :not(has(*)) works but not in old browsers + */ + body.mod-profile aside:not(:has(*)) + #content { + margin-top: 0; + } + } body.mod-contact aside, body.mod-photos aside, body.mod-profile aside {