Skip to content

Instantly share code, notes, and snippets.

View olefredrik's full-sized avatar

Ole Fredrik Lie olefredrik

View GitHub Profile
@olefredrik
olefredrik / _rem-calc.scss
Created April 25, 2017 07:07
rem-calc function
@function rem-calc($size) {
$remSize: $size / 16;
@return #{$remSize}rem;
}
@olefredrik
olefredrik / style.css
Created March 10, 2016 09:13
FoundationPress child-theme
/*
Theme Name: FoundationPress child
Theme URI: http://my-childtheme.dev
Description: FoundationPress child theme
Author: Ole Fredrik Lie
Author URI: http://olefredrik.com
Template: FoundationPress
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
<nav data-sticky-container>
<div data-sticky="sidebar">
<ul class="vertical menu docs-sub-menu" data-magellan>
<li><a href="#accordion">Accordion</a></li>
<li><a href="#accordion-menu">Accordion Menu</a></li>
<li><a href="#badge">Badge</a></li>
<li><a href="#breadcrumbs">Breadcrumbs</a></li>
<li><a href="#button">Button</a></li>
<li><a href="#callout">Callout</a></li>
<li><a href="#close-button">Close button</a></li>
### Keybase proof
I hereby claim:
* I am olefredrik on github.
* I am olefredrik (https://keybase.io/olefredrik) on keybase.
* I have a public key whose fingerprint is BB67 1D9A 660E 003F 174A CE69 6C80 2829 E418 B1FD
To claim this, I am signing this object: