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
/* Mixin */ | |
.box-shadow (@x: 0px, @y: 3px, @blur: 5px, @alpha: 0.5) { | |
-webkit-box-shadow: @x @y @blur rgba(0, 0, 0, @alpha); | |
-moz-box-shadow: @x @y @blur rgba(0, 0, 0, @alpha); | |
box-shadow: @x @y @blur rgba(0, 0, 0, @alpha); | |
} | |
/* Implementation */ | |
#somediv { | |
.box-shadow(5px, 5px, 6px, 0.3); |
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
/* Mixin */ | |
.border-radius-custom (@topleft: 5px, @topright: 5px, @bottomleft: 5px, @bottomright: 5px) { | |
-webkit-border-radius: @topleft @topright @bottomright @bottomleft; | |
-moz-border-radius: @topleft @topright @bottomright @bottomleft; | |
border-radius: @topleft @topright @bottomright @bottomleft; | |
} | |
/* Implementation */ | |
#somediv { | |
.border-radius-custom(20px, 20px, 0px, 0px); |
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
/* Mixin */ | |
.border-radius (@radius: 5px) { | |
-webkit-border-radius: @radius; | |
-moz-border-radius: @radius; | |
border-radius: @radius; | |
} | |
/* Implementation */ | |
#somediv { | |
.border-radius(20px); |
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
p{ | |
margin-bottom:20px; | |
} | |
p+p{ | |
text-indent:2em; | |
margin-top:-20px; | |
} |
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
@media print { | |
#main-content a[href]:after { " (" attr(href) ") "; } | |
} |
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
/* file structure based on: https://github.com/tylersavery/jQueryTO2013/tree/master/code/BasicApp.js */ | |
//set global app | |
var App = {}; | |
App.Init = function() { | |
App.Cache(); | |
App.BindListeners(); | |
App.InitVideo(); |
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 method="POST"> | |
<input type="hidden" name="_METHOD" value="PUT"/> | |
</form> | |
<form method="POST"> | |
<input type="hidden" name="_METHOD" value="DELETE"/> | |
</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
a { | |
color: #00e; | |
} | |
a:visited { | |
color: #551a8b; | |
} | |
a:hover { | |
color: #06e; | |
} | |
a:focus { |
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
ul.box { | |
position: relative; | |
z-index: 1; /* prevent shadows falling behind containers with backgrounds */ | |
overflow: hidden; | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
} | |
ul.box li { |