Skip to content

Instantly share code, notes, and snippets.

@Glinkfr
Created October 7, 2019 10:56
Show Gist options
  • Save Glinkfr/6b38672b633ab0096af8c3fa2d010a94 to your computer and use it in GitHub Desktop.
Save Glinkfr/6b38672b633ab0096af8c3fa2d010a94 to your computer and use it in GitHub Desktop.
Thème enfant Sparkling fichier CSS
/*
Theme Name: Sparkling Child
Theme URI: http://colorlib.com/wp/themes/sparkling
Author: Colorlib
Author URI: http://colorlib.com/
Description: Sparkling is a clean minimal and responsive WordPress theme well suited for travel, health, business, finance, design, art, personal and any other creative websites and blogs. Developed using Bootstrap 3 that makes it mobile and tablets friendly. Theme comes with full-screen slider, social icon integration, author bio, popular posts widget and improved category widget. Sparkling incorporates latest web standards such as HTML5 and CSS3 and is SEO friendly thanks to its clean structure and codebase. It has dozens of Theme Options to change theme layout, colors, fonts, slider settings and much more. Theme is also translation and multilingual ready and is available in Spanish. Sparkling is a free WordPress theme with premium functionality and design.
Version: 1.5.0
Template: sparkling
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sparkling
Domain Path: /languages/
Tags: green, light, white, gray, black, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, photoblogging, left-sidebar, translation-ready, custom-background, custom-colors, custom-menu, featured-images, full-width-template, post-formats, theme-options, threaded-comments
This theme, like WordPress, is licensed under the GPL.
sparkling is based on Underscores http://underscores.me/, (C) 2012-2013 Automattic, Inc.
*/
/*
Fichier CSS pour corriger l'erreur d'affichage sous IE et Edge
Ma couleur principale ici est orange #ff9911; à remplacer par votre couleur principale
*/
/* =Singe Post/Page Pagination
----------------------------------------------- */
.pagination li:hover a{
color: #ff9911;
}
.pagination li:focus-within a {
color: #ff9911;
}
/* =Media
----------------------------------------------- */
.single-featured:hover {
opacity: 0.8;
}
.single-featured:focus-within {
opacity: 0.8;
}
/* Recent Post widgets */
.popular-posts-wrapper .post .post-image img:hover{
opacity: 0.6 !important;
}
.popular-posts-wrapper .post .post-image img:focus-within {
opacity: 0.6 !important;
}
/* =Infinite Scroll
----------------------------------------------- */
#infinite-handle span:hover{
background-color: #ff9911;
color: #fff;
}
#infinite-handle span:focus-within {
background-color: #ff9911;
color: #fff;
}
/* =Navigation
----------------------------------------------- */
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > .caret,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li:hover > a,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
color: #ff9911;
background-color: transparent;
}
.navbar-default .navbar-nav > li:focus-within > a{
color: #ff9911;
background-color: transparent;
}
.navbar-default .navbar-nav .dropdown-menu > li:hover{
color: #fff;
/*background-color: transparent;*/
background-color: #ff9911;
}
.navbar-default .navbar-nav .dropdown-menu > li:focus-within {
color: #fff;
/*background-color: transparent;*/
background-color: #ff9911;
}
.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover,
.dropdown-menu > li:hover > a,
.dropdown-menu > li:hover > .caret{
background-color: transparent;
color: #fff;
}
.dropdown-menu > li:focus-within > a,
.dropdown-menu > li:focus-within > .caret {
background-color: transparent;
color: #fff;
}
.navbar-default .navbar-nav.sparkling-mobile-menu > li:hover > a{
color: #777;
}
.navbar-default .navbar-nav.sparkling-mobile-menu > li:focus-within > a {
color: #777;
}
.navbar-default .navbar-nav.sparkling-mobile-menu > li:hover > a,
.navbar-default .navbar-nav.sparkling-mobile-menu > li:hover > .caret{
color: #fff;
}
.navbar-default .navbar-nav.sparkling-mobile-menu > li:focus-within > a,
.navbar-default .navbar-nav.sparkling-mobile-menu > li:focus-within > .caret {
color: #fff;
}
.pagination > li > a,
.pagination > li > span,
.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:hover {
color: #ff9911;
}
.pagination > li > span:focus-within{
color: #ff9911;
}
/* =Gallery
-------------------------------------------------------------- */
.gallery-item:hover .gallery-caption{
opacity: 1;
}
.gallery-item:focus-within .gallery-caption {
opacity: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment