#Music
#Sport
/* external links | |
a.external | |
background: url('../images/external_link.png') no-repeat right 0px |
/** | |
* Adding google fonts only if not on a .loc/.local domain | |
* | |
* This is the proper code to add google fonts | |
* as seen in TwentyTwelve | |
* Code partially from: https://github.com/wearerequired/required-foundation | |
*/ | |
if(strpos(!$_SERVER['SERVER_NAME'], '.loc')){ | |
$protocol = is_ssl() ? 'https' : 'http'; | |
$query_args = array( 'family' => 'Gentium+Book+Basic:400,400italic,700|Open+Sans' ); |
jQuery(".your-container").fitVids({ customSelector: "iframe[src^='http://www.srf.ch/player']"}); |
<?php | |
if ( ! function_exists('custom_post_type_blog') ) { | |
// Register Custom Post Type | |
function custom_post_type_blog() { | |
$labels = array( | |
'name' => _x( 'Blogs', 'Post Type General Name', '' ), | |
'singular_name' => _x( 'Blog', 'Post Type Singular Name', '' ), | |
'menu_name' => __( 'Blog', '' ), | |
'parent_item_colon' => __( '', '' ), |
<link href='http://fonts.googleapis.com/css?family=Tinos:400italic|Gudea:400,700,400italic' rel='stylesheet' type='text/css'> |
// Retina ready images | |
@mixin at2x($image_name, $w: auto, $h: auto, $extention: '.png') | |
background-image: url($image_name + $extention) | |
$x2img : $image_name + '@2x' + $extention | |
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) | |
background-image: url($x2img) | |
-webkit-background-size: $w $h | |
-moz-background-size: $w $h | |
-o-background-size: $w $h |
#Music
#Sport