|
@@ -1,6 +1,6 @@
|
|
|
/******************************************************************
|
|
/******************************************************************
|
|
|
-Site Name:
|
|
|
|
|
-Author:
|
|
|
|
|
|
|
+Site Name:
|
|
|
|
|
+Author:
|
|
|
|
|
|
|
|
Stylesheet: IE Stylesheet
|
|
Stylesheet: IE Stylesheet
|
|
|
|
|
|
|
@@ -12,11 +12,35 @@ without the media queries. No need to worry about editing anything!
|
|
|
******************************************************************/
|
|
******************************************************************/
|
|
|
/*
|
|
/*
|
|
|
Remember, all the BASE styles are called already since IE can
|
|
Remember, all the BASE styles are called already since IE can
|
|
|
-read those. Below, we need to import only the stuff IE can't
|
|
|
|
|
|
|
+read those. Below, we need to import only the stuff IE can't
|
|
|
understand (what's inside the media queries). We also need to
|
|
understand (what's inside the media queries). We also need to
|
|
|
import the mixins file so SASS can understand the variables.
|
|
import the mixins file so SASS can understand the variables.
|
|
|
*/
|
|
*/
|
|
|
-/* import mixins */
|
|
|
|
|
|
|
+/******************************************************************
|
|
|
|
|
+Site Name:
|
|
|
|
|
+Author:
|
|
|
|
|
+
|
|
|
|
|
+Stylesheet: Variables
|
|
|
|
|
+
|
|
|
|
|
+Here is where we declare all our variables like colors, fonts,
|
|
|
|
|
+base values, and defaults. We want to make sure this file ONLY
|
|
|
|
|
+contains variables that way our files don't get all messy.
|
|
|
|
|
+No one likes a mess.
|
|
|
|
|
+
|
|
|
|
|
+******************************************************************/
|
|
|
|
|
+/*********************
|
|
|
|
|
+COLORS
|
|
|
|
|
+Need help w/ choosing your colors? Try this site out:
|
|
|
|
|
+http://0to255.com/
|
|
|
|
|
+*********************/
|
|
|
|
|
+/*
|
|
|
|
|
+Here's a great tutorial on how to
|
|
|
|
|
+use color variables properly:
|
|
|
|
|
+http://sachagreif.com/sass-color-variables/
|
|
|
|
|
+*/
|
|
|
|
|
+/*********************
|
|
|
|
|
+TYPOGRAPHY
|
|
|
|
|
+*********************/
|
|
|
/******************************************************************
|
|
/******************************************************************
|
|
|
Site Name:
|
|
Site Name:
|
|
|
Author:
|
|
Author:
|
|
@@ -57,16 +81,6 @@ TOOLS
|
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
|
overflow: hidden; }
|
|
overflow: hidden; }
|
|
|
|
|
|
|
|
-/*********************
|
|
|
|
|
-COLORS
|
|
|
|
|
-Need help w/ choosing your colors? Try this site out:
|
|
|
|
|
-http://0to255.com/
|
|
|
|
|
-*********************/
|
|
|
|
|
-/*
|
|
|
|
|
-Here's a great tutorial on how to
|
|
|
|
|
-use color variables properly:
|
|
|
|
|
-http://sachagreif.com/sass-color-variables/
|
|
|
|
|
-*/
|
|
|
|
|
/*********************
|
|
/*********************
|
|
|
TYPOGRAPHY
|
|
TYPOGRAPHY
|
|
|
*********************/
|
|
*********************/
|
|
@@ -138,7 +152,7 @@ USAGE: @include transition(all 0.2s ease-in-out);
|
|
|
/*********************
|
|
/*********************
|
|
|
CSS3 GRADIENTS
|
|
CSS3 GRADIENTS
|
|
|
Be careful with these since they can
|
|
Be careful with these since they can
|
|
|
-really slow down your CSS. Don't overdue it.
|
|
|
|
|
|
|
+really slow down your CSS. Don't overdo it.
|
|
|
*********************/
|
|
*********************/
|
|
|
/* @include css-gradient(#dfdfdf,#f8f8f8); */
|
|
/* @include css-gradient(#dfdfdf,#f8f8f8); */
|
|
|
/*********************
|
|
/*********************
|
|
@@ -147,157 +161,20 @@ BOX SIZING
|
|
|
/* @include box-sizing(border-box); */
|
|
/* @include box-sizing(border-box); */
|
|
|
/* NOTE: value of "padding-box" is only supported in Gecko. So
|
|
/* NOTE: value of "padding-box" is only supported in Gecko. So
|
|
|
probably best not to use it. I mean, were you going to anyway? */
|
|
probably best not to use it. I mean, were you going to anyway? */
|
|
|
-/*********************
|
|
|
|
|
-BUTTONS
|
|
|
|
|
-*********************/
|
|
|
|
|
-.button, .button:visited {
|
|
|
|
|
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
|
|
|
- border: 1px solid #be0d37;
|
|
|
|
|
- border-top-color: #db0f3f;
|
|
|
|
|
- border-left-color: #db0f3f;
|
|
|
|
|
- padding: 4px 12px;
|
|
|
|
|
- color: white;
|
|
|
|
|
- display: inline-block;
|
|
|
|
|
- font-size: 11px;
|
|
|
|
|
- font-weight: bold;
|
|
|
|
|
- text-decoration: none;
|
|
|
|
|
- text-shadow: 0 1px rgba(0, 0, 0, 0.75);
|
|
|
|
|
- cursor: pointer;
|
|
|
|
|
- margin-bottom: 20px;
|
|
|
|
|
- line-height: 21px;
|
|
|
|
|
- border-radius: 4px;
|
|
|
|
|
- background-color: #e40f42;
|
|
|
|
|
- background-image: -webkit-gradient(linear, left top, left bottom, from(#f01d4f), to(#e40f42));
|
|
|
|
|
- background-image: -webkit-linear-gradient(top, #f01d4f, #e40f42);
|
|
|
|
|
- background-image: -moz-linear-gradient(top, #f01d4f, #e40f42);
|
|
|
|
|
- background-image: -o-linear-gradient(top, #f01d4f, #e40f42);
|
|
|
|
|
- background-image: linear-gradient(to bottom, #f01d4f, #e40f42); }
|
|
|
|
|
- .button:hover, .button:focus, .button:visited:hover, .button:visited:focus {
|
|
|
|
|
- color: white;
|
|
|
|
|
- border: 1px solid #be0d37;
|
|
|
|
|
- border-top-color: #9d0a2d;
|
|
|
|
|
- border-left-color: #9d0a2d;
|
|
|
|
|
- background-color: #cc0e3b;
|
|
|
|
|
- background-image: -webkit-gradient(linear, left top, left bottom, from(#e40f42), to(#cc0e3b));
|
|
|
|
|
- background-image: -webkit-linear-gradient(top, #e40f42, #cc0e3b);
|
|
|
|
|
- background-image: -moz-linear-gradient(top, #e40f42, #cc0e3b);
|
|
|
|
|
- background-image: -o-linear-gradient(top, #e40f42, #cc0e3b);
|
|
|
|
|
- background-image: linear-gradient(to bottom, #e40f42, #cc0e3b); }
|
|
|
|
|
- .button:active, .button:visited:active {
|
|
|
|
|
- background-color: #f01d4f;
|
|
|
|
|
- background-image: -webkit-gradient(linear, left top, left bottom, from(#e40f42), to(#f01d4f));
|
|
|
|
|
- background-image: -webkit-linear-gradient(top, #e40f42, #f01d4f);
|
|
|
|
|
- background-image: -moz-linear-gradient(top, #e40f42, #f01d4f);
|
|
|
|
|
- background-image: -o-linear-gradient(top, #e40f42, #f01d4f);
|
|
|
|
|
- background-image: linear-gradient(to bottom, #e40f42, #f01d4f); }
|
|
|
|
|
-
|
|
|
|
|
-.blue-button, .blue-button:visited {
|
|
|
|
|
- border-color: #1472ad;
|
|
|
|
|
- text-shadow: 0 1px 1px #1472ad;
|
|
|
|
|
- background-color: #1681c4;
|
|
|
|
|
- background-image: -webkit-gradient(linear, left top, left bottom, from(#1990db), to(#1681c4));
|
|
|
|
|
- background-image: -webkit-linear-gradient(top, #1990db, #1681c4);
|
|
|
|
|
- background-image: -moz-linear-gradient(top, #1990db, #1681c4);
|
|
|
|
|
- background-image: -o-linear-gradient(top, #1990db, #1681c4);
|
|
|
|
|
- background-image: linear-gradient(to bottom, #1990db, #1681c4);
|
|
|
|
|
- box-shadow: inset 0 0 3px #59b3ec; }
|
|
|
|
|
- .blue-button:hover, .blue-button:focus, .blue-button:visited:hover, .blue-button:visited:focus {
|
|
|
|
|
- border-color: #116396;
|
|
|
|
|
- background-color: #1472ad;
|
|
|
|
|
- background-image: -webkit-gradient(linear, left top, left bottom, from(#1784c9), to(#1472ad));
|
|
|
|
|
- background-image: -webkit-linear-gradient(top, #1784c9, #1472ad);
|
|
|
|
|
- background-image: -moz-linear-gradient(top, #1784c9, #1472ad);
|
|
|
|
|
- background-image: -o-linear-gradient(top, #1784c9, #1472ad);
|
|
|
|
|
- background-image: linear-gradient(to bottom, #1784c9, #1472ad); }
|
|
|
|
|
- .blue-button:active, .blue-button:visited:active {
|
|
|
|
|
- background-color: #1990db;
|
|
|
|
|
- background-image: -webkit-gradient(linear, left top, left bottom, from(#1681c4), to(#1990db));
|
|
|
|
|
- background-image: -webkit-linear-gradient(top, #1681c4, #1990db);
|
|
|
|
|
- background-image: -moz-linear-gradient(top, #1681c4, #1990db);
|
|
|
|
|
- background-image: -o-linear-gradient(top, #1681c4, #1990db);
|
|
|
|
|
- background-image: linear-gradient(to bottom, #1681c4, #1990db); }
|
|
|
|
|
-
|
|
|
|
|
/******************************************************************
|
|
/******************************************************************
|
|
|
Site Name:
|
|
Site Name:
|
|
|
Author:
|
|
Author:
|
|
|
|
|
|
|
|
-Stylesheet: Grid Stylesheet
|
|
|
|
|
-
|
|
|
|
|
-I've seperated the grid so you can swap it out easily. It's
|
|
|
|
|
-called at the top the style.scss stylesheet.
|
|
|
|
|
-
|
|
|
|
|
-There are a ton of grid solutions out there. You should definitely
|
|
|
|
|
-experiment with your own. Here are some recommendations:
|
|
|
|
|
|
|
+Stylesheet: IE Grid Styles
|
|
|
|
|
|
|
|
-http://gridsetapp.com - Love this site. Responsive Grids made easy.
|
|
|
|
|
-http://susy.oddbird.net/ - Grids using Compass. Very elegant.
|
|
|
|
|
-http://gridpak.com/ - Create your own responsive grid.
|
|
|
|
|
|
|
+Since the example grid is based on media queries, so rather than
|
|
|
|
|
+setup some js library that would make IE8 and below understand
|
|
|
|
|
+media queries, let's just add some styles that serves a fixed grid.
|
|
|
|
|
|
|
|
-The grid below is a combination of the 1140 grid and Twitter Boostrap.
|
|
|
|
|
-I liked 1140 but Boostrap's grid was way more detailed so I merged them
|
|
|
|
|
-together, let's see how this works out. If you want to use 1140, the original
|
|
|
|
|
-values are commented out on each line.
|
|
|
|
|
|
|
+Again, if you want to roll your own, just remove this junk and put
|
|
|
|
|
+whatever you use in here.
|
|
|
|
|
|
|
|
******************************************************************/
|
|
******************************************************************/
|
|
|
-.onecol {
|
|
|
|
|
- width: 5.801104972%; }
|
|
|
|
|
-
|
|
|
|
|
-/* 4.85%; } /* grid_1 */
|
|
|
|
|
-.twocol {
|
|
|
|
|
- width: 14.364640883%; }
|
|
|
|
|
-
|
|
|
|
|
-/* 13.45%; } /* grid_2 */
|
|
|
|
|
-.threecol {
|
|
|
|
|
- width: 22.928176794%; }
|
|
|
|
|
-
|
|
|
|
|
-/* 22.05%; } /* grid_3 */
|
|
|
|
|
-.fourcol {
|
|
|
|
|
- width: 31.491712705%; }
|
|
|
|
|
-
|
|
|
|
|
-/* 30.75%; } /* grid_4 */
|
|
|
|
|
-.fivecol {
|
|
|
|
|
- width: 40.055248616%; }
|
|
|
|
|
-
|
|
|
|
|
-/* 39.45%; } /* grid_5 */
|
|
|
|
|
-.sixcol {
|
|
|
|
|
- width: 48.618784527%; }
|
|
|
|
|
-
|
|
|
|
|
-/* 48%; } /* grid_6 */
|
|
|
|
|
-.sevencol {
|
|
|
|
|
- width: 57.182320438000005%; }
|
|
|
|
|
-
|
|
|
|
|
-/* 56.75%; } /* grid_7 */
|
|
|
|
|
-.eightcol {
|
|
|
|
|
- width: 65.74585634900001%; }
|
|
|
|
|
-
|
|
|
|
|
-/* 65.4%; } /* grid_8 */
|
|
|
|
|
-.ninecol {
|
|
|
|
|
- width: 74.30939226%; }
|
|
|
|
|
-
|
|
|
|
|
-/* 74.05%; } /* grid_9 */
|
|
|
|
|
-.tencol {
|
|
|
|
|
- width: 82.87292817100001%; }
|
|
|
|
|
-
|
|
|
|
|
-/* 82.7%; } /* grid_10 */
|
|
|
|
|
-.elevencol {
|
|
|
|
|
- width: 91.436464082%; }
|
|
|
|
|
-
|
|
|
|
|
-/* 91.35%; } /* grid_11 */
|
|
|
|
|
-.twelvecol {
|
|
|
|
|
- width: 99.999999993%; }
|
|
|
|
|
-
|
|
|
|
|
-/* 100%; } /* grid_12 */
|
|
|
|
|
-.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol, .twelvecol {
|
|
|
|
|
- position: relative;
|
|
|
|
|
- float: left;
|
|
|
|
|
- margin-left: 2.762430939%; }
|
|
|
|
|
-
|
|
|
|
|
-.first {
|
|
|
|
|
- margin-left: 0; }
|
|
|
|
|
-
|
|
|
|
|
-.last {
|
|
|
|
|
- float: right; }
|
|
|
|
|
-
|
|
|
|
|
/******************************************************************
|
|
/******************************************************************
|
|
|
Site Name:
|
|
Site Name:
|
|
|
Author:
|
|
Author:
|
|
@@ -501,8 +378,8 @@ This is the desktop size. It's larger than an iPad so it will only
|
|
|
be seen on the Desktop.
|
|
be seen on the Desktop.
|
|
|
|
|
|
|
|
******************************************************************/
|
|
******************************************************************/
|
|
|
-/*
|
|
|
|
|
-you can call the larger styles if you want, but there's really no need
|
|
|
|
|
|
|
+/*
|
|
|
|
|
+you can call the larger styles if you want, but there's really no need
|
|
|
*/
|
|
*/
|
|
|
/******************************************************************
|
|
/******************************************************************
|
|
|
ADDITIONAL IE FIXES
|
|
ADDITIONAL IE FIXES
|