| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474 |
- /******************************************************************
- Site Name:
- Author:
- Stylesheet: IE Stylesheet
- So instead of using the respond.js file to add media query support
- to IE, we're going to use SASS to create an easily readable css file.
- Here, we import all the styles the standard stylesheet gets, only
- without the media queries. No need to worry about editing anything!
- ******************************************************************/
- /*
- Remember, all the BASE styles are called already since IE can
- read those. Below, we need to import only the stuff IE can't
- understand (what's inside the media queries). We also need to
- import the mixins file so SASS can understand the variables.
- */
- /* import mixins */
- /******************************************************************
- Site Name:
- Author:
- Stylesheet: Mixins & Constants Stylesheet
- This is where you can take advantage of Sass' great features:
- Mixins & Constants. I won't go in-depth on how they work exactly,
- there are a few articles below that will help do that. What I will
- tell you is that this will help speed up simple changes like
- changing a color or adding CSS3 techniques like box shadow and
- border-radius.
- A WORD OF WARNING: It's very easy to overdo it here. Be careful and
- remember less is more.
- ******************************************************************/
- /*********************
- CLEARFIXIN'
- *********************/
- .clearfix {
- zoom: 1; }
- .clearfix:before, .clearfix:after {
- content: "";
- display: table; }
- .clearfix:after {
- clear: both; }
- /*********************
- TOOLS
- *********************/
- * {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box; }
- .image-replacement {
- text-indent: 100%;
- white-space: nowrap;
- 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
- *********************/
- /* To embed your own fonts, use this syntax
- and place your fonts inside the
- library/fonts folder. For more information
- on embedding fonts, go to:
- http://www.fontsquirrel.com/
- Be sure to remove the comment brackets.
- */
- /* @font-face {
- font-family: 'Font Name';
- src: url('library/fonts/font-name.eot');
- src: url('library/fonts/font-name.eot?#iefix') format('embedded-opentype'),
- url('library/fonts/font-name.woff') format('woff'),
- url('library/fonts/font-name.ttf') format('truetype'),
- url('library/fonts/font-name.svg#font-name') format('svg');
- font-weight: normal;
- font-style: normal;
- }
- */
- /*
- use the best ampersand
- http://simplebits.com/notebook/2008/08/14/ampersands-2/
- */
- span.amp {
- font-family: Baskerville,'Goudy Old Style',Palatino,'Book Antiqua',serif !important;
- font-style: italic; }
- .text-left {
- text-align: left; }
- .text-center {
- text-align: center; }
- .text-right {
- text-align: right; }
- .alert-help, .alert-info, .alert-error, .alert-success {
- margin: 10px;
- padding: 5px 18px;
- border: 1px solid; }
- .alert-help {
- border-color: #e8dc59;
- background: #ebe16f; }
- .alert-info {
- border-color: #bfe4f4;
- background: #d5edf8; }
- .alert-error {
- border-color: #f8cdce;
- background: #fbe3e4; }
- .alert-success {
- border-color: #deeaae;
- background: #e6efc2; }
- /*********************
- BORDER RADIUS
- *********************/
- /*
- I totally rewrote this to be cleaner and easier to use.
- You'll need to be using Sass 3.2+ for these to work.
- Thanks to @anthonyshort for the inspiration on these.
- USAGE: @include border-radius(4px 4px 0 0);
- */
- /*********************
- TRANISTION
- *********************/
- /*
- I totally rewrote this to be cleaner and easier to use.
- You'll need to be using Sass 3.2+ for these to work.
- Thanks to @anthonyshort for the inspiration on these.
- USAGE: @include transition(all 0.2s ease-in-out);
- */
- /*********************
- BOX SHADOWS
- *********************/
- /*
- I totally rewrote this to be cleaner and easier to use.
- You'll need to be using Sass 3.2+ for these to work.
- Thanks to @anthonyshort for the inspiration on these.
- USAGE: @include box-shadow(inset 0 0 4px rgba(0,0,0,0.22));
- */
- /*********************
- CSS3 GRADIENTS
- Be careful with these since they can
- really slow down your CSS. Don't overdue it.
- *********************/
- /* @include css-gradient(#dfdfdf,#f8f8f8); */
- /*********************
- BOX SIZING
- *********************/
- /* @include box-sizing(border-box); */
- /* NOTE: value of "padding-box" is only supported in Gecko. So
- 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;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- -ms-border-radius: 4px;
- -o-border-radius: 4px;
- -border-radius: 4px;
- 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);
- -webkit-box-shadow: inset 0 0 3px #59b3ec;
- -moz-box-shadow: inset 0 0 3px #59b3ec;
- -ms-box-shadow: inset 0 0 3px #59b3ec;
- -o-box-shadow: inset 0 0 3px #59b3ec;
- -box-shadow: inset 0 0 3px #59b3ec;
- 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:
- Author:
- Stylesheet: 481px and Up Stylesheet
- This stylesheet is loaded for larger devices. It's set to
- 481px because at 480px it would load on a landscaped iPhone.
- This isn't ideal because then you would be loading all those
- extra styles on that same mobile connection.
- A word of warning. This size COULD be a larger mobile device,
- so you still want to keep it pretty light and simply expand
- upon your base.scss styles.
- ******************************************************************/
- /*********************
- NAVIGATION STYLES
- *********************/
- /* .menu is clearfixed inside mixins.scss */
- .menu {
- /* end .menu ul */ }
- .menu ul {
- /* end .menu ul li */
- /* highlight current page */
- /* end current highlighters */ }
- .menu ul li {
- /*
- plan your menus and drop-downs wisely.
- */ }
- .menu ul li a {
- /*
- you can use hover styles here even though this size
- has the possibility of being a mobile device.
- */ }
- /* end .menu */
- /*********************
- POSTS & CONTENT STYLES
- *********************/
- /* entry content */
- .entry-content {
- /* at this larger size, we can start to align images */ }
- .entry-content .alignleft, .entry-content img.alignleft {
- margin-right: 1.5em;
- display: inline;
- float: left; }
- .entry-content .alignright, .entry-content img.alignright {
- margin-left: 1.5em;
- display: inline;
- float: right; }
- .entry-content .aligncenter, .entry-content img.aligncenter {
- margin-right: auto;
- margin-left: auto;
- display: block;
- clear: both; }
- /* end .entry-content */
- /*********************
- FOOTER STYLES
- *********************/
- /*
- check your menus here. do they look good?
- do they need tweaking?
- */
- /* end .footer-links */
- /******************************************************************
- Site Name:
- Author:
- Stylesheet: Tablet & Small Desktop Stylesheet
- Here's where you can start getting into the good stuff.
- This size will work on iPads, other tablets, and desktops.
- So you can start working with more styles, background images,
- and other resources. You'll also notice the grid starts to
- come into play. Have fun!
- ******************************************************************/
- /*********************
- GENERAL STYLES
- *********************/
- /*********************
- LAYOUT & GRID STYLES
- *********************/
- .wrap {
- max-width: 1140px; }
- /*********************
- HEADER SYTLES
- *********************/
- /*********************
- NAVIGATION STYLES
- *********************/
- .nav {
- background: #eee;
- border: 0;
- /* end .menu ul li */
- /* highlight current page */
- /* end current highlighters */ }
- .nav li {
- float: left;
- position: relative;
- /*
- plan your menus and drop-downs wisely.
- */
- /* showing sub-menus */ }
- .nav li a {
- border-bottom: 0;
- /*
- you can use hover styles here even though this size
- has the possibility of being a mobile device.
- */ }
- .nav li a:hover, .nav li a:focus {
- background-color: #dedede; }
- .nav li ul.sub-menu,
- .nav li ul.children {
- width: 200px;
- border: 1px solid #ccc;
- border-top: 0;
- position: absolute;
- display: none;
- z-index: 8999;
- /* highlight sub-menu current page */ }
- .nav li ul.sub-menu li,
- .nav li ul.children li {
- /*
- if you need to go deeper, go nuts
- just remember deeper menus suck
- for usability. k, bai.
- */ }
- .nav li ul.sub-menu li a,
- .nav li ul.children li a {
- padding-left: 10px;
- border-right: 0;
- display: block;
- width: 180px;
- border-bottom: 1px solid #ccc; }
- .nav li ul.sub-menu li:last-child a,
- .nav li ul.children li:last-child a {
- border-bottom: 0; }
- .nav li:hover ul {
- top: auto;
- display: block; }
- /* end .nav */
- /*********************
- SIDEBARS & ASIDES
- *********************/
- .sidebar {
- margin-top: 2.2em; }
- .widgettitle {
- border-bottom: 2px solid #444;
- margin-bottom: 0.75em; }
- .widget {
- padding: 0 10px;
- margin: 2.2em 0; }
- .widget ul li {
- margin-bottom: 0.75em;
- /* deep nesting */ }
- .widget ul li ul {
- margin-top: 0.75em;
- padding-left: 1em; }
- /* links widget */
- /* meta widget */
- /* pages widget */
- /* recent-posts widget */
- /* archives widget */
- /* tag-cloud widget */
- /* calendar widget */
- /* category widget */
- /* recent-comments widget */
- /* search widget */
- /* text widget */
- /*********************
- FOOTER STYLES
- *********************/
- /*
- you'll probably need to do quite a bit
- of overriding here if you styled them for
- mobile. Make sure to double check these!
- */
- .footer-links ul li {
- /*
- be careful with the depth of your menus.
- it's very rare to have multi-depth menus in
- the footer.
- */ }
- /* end .footer-links */
- /******************************************************************
- Site Name:
- Author:
- Stylesheet: Desktop Stylsheet
- This is the desktop size. It's larger than an iPad so it will only
- be seen on the Desktop.
- ******************************************************************/
- /*
- you can call the larger styles if you want, but there's really no need
- */
- /******************************************************************
- ADDITIONAL IE FIXES
- These fixes are now ONLY seen by IE, so you don't have to worry
- about using prefixes, although it's best practice. For more info
- on using Modernizr classes, check out this link:
- http://www.modernizr.com/docs/
- ******************************************************************/
- /*
- For example, you can use something like:
- .no-textshadow .class { ... }
- You can also target specific versions by using the classes applied to
- the html element. These can sometimes change, so take a look inside the
- header.php file to see what they are:
- .lt-ie8 .class { ... }
- */
|