mirror of
https://ghproxy.net/https://github.com/AlxMedia/splits.git
synced 2025-08-26 07:44:53 +08:00
FA 5.15.2 + trap js/html + regen lang + menu css fix + dropdown width + style.css version number + pingback header fix + disable nav mods
This commit is contained in:
parent
95d27b91bb
commit
eee1924e85
23 changed files with 6761 additions and 1620 deletions
16
style.css
16
style.css
|
@ -1,10 +1,10 @@
|
|||
/*
|
||||
Theme Name: Split
|
||||
Theme URI: http://alx.media/themes/split/
|
||||
Version: 1.4.1
|
||||
Version: 1.4.2
|
||||
Requires at least: 5.0
|
||||
Requires PHP: 5.6
|
||||
Tested up to: 5.5
|
||||
Tested up to: 5.6
|
||||
Description: <a href="http://alx.media/themes/split/">Split</a> is a responsive 100% high resolution theme for blogs and magazines. The feature list is long: Unlimited accent colors, unlimited widget areas, sidebar to the right that can be uniquely specified for each page or post, 0-4 footer widget columns, almost zero layout images, related posts and post nav, featured stories and carousel, 5 post formats, good SEO, 2 flexible custom widgets, localisation support, social links, logo upload and many more useful admin panel features.
|
||||
Author: Alexander Agnarson
|
||||
Author URI: http://alx.media
|
||||
|
@ -554,13 +554,13 @@ box-shadow: 0 0 2px rgba(255,255,255,0.4);
|
|||
|
||||
.nav-menu:not(.mobile) .menu { flex-wrap: wrap; justify-content: flex-start; }
|
||||
.nav-menu:not(.mobile) .menu ul.active,
|
||||
.nav-menu:not(.mobile) .menu li.hover > ul { overflow: visible; width: 180px; opacity: 1; transform: translateY(0); transition: opacity 0.15s linear, transform 0.15s linear; }
|
||||
.nav-menu:not(.mobile) .menu ul .sub-menu { left: 200px; top: 0; }
|
||||
.nav-menu:not(.mobile) .menu li.hover > ul { overflow: visible; width: 200px; opacity: 1; transform: translateY(0); transition: opacity 0.15s linear, transform 0.15s linear; }
|
||||
.nav-menu:not(.mobile) .menu ul .sub-menu { left: 220px; top: 0; }
|
||||
.nav-menu:not(.mobile) .menu { position: relative; }
|
||||
.nav-menu:not(.mobile) .menu ul { font-size: 15px; opacity: 0; padding: 10px 0; position: absolute; top: calc(100% + 20px); transition: opacity 0.15s linear, transform 0.15s linear, right 0s 0.15s; transform: translateY(6px); z-index: 1; }
|
||||
.nav-menu:not(.mobile) .menu ul li { position: relative; }
|
||||
.nav-menu:not(.mobile) .menu ul a { display: block; padding: 10px 20px; transition: background-color 0.15s linear; width: 100%; }
|
||||
.nav-menu:not(.mobile) .menu li.menu-item-has-children.focus > ul { min-width: 180px; max-width: 180px; max-height: 300vh; overflow: visible; opacity: 1; transform: translateY(0); transition: opacity 0.15s linear, transform 0.15s linear; }
|
||||
.nav-menu:not(.mobile) .menu li.menu-item-has-children.focus > ul { min-width: 200px; max-width: 200px; max-height: 300vh; overflow: visible; opacity: 1; transform: translateY(0); transition: opacity 0.15s linear, transform 0.15s linear; }
|
||||
.nav-menu:not(.mobile) .menu li.menu-item-has-children.focus > ul:focus-within { opacity: 1!important; }
|
||||
.nav-menu:not(.mobile) .menu li ul.sub-menu:not(.active) { opacity: 0; }
|
||||
.nav-menu:not(.mobile) .menu li.hover ul.sub-menu:not(.active) { opacity: 1; }
|
||||
|
@ -596,6 +596,12 @@ box-shadow: 0 0 2px rgba(255,255,255,0.4);
|
|||
.nav-menu.mobile ul ul ul li a { padding: 12px 0 12px 60px; }
|
||||
.nav-menu.mobile ul button { margin: 10px 0; padding: 0 20px; }
|
||||
|
||||
/* menu mobile fix */
|
||||
.nav-menu.mobile > div > ul.menu,
|
||||
.nav-menu.mobile.toggled > div > ul.menu ul.sub-menu { visibility: hidden; transition: all 0.3s ease; }
|
||||
.nav-menu.mobile.toggled > div > ul.menu,
|
||||
.nav-menu.mobile.toggled > div > ul.menu ul.sub-menu.active { visibility: visible; }
|
||||
|
||||
/* menu styling */
|
||||
.nav-menu a { color: #fff; }
|
||||
.nav-menu .svg-icon { fill: #333; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue