From b11861962cdc4756df1f500d68218dcdda0c89de Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Fri, 14 Nov 2014 04:15:04 -0500 Subject: Optimizations --- _sass/global.scss | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 _sass/global.scss (limited to '_sass/global.scss') diff --git a/_sass/global.scss b/_sass/global.scss new file mode 100644 index 0000000..bd17161 --- /dev/null +++ b/_sass/global.scss @@ -0,0 +1,39 @@ +$base03: #002b36; +$base02: #073642; +$base01: #586e75; +$base00: #657b83; +$base0: #839496; +$base1: #93a1a1; +$base2: #eee8d5; +$base3: #fdf6e3; +$yellow: #b58900; +$orange: #cb4b16; +$red: #dc322f; +$magenta: #d33682; +$violet: #6c71c4; +$blue: #268bd2; +$cyan: #2aa198; +$green: #859900; + +$sans: 'open_sans', sans-serif; +$serif: 'crimson_text', serif; +$monospace: 'source_code_pro', monospace; + +// Mixin to deal with cross-browser transitions +@mixin transition ($param, $time, $type) { + -webkit-transition: $param $time $type; + -moz-transition: $param $time $type; + -o-transition: $param $time $type; + -ms-transition: $param $time $type; + transition: $param $time $type; +} + +@mixin nav_button($c) { + background-color: $c; + border-color: $c; + @include transition(all, 0.25s, linear); + &:hover { + background-color: darken($c, 15%); + border-color: darken($c, 15%); + } +} -- cgit v1.2.3