This commit is contained in:
AlxMedia 2022-09-12 13:49:59 +02:00
parent 181327337f
commit f5ddc1e8fd
4 changed files with 8 additions and 3 deletions

View file

@ -124,7 +124,8 @@ if ( ! function_exists( 'microtype_dynamic_css' ) ) {
if ( get_theme_mod('box-border-radius','60') != '60' ) {
$styles .= '
#wrapper-inner { border-radius: '.esc_attr( get_theme_mod('box-border-radius') ).'px; }
#box-header-top { border-radius: '.esc_attr( get_theme_mod('box-border-radius') ).'px '.esc_attr( get_theme_mod('box-border-radius') ).'px 0 0; }
#box-header-top,
#profile-inner { border-radius: '.esc_attr( get_theme_mod('box-border-radius') ).'px '.esc_attr( get_theme_mod('box-border-radius') ).'px 0 0; }
'."\n";
}
// primary accent

View file

@ -84,5 +84,9 @@ Content images
== Changelog ==
= 1.0.1 - 2022-09-12 =
* Added border radius to blur-overlay
* Updated screenshot
= 1.0.0 - 2022-09-11 =
* Initial release

Binary file not shown.

Before

Width:  |  Height:  |  Size: 330 KiB

After

Width:  |  Height:  |  Size: 329 KiB

Before After
Before After

View file

@ -1,7 +1,7 @@
/*
Theme Name: Microtype
Theme URI: http://alx.media/themes/microtype/
Version: 1.0.0
Version: 1.0.1
Requires at least: 5.0
Requires PHP: 5.6
Tested up to: 6.0
@ -667,7 +667,7 @@ body.dark #theme-toggle-btn:before { border-color: #1a1a1a; top: 2px; left: 34px
#box-header-over { position: absolute; bottom: 0; width: 100%; }
#profile { position: relative; text-align: center; }
#profile-inner { background: rgba(24,26,32,0.6); box-shadow: 0 1px 0 rgba(255,255,255,0.06); position: relative; padding: 20px 40px 70px; backdrop-filter: blur(10px) brightness(100%); -webkit-backdrop-filter: blur(10px) brightness(100%); }
#profile-inner { background: rgba(24,26,32,0.6); box-shadow: 0 1px 0 rgba(255,255,255,0.06); position: relative; padding: 20px 40px 70px; border-radius: 60px 60px 0 0; backdrop-filter: blur(10px) brightness(100%); -webkit-backdrop-filter: blur(10px) brightness(100%); }
#profile-image { background: #1da9ff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); padding: 7px; border-radius: 100%; position: absolute; width: 100px; bottom: -60px; left: 50%; margin-left: -57px; }
#profile-image:after { background: #fff; content: ""; display: block; height: 61px; position: absolute; bottom: -1px; left: -1px; right: -1px; }
#profile-image img { border: 10px solid #fff; display: block; border-radius: 100%; width: 80px; height: 80px; position: relative; z-index: 2; }