This file contains hidden or 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
# ~/.osx — http://mths.be/osx | |
############################################################################### | |
# General UI/UX # | |
############################################################################### | |
# Set computer name (as done via System Preferences → Sharing) | |
scutil --set ComputerName "MathBook Pro" | |
scutil --set HostName "MathBook Pro" | |
scutil --set LocalHostName "MathBook-Pro" |
This file contains hidden or 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
<!-- add the vendor as product tag to product then use this code in collection.liquid --> | |
<!-- if we are on a collection page that is either custom or smart --> | |
{% if collection.url != blank %} | |
<h4>Shop by vendor:</h4> | |
<ul> | |
{% for product_vendor in collection.all_vendors %} | |
<li> | |
{% if current_tags contains product_vendor %} | |
<a class="active" href="{{ collection.url }}">{{ product_vendor }}</a> | |
{% else %} |
This file contains hidden or 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
<form name="shop-by-category"> | |
<select onchange="if (this.value !== '') window.location = this.value;"> | |
<option value="">Shop by Category</option> | |
{% for link in linklists[shop-by-category].links %} | |
<option name="collection" value="{{ link.url }}"{% if link.active %} selected="selected"{% endif %}>{{ link.title }}</option> | |
{% endfor %} | |
</select> | |
</form> |
This file contains hidden or 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
.widget .latest-blog-posts-list { | |
margin: 0; | |
list-style: none; | |
} | |
.widget .latest-blog-posts-list li { | |
margin: 0 0 10px 0; | |
padding: 0 0 10px 0; | |
border-bottom: dotted 1px #CCC; | |
background: none; | |
word-wrap: break-word; |
This file contains hidden or 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
.reorder-drop-down { | |
margin-top:10px; | |
padding:10px; | |
overflow:hidden | |
} | |
.reorder-drop-down label { | |
display:inline; | |
} |
This file contains hidden or 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
<div class="grid-product {% cycle ' alpha', '', ' omega' %}" itemscope itemtype="http://schema.org/Product"> | |
{% if product.compare_at_price_min > 0 %} | |
<!-- SALE BOX --> | |
<div class="sale-box"> | |
<p>Sale</p> | |
</div> | |
{%endif%} | |
<div class="product-photo"> | |
<a href="{{ product.url | within: collection }}" title="{{ product.title }}"> |
This file contains hidden or 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
// COLOURS | |
@brand-colour: ~"{{ settings.brand_colour }}"; | |
@text-colour: ~"{{ settings.text_colour }}"; | |
@logo-colour: ~"{{ settings.logo_colour }}"; | |
@link-colour: ~"{{ settings.links_colour }}"; | |
@active-colour: ~"{{ settings.active_colour }}"; |
This file contains hidden or 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> | |
<head> | |
<meta charset="UTF-8"> | |
<!-- IF PEN IS PRIVATE --> | |
<!-- <meta name="robots" content="noindex"> --> | |
<!-- END --> |