This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html:not(.no-js):not(.user-is-tabbing) button:focus, | |
html:not(.no-js):not(.user-is-tabbing) input:focus, | |
html:not(.no-js):not(.user-is-tabbing) select:focus, | |
html:not(.no-js):not(.user-is-tabbing) textarea:focus { | |
outline: none; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Javascript closure. | |
*/ | |
( function( window, document, undefined ) { | |
'use strict'; | |
// do something | |
} )( window, window.document ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* iOS 6 style switch checkboxes | |
* by Lea Verou http://lea.verou.me | |
*/ | |
:root input[type="checkbox"] { /* :root here acting as a filter for older browsers */ | |
position: absolute; | |
opacity: 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>CSS3 CoverFlow</title> | |
<link rel="stylesheet" href="css/coverflow.css"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ( ! function_exists( 'ucc_nav_menu_css_class' ) ) { | |
function ucc_nav_menu_css_class( $classes, $item, $args ) { | |
$class = sanitize_title( $item->title ); | |
$classes[] = 'menu-item-' . $class; | |
return $classes; | |
} } | |
add_filter( 'nav_menu_css_class', 'ucc_nav_menu_css_class', 10, 3 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ( ! function_exists( 'ucc_add_cpts_to_pre_get_posts' ) ) { | |
function ucc_add_cpts_to_pre_get_posts( $query ) { | |
if ( $query->is_main_query() && ! is_post_type_archive() && ! is_singular() && ! is_404() ) { | |
$my_post_type = get_query_var( 'post_type' ); | |
if ( empty( $my_post_type ) ) { | |
$args = array( | |
'exclude_from_search' => false, | |
'public' => true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media only screen and (min-width: 320px) { | |
/* Small screen, non-retina */ | |
} | |
@media | |
only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 320px), | |
only screen and ( min--moz-device-pixel-ratio: 2) and (min-width: 320px), | |
only screen and ( -o-min-device-pixel-ratio: 2/1) and (min-width: 320px), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fonte: Wikipedia | |
# URL: https://it.wikipedia.org/wiki/Province_d%27Italia | |
# Aggiornato al: 2022 | |
Agrigento | |
Alessandria | |
Ancona | |
Aosta | |
Arezzo | |
Ascoli Piceno |