403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.168
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/2of3/wp-content/themes/post-1747135716/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/2of3/wp-content/themes/post-1747135716/inc/custom-styles.php
<?php
/**
 * Custom style functions
 *
 * @package Miniva
 */

/**
 * Prints custom css
 */
function miniva_custom_styles() {
	$h = get_theme_mod( 'accent_color', 349 );
	$s = apply_filters( 'miniva_color_saturation', 59 );
	$l = apply_filters( 'miniva_color_lightness', 53 );

	$l2 = max( 0, $l - 13 );

	if ( 349 !== $h ) {
		$style  = '.page-numbers.current, a.page-numbers:hover, .search-form .search-submit, .tagcloud a:hover, .calendar_wrap #today, .bypostauthor > article .fn, #submit, input[type="submit"], button[type="submit"], #infinite-handle span, .fp-post .fp-readmore-link:hover { background-color: hsl(' . absint( $h ) . ', ' . absint( $s ) . '%, ' . absint( $l ) . '%); }';
		$style .= '@media (min-width: 768px) { ul.primary-menu > li:hover > a { background-color: hsl(' . absint( $h ) . ', ' . absint( $s ) . '%, ' . absint( $l ) . '%); } }';
		$style .= 'a, .post-navigation a:hover, .jetpack-social-navigation a:hover, .widget a:hover, .calendar_wrap a, .jetpack_widget_social_icons a:hover, .entry-title a:hover { color: hsl(' . absint( $h ) . ', ' . absint( $s ) . '%, ' . absint( $l ) . '%); }';
		$style .= '#submit:hover, input[type="submit"]:hover, button[type="submit"]:hover, #infinite-handle:hover span { background-color: hsl(' . absint( $h ) . ', ' . absint( $s ) . '%, ' . absint( $l2 ) . '%); }';
		wp_add_inline_style( 'miniva-style', $style );
	}
}
add_action( 'wp_enqueue_scripts', 'miniva_custom_styles' );

Youez - 2016 - github.com/yon3zu
LinuXploit