From a1e8753d447c5d6ade7ccfba95e53e6a73e5a5ad Mon Sep 17 00:00:00 2001 From: AlxMedia Date: Fri, 1 Oct 2021 15:41:37 +0200 Subject: [PATCH] 1.0.6 --- readme.txt | 3 +++ responsive.css | 10 +++++++--- style.css | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/readme.txt b/readme.txt index 22ce0c6..f11f334 100644 --- a/readme.txt +++ b/readme.txt @@ -72,6 +72,9 @@ Sidebar images == Changelog == += 1.0.6 - 2021-10-01 = +* Added search button to mobile and tablet view + = 1.0.5 - 2021-08-25 = * Added missing theme tags for wordpress.org diff --git a/responsive.css b/responsive.css index fac5c2e..47e69b2 100644 --- a/responsive.css +++ b/responsive.css @@ -23,20 +23,24 @@ #header { float: left; min-width: 100%; max-width: 100%; padding-bottom: 0; } .site-title { padding-top: 20px; padding-bottom: 10px; border-bottom: 0; } .site-description { padding-top: 0; padding-bottom: 10px; } - .s2 { box-shadow: none; position: relative; width: 100%; max-width: none; min-width: none; text-align: center; top: 0!important; } + .s2 { background: transparent; box-shadow: none; float: left; position: relative; width: 100%; max-width: none; min-width: none; text-align: center; top: 0!important; } .s2 .social-links li:before { display: none; } .s2 .social-links { margin-top: 0; padding: 0; } .s2 .social-links li { width: auto; } .s2 .social-links .social-tooltip { font-size: 20px; margin: 0; padding-top: 10px; padding-bottom: 10px; } .s2 .social-links .social-tooltip:hover:after, .s2 .social-links .social-tooltip:hover:before { display: none; } - .toggle-search { display: none; } + .toggle-search { position: absolute; bottom: -66px; left: auto; right: 0; margin: 0; padding: 11px 0; } + .toggle-search.active { position: absolute; padding: 13px 0; } + .search-expand { width: 220px; left: auto; right: 0; top: auto; bottom: -66px; padding: 6px 60px 7px 6px; } .main { float: left; padding-top: 0; } .s1 { margin: 0; } } @media only screen and (max-width: 719px) { .site-title a img { margin: 0 auto; } - .toggle-search { display: none; } + .toggle-search { position: absolute; left: 0; right: auto; bottom: -50px; margin: 0; padding: 11px 0; } + .toggle-search.active { position: absolute; padding: 13px 0; } + .search-expand { width: 220px; left: 0; right: auto; top: auto; bottom: -50px; padding: 6px 6px 7px 60px; } .s2 { z-index: 9!important; min-width: 100%; max-width: 100%; } } diff --git a/style.css b/style.css index 646c864..9c3820c 100644 --- a/style.css +++ b/style.css @@ -1,7 +1,7 @@ /* Theme Name: Textdash Theme URI: http://alx.media/themes/textdash/ -Version: 1.0.5 +Version: 1.0.6 Requires at least: 5.0 Requires PHP: 5.6 Tested up to: 5.8