Browse Source
Update travis deps. Moved autoprefixer to global binary. Compress font-awesome and bootstrap. Fix header. Remove spreed copywrite in _variables.scss to keep from being appended to font-awesome and bootstrap unminified code. Add sticky comment to main css. Update makefile. Insert copywrite header on variables. Correct readme. Move bootstrap scss folder.pull/30/head
62 changed files with 62 additions and 6411 deletions
@ -1,29 +1,44 @@ |
|||||||
|
|
||||||
@mixin breakpt($pt) { |
// not handled by autoprefixer |
||||||
@media (max-width: $pt) { |
@mixin tap-highlight-color($color) { |
||||||
@content; |
-webkit-tap-highlight-color: $color; |
||||||
} |
|
||||||
} |
} |
||||||
|
|
||||||
@mixin breakpt-height($pt) { |
/* Supports media type and up to two expressions |
||||||
@media (max-height: $pt) { |
|
||||||
@content; |
ex output: |
||||||
} |
@media only screen and (min-width: 700px) and (max-width: 1280px) { |
||||||
} |
.bar .middle img { |
||||||
|
display: none; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
@mixin breakpt-only-screen($pt) { |
@param $media-value1: required - number/units |
||||||
@media only screen and (max-width: $pt) { |
@param $media-feature1: optional - width,height,ect... |
||||||
@content; |
@param $media-type: optional - screen,print,ect... |
||||||
|
@param $media-value2: optional - number/units |
||||||
|
@param $media-feature2: optional - width,height,ect... |
||||||
|
*/ |
||||||
|
@mixin breakpt($media-value1, $media-feature1: max-width, $media-type: null, |
||||||
|
$media-value2: null, $media-feature2: max-width) { |
||||||
|
@if($media-type and $media-value2) { |
||||||
|
@media #{$media-type} and ($media-feature1: $media-value1) and ($media-feature2: $media-value2) { |
||||||
|
@content; |
||||||
|
} |
||||||
} |
} |
||||||
} |
@if(not $media-type and $media-value2) { |
||||||
|
@media ($media-feature1: $media-value1) and ($media-feature2: $media-value2) { |
||||||
@mixin breakpt-only-screen-with-min($pt1, $pt2) { |
@content; |
||||||
@media only screen and (min-width: $pt1) and (max-width: $pt2) { |
} |
||||||
@content; |
} |
||||||
|
@if($media-type and not $media-value2) { |
||||||
|
@media #{$media-type} and ($media-feature1: $media-value1) { |
||||||
|
@content; |
||||||
|
} |
||||||
|
} |
||||||
|
@if(not $media-type and not $media-value2) { |
||||||
|
@media ($media-feature1: $media-value1) { |
||||||
|
@content; |
||||||
|
} |
||||||
} |
} |
||||||
} |
|
||||||
|
|
||||||
// not handled by autoprefixer |
|
||||||
@mixin tap-highlight-color($color) { |
|
||||||
-webkit-tap-highlight-color: $color; |
|
||||||
} |
} |
||||||
|
@ -1,48 +0,0 @@ |
|||||||
/*! |
|
||||||
* Bootstrap Responsive v2.3.2 |
|
||||||
* |
|
||||||
* Copyright 2012 Twitter, Inc |
|
||||||
* Licensed under the Apache License v2.0 |
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0 |
|
||||||
* |
|
||||||
* Designed and built with all the love in the world @twitter by @mdo and @fat. |
|
||||||
*/ |
|
||||||
|
|
||||||
|
|
||||||
// Responsive |
|
||||||
// For phone and tablet devices |
|
||||||
// ------------------------------------------------------------- |
|
||||||
|
|
||||||
|
|
||||||
// REPEAT VARIABLES & MIXINS |
|
||||||
// ------------------------- |
|
||||||
// Required since we compile the responsive stuff separately |
|
||||||
|
|
||||||
@import "variables"; // Modify this for custom colors, font-sizes, etc |
|
||||||
@import "mixins"; |
|
||||||
|
|
||||||
|
|
||||||
// RESPONSIVE CLASSES |
|
||||||
// ------------------ |
|
||||||
|
|
||||||
@import "responsive-utilities"; |
|
||||||
|
|
||||||
|
|
||||||
// MEDIA QUERIES |
|
||||||
// ------------------ |
|
||||||
|
|
||||||
// Large desktops |
|
||||||
@import "responsive-1200px-min"; |
|
||||||
|
|
||||||
// Tablets to regular desktops |
|
||||||
@import "responsive-768px-979px"; |
|
||||||
|
|
||||||
// Phones to portrait tablets and narrow desktops |
|
||||||
@import "responsive-767px-max"; |
|
||||||
|
|
||||||
|
|
||||||
// RESPONSIVE NAVBAR |
|
||||||
// ------------------ |
|
||||||
|
|
||||||
// From 979px and below, show a button to toggle navbar contents |
|
||||||
@import "responsive-navbar"; |
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue