From 5a4824140ca09fbdf4ed8f5aff1686d1bd512fbe Mon Sep 17 00:00:00 2001 From: Sophia Atkinson Date: Tue, 13 May 2025 23:26:18 -0700 Subject: [PATCH] Set accent color to #F5A9B8, disabled custom- colors from the editor --- functions.php | 12 +++-- inc/custom-header.php | 1 + style.css | 115 ++++++++++++++++++++---------------------- 3 files changed, 63 insertions(+), 65 deletions(-) diff --git a/functions.php b/functions.php index 1e7e08f..30439c9 100644 --- a/functions.php +++ b/functions.php @@ -68,10 +68,11 @@ if ( ! function_exists( 'sophia_after_dark_setup' ) ) : ) ); // Set up the WordPress core custom background feature. - add_theme_support( 'custom-background', apply_filters( 'sophia_after_dark_custom_background_args', array( - 'default-color' => 'ffffff', - 'default-image' => '', - ) ) ); + // Disabled in V1.4.3 + //add_theme_support( 'custom-background', apply_filters( 'sophia_after_dark_custom_background_args', array( + //'default-color' => 'ffffff', + //'default-image' => '', + //) ) ); // Add theme support for selective refresh for widgets. add_theme_support( 'customize-selective-refresh-widgets' ); @@ -146,8 +147,9 @@ add_filter( 'walker_nav_menu_start_el', 'sophia_after_dark_nav_description', 10, /** * Implement the Custom Header feature. + * Disabled in V1.4.3 */ -require get_template_directory() . '/inc/custom-header.php'; +//require get_template_directory() . '/inc/custom-header.php'; /** * Custom template tags for this theme. diff --git a/inc/custom-header.php b/inc/custom-header.php index 956ee13..e9ca0a6 100644 --- a/inc/custom-header.php +++ b/inc/custom-header.php @@ -9,6 +9,7 @@ * * @package Sophia After Dark * @since 1.0.0 + * @disabled 1.4.3 */ /** diff --git a/style.css b/style.css index 9919ff4..686e1b2 100644 --- a/style.css +++ b/style.css @@ -3,7 +3,7 @@ Theme Name: Sophia After Dark Author: Sophia Atkinson, Mystery Themes Author URI: https://sophia.wtf Description: Sophia After Dark is a page builder based and colorful free blog style WordPress theme fit for writers and bloggers. With the help of live customizer option makes your site own and present your content in an attractive way. It comes up with an amazing creative blog layouts, fully RTL and translation ready, and also compatible with Gutenberg. The theme works perfectly with Elementor that helps to create a beautiful and unique website faster. As its name suggests, it added staggering variety of color and makes your site attractive and elegant. -Version: 1.4.2 +Version: 1.4.3 Requires at least: 4.7 Tested up to: 6.8.1 Requires PHP: 5.2.4 @@ -116,10 +116,6 @@ html { box-sizing: border-box; } -body { - background: #fff; -} - article, aside, details, @@ -231,6 +227,7 @@ h6 { } p { + font-size: 15px; margin-bottom: 20px; } @@ -443,7 +440,9 @@ input[type="submit"] { border: 1px solid #e1e1e1; background: none; } - +button{ + padding: none!important; +} .navigation .nav-links a:hover, .bttn:hover, button, @@ -517,7 +516,7 @@ Links --------------------------------------------------------------*/ a { - color: #dd3333; + color: #F5A9B8; text-decoration: none; transition: all 0.3s ease-in-out; -webkit-transition: all 0.3s ease-in-out; @@ -529,7 +528,7 @@ a:visited {} a:hover, a:focus, a:active { - color: #dd3333; + color: #F5A9B8; } a:focus { @@ -668,7 +667,7 @@ Posts and pages h1.entry-title { color: #353535; - font-weight: 700; + font-weight: 600; padding-bottom: 0; text-transform: capitalize; } @@ -725,7 +724,7 @@ h1.entry-title a { .entry-cat a:hover, .byline a:hover, .posted-on a:hover { - color: #dd3333; + color: #F5A9B8; } .cat-links { @@ -748,7 +747,7 @@ h1.entry-title a { } .edit-link .post-edit-link { - background: #dd3333; + background: #F5A9B8; padding: 4px 10px; color: #FFF !important; line-height: 1; @@ -789,6 +788,7 @@ article.hentry .entry-footer>span { .page-header .page-title { color: #ffffff; padding-bottom: 15px; + font-weight: 600; } .updated { @@ -804,7 +804,7 @@ article.hentry .entry-footer>span { } .entry-footer a:hover { - color: #dd3333 + color: #F5A9B8 } .nav-links .meta-nav { @@ -956,7 +956,7 @@ Comments #comments h3 { margin: 0 0 10px; - color: #141414; + color: #fff; font-weight: 600; display: inline-block; line-height: 22px; @@ -1032,7 +1032,7 @@ textarea#comment { } .comment-author .fn .url:hover { - color: #dd3333; + color: #F5A9B8; } .comment-author .says { @@ -1052,7 +1052,7 @@ textarea#comment { } .commentmetadata .comment-edit-link { - color: #dd3333; + color: #F5A9B8; } .commentmetadata+.clear { @@ -1060,7 +1060,7 @@ textarea#comment { } .reply .comment-reply-link { - background: none repeat scroll 0 0 #dd3333; + background: none repeat scroll 0 0 #F5A9B8; color: #FFFFFF; font-size: 12px; line-height: 20px; @@ -1082,7 +1082,7 @@ textarea#comment { #cancel-comment-reply-link { font-style: italic; - color: #dd3333; + color: #F5A9B8; } #cancel-comment-reply-link:before { @@ -1090,11 +1090,11 @@ textarea#comment { content: "\f057"; margin: 0 5px 0 20px; font-style: normal; - color: #dd3333; + color: #F5A9B8; } .logged-in-as a { - color: #dd3333; + color: #F5A9B8; } @@ -1339,7 +1339,7 @@ Default widget css .widget a:hover, .widget a:hover::before, .widget li:hover::before { - color: #dd3333; + color: #F5A9B8; } .widget_archive a::before, @@ -1409,8 +1409,8 @@ Default widget css .widget_search .search-submit { height: 36px; width: 25%; - background: #dd3333; - border-color: #dd3333; + background: #F5A9B8; + border-color: #F5A9B8; color: #ffffff; } @@ -1445,8 +1445,8 @@ Default widget css .widget_search .search-submit:hover { height: 36px; width: 25%; - background: #dd3333; - border-color: #dd3333; + background: #F5A9B8; + border-color: #F5A9B8; color: #ffffff; padding: 0; } @@ -1464,9 +1464,9 @@ Default widget css .widget_tag_cloud .tagcloud a:hover, .widget.widget_tag_cloud a:hover { - background: #dd3333; + background: #F5A9B8; color: #fff; - border-color: #dd3333; + border-color: #F5A9B8; } .wp-block-search__button { @@ -1475,6 +1475,7 @@ Default widget css width: 80px; margin: 0; height: 36px; + padding: unset!important; } /*-------------------------------------------------------------- @@ -1671,7 +1672,7 @@ Header CSS } #top-navigation ul li a:hover { - color: #dd3333; + color: #F5A9B8; } #masthead .widget { @@ -1754,7 +1755,7 @@ Header CSS } .mt-social-icon-wrap li a:hover { - color: #dd3333; + color: #F5A9B8; } .mt-header-extra-icons { @@ -1791,7 +1792,6 @@ Header CSS .is-sticky .mt-social-menu-wrapper { background: #0B0B0B; z-index: 9999; - box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); } #site-navigation { @@ -1853,7 +1853,7 @@ Search CSS } .mt-search-icon:hover { - color: #dd3333; + color: #F5A9B8; } .mt-search-icon i { @@ -1914,13 +1914,13 @@ Search CSS } .mt-menu-search .mt-form-wrap .search-form .search-field:focus { - outline: 2px solid #DD3333; + outline: 2px solid #F5A9B8; } .mt-menu-search .mt-form-wrap .search-form .search-submit { margin-top: 30px; padding: 16px 60px; - background: #dd3333; + background: #F5A9B8; border: none; color: #fff; font-size: 18px; @@ -1930,11 +1930,6 @@ Search CSS transition: 0.3s ease; } -.mt-menu-search .mt-form-wrap .search-form .search-submit:hover { - background: #dd3333; - border-radius: 30px; -} - .mt-form-close { position: absolute; right: 40px; @@ -1949,7 +1944,7 @@ Search CSS } .mt-form-close:hover { - color: #dd3333; + color: #F5A9B8; } /*-------------------------------------------------------------- @@ -1975,7 +1970,7 @@ Menu CSS } .menu-toggle:hover { - color: #dd3333; + color: #F5A9B8; } .menu-toggle i { @@ -2050,7 +2045,7 @@ Menu CSS #site-navigation ul li.current_page_item>a, #site-navigation ul li.current-menu-parent>a, #site-navigation ul li.focus>a { - color: #dd3333; + color: #F5A9B8; } #site-navigation ul li .sub-menu, @@ -2157,7 +2152,7 @@ Menu CSS position: absolute; top: -15px; right: -20px; - background: #dd3333; + background: #F5A9B8; line-height: 24px; font-size: 12px; padding: 0 10px; @@ -2174,7 +2169,7 @@ Menu CSS height: 0; border-style: solid; border-width: 3px 3px 0 0; - border-color: #dd3333 transparent transparent transparent; + border-color: #F5A9B8 transparent transparent transparent; -webkit-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; @@ -2306,7 +2301,7 @@ Slider CSS } .post-cats-list a { - background: #dd3333; + background: #F5A9B8; font-size: 12px; color: #fff; padding: 1px 10px; @@ -2348,7 +2343,7 @@ Slider CSS } .front-slider-block .lSAction>a:hover { - background: #dd3333; + background: #F5A9B8; } .features-post-title { @@ -2398,7 +2393,7 @@ Slider CSS height: 25px; line-height: 25px; color: #fff; - background: #dd3333; + background: #F5A9B8; text-align: center; } @@ -2439,7 +2434,7 @@ article { .entry-title a:hover, .cat-links a:hover { - color: #dd3333; + color: #F5A9B8; } .entry-meta a { @@ -2449,7 +2444,7 @@ article { } .entry-meta a:hover { - color: #dd3333; + color: #F5A9B8; } .entry-content { @@ -2483,7 +2478,7 @@ article { .entry-footer .mt-readmore-btn:hover, .btn-wrapper a:hover, .mt-readmore-btn:hover { - color: #dd3333; + color: #F5A9B8; } .entry-footer .mt-readmore-btn:hover i, @@ -2519,7 +2514,7 @@ article.sticky::before { display: block; width: 40px; height: 40px; - background: #dd3333; + background: #F5A9B8; color: #fff; font-size: 15px; line-height: 40px; @@ -2589,14 +2584,14 @@ article.page .post-thumbnail::before, .navigation.pagination .nav-links .page-numbers.current, .navigation.pagination .nav-links a.page-numbers:hover { - border: 1px solid #dd3333; + border: 1px solid #F5A9B8; padding: 12px 15px; vertical-align: top; display: inline-block; margin: 0 5px; font-size: 14px; line-height: 13px; - color: #dd3333; + color: #F5A9B8; } .archive-grid-post-wrapper, @@ -2651,7 +2646,7 @@ Sidebar CSS content: ""; width: 25px; height: 3px; - background: #dd3333; + background: #F5A9B8; top: 10px; } @@ -2727,7 +2722,7 @@ Error 404 styles .error-404.not-found { text-align: center; width: 900px; - border: 5px solid #dd3333; + border: 5px solid #F5A9B8; margin: 0 auto; padding: 30px 0 40px 0; } @@ -2760,7 +2755,7 @@ Custom Header styles background-attachment: fixed; margin-bottom: 50px; position: relative; - border-top: 4px solid #dd3333; + border-top: 4px solid #F5A9B8; background-position: center center; } @@ -2909,7 +2904,7 @@ Footer CSS } #footer-menu li a:hover { - color: #dd3333; + color: #F5A9B8; } #bottom-footer { @@ -2934,7 +2929,7 @@ Footer CSS } #top-footer a:hover { - color: #dd3333; + color: #F5A9B8; } #top-footer .posted-on a::before { @@ -3010,7 +3005,7 @@ sophia-after-dark Widget CSS } .mt-latest-posts-wrapper .mt-post-title a:hover { - color: #dd3333; + color: #F5A9B8; } .mt-latest-posts-wrapper .entry-cat { @@ -3045,9 +3040,9 @@ sophia-after-dark Widget CSS } .sophia-after-dark_social_media a:hover { - background: #dd3333; + background: #F5A9B8; color: #ffffff !important; - border-color: #dd3333; + border-color: #F5A9B8; } .mt-single-related-posts { @@ -3111,7 +3106,7 @@ Scroll To Top styles } #mt-scrollup:hover { - color: #dd3333; + color: #F5A9B8; } .single article .post-thumbnail:hover img {