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
jQuery(document).ready(function() { | |
jQuery(window).on('resize', function() { | |
jQuery('#negative-margin').css('margin-top', jQuery('#negative-margin').outerHeight() * -1 + 'px'); | |
}) | |
.trigger('resize'); | |
}); |
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 body, h1, h2 ,h3 ,h4 ,h5 ,h6 { | |
font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", sans-serif !important; | |
} |
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
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to make opened Markdown files always be soft wrapped: | |
# | |
# path = require 'path' | |
# |
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
/* ========== Smooth Scroll ========== */ | |
( | |
function ( $ ) { | |
$.fn.vantageSmoothScroll = function () { | |
$( this ).click( function ( e ) { | |
var $a = $( this ); | |
var $target = $( '[name=' + this.hash.slice( 1 ) + ']' ).length ? $( '[name=' + this.hash.slice( 1 ) + ']' ) : $( $a.get( 0 ).hash ); | |
if ( $target.length ) { |
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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{REQUEST_URI} ^/wp-content/uploads/[^\/]*/?.*$ | |
RewriteRule ^(.*)$ http://ntf.dk/$1 [QSA,L] | |
</IfModule> |
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
// Gulp.js configuration | |
'use strict'; | |
const | |
// Gulp and plugins | |
gulp = require('gulp'), | |
gutil = require('gulp-util'), | |
newer = require('gulp-newer'), | |
imagemin = require('gulp-imagemin'), |
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:5>(header.site-header>span.__logo{logo}+nav.__navigation>ul.__navigation-list>li.__navigation-item*3>a.__navigation-link[href="#"]{Menuitem})|bem|c --> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
</head> |
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
( function($) { | |
$.fn.vantageSmoothScroll = function () { | |
$( this ).click( function ( e ) { | |
var $a = $( this ); | |
var $target = $( '[name=' + this.hash.slice( 1 ) + ']' ).length ? $( '[name=' + this.hash.slice( 1 ) + ']' ) : $( $a.get( 0 ).hash ); | |
if ( $target.length ) { | |
var height = 0; | |
if ( $( '#masthead .site-navigation' ).hasClass( 'use-sticky-menu' ) ) { |
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
// ---- | |
// libsass (v3.5.0.beta.2) | |
// ---- | |
.inzite-menu-widget.simple.hierarchy { | |
a { | |
text-decoration: none; | |
} | |
ul { | |
list-style: 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
<?php | |
function mytheme_feature_widget_template( $filename, $instance, $widget ){ | |
$filename = get_stylesheet_directory() . '/partials/feature-widget-template.php'; | |
return $filename; | |
} | |
add_filter( 'siteorigin_widgets_template_file_secondthought-feature-widget', 'mytheme_feature_widget_template', 10, 3 ); | |
?> |