Skip to content

Instantly share code, notes, and snippets.

View tdominey's full-sized avatar

Todd Dominey tdominey

View GitHub Profile
@tdominey
tdominey / gist:f10ae1b6f0bcd1db70f3
Created July 26, 2014 10:50
Turn off underline for current navigation link in Regale 2
nav a.k-nav-current { border-bottom:0; }
@tdominey
tdominey / gist:b5c7a464bfc979d731c4
Created May 27, 2014 21:34
Slim image widths in Chastain on desktops
@media only screen and (min-width: 1440px) {
div#container {
max-width: 1000px;
}
}
@tdominey
tdominey / gist:832438bff3d6ce9648cc
Created May 7, 2014 20:01
Assign loop index as class
<koken:loop>
<div class="item_{{ index }}">
</div>
</koken:loop>
@tdominey
tdominey / gist:11303810
Last active August 29, 2015 14:00
Boilerplate social media share links for Koken themes
<!--
These code examples are for themes published by Koken (http://koken.me)
Copy/paste these code samples anywhere inside the <koken:load> tag
in each template.
To see this markup in the context of a theme, download our Blueprint theme:
https://github.com/koken/blueprint
@tdominey
tdominey / gist:11302989
Last active August 29, 2015 14:00
Boilerplate Open Graph and Twitter card markup for Koken themes
<!--
These code examples are for themes published by Koken (http://koken.me)
Markup that does not include <koken:load> should be inserted inside the template's
existing <koken:load> tag.
Markup that includes <koken:load> should be inserted independently outside of the
template's existing <koken:load> tag.
@tdominey
tdominey / gist:9880364
Created March 30, 2014 21:44
Album/set cover images in koken:event_album
<koken:event>
<!-- Render if event is a new album -->
<koken:event_album>
<!-- If an album, display primary cover image and link to album.lens to view -->
<koken:if data="album.album_type" equals="standard">
<koken:link title="View {{ album.title }}">
<koken:img />
</koken:link>
@tdominey
tdominey / gist:9880055
Created March 30, 2014 21:23
Style lightbox icon color
#k-lightbox .ibutton {
color:red !important;
}
@tdominey
tdominey / gist:9879765
Created March 30, 2014 21:05
Create anchors to images in album
<a name="{{ content.id }}" id="{{ content.id }}"></a>
{{ location.host }}{{ location.here }}{{ content.id }}
@tdominey
tdominey / gist:9781998
Created March 26, 2014 12:26
Change lightbox button sizes
#k-lightbox .ibutton {
font-size:12px !important;
}
@tdominey
tdominey / gist:9771561
Created March 25, 2014 21:15
Force thumbs to shorter height in Elementary
li.content img {
max-height:200px;
width:auto;
}