/****************************************************************** Site Name: Author: Stylesheet: TinyMCE Editor This stylesheet is loaded automatically by Wordpress when compiled and placed in the root theme directory folder as editor-style.css For more info, check out the codex: http://codex.wordpress.org/Editor_Style ******************************************************************/ /* Wrap the entire post style inside the TinyMCE selector, as suggested here http://codex.wordpress.org/Function_Reference/add_editor_style */ body#tinymce.wp-editor { /* normalize.css 2012-07-07T09:50 UTC - http://github.com/necolas/normalize.css */ /* ========================================================================== HTML5 display definitions ========================================================================== */ /** * Correct `block` display not defined in IE 8/9. */ /** * Correct `inline-block` display not defined in IE 8/9. */ /** * Prevent modern browsers from displaying `audio` without controls. * Remove excess height in iOS 5 devices. */ /** * Address `[hidden]` styling not present in IE 8/9. * Hide the `template` element in IE, Safari, and Firefox < 22. */ /* ========================================================================== Base ========================================================================== */ /** * 1. Set default font family to sans-serif. * 2. Prevent iOS text size adjust after orientation change, without disabling * user zoom. */ /** * Remove default margin. */ /* ========================================================================== Links ========================================================================== */ /** * Remove the gray background color from active links in IE 10. */ /** * Address `outline` inconsistency between Chrome and other browsers. */ /** * Improve readability when focused and also mouse hovered in all browsers. */ /* ========================================================================== Typography ========================================================================== */ /** * Address variable `h1` font-size and margin within `section` and `article` * contexts in Firefox 4+, Safari 5, and Chrome. */ /** * Address styling not present in IE 8/9, Safari 5, and Chrome. */ /** * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. */ /** * Address styling not present in Safari 5 and Chrome. */ /** * Address differences between Firefox and other browsers. */ /* * proper formatting (http://blog.fontdeck.com/post/9037028497/hyphens) */ /* * Addresses margins set differently in IE6/7. */ /** * Correct font family set oddly in Safari 5 and Chrome. */ /** * Improve readability of pre-formatted text in all browsers. */ /** * Set consistent quote types. */ /** * Address inconsistent and variable font size in all browsers. */ /** * Prevent `sub` and `sup` affecting `line-height` in all browsers. */ /* ========================================================================== Lists ========================================================================== */ /* * Addresses margins set differently in IE6/7. */ /* * Addresses paddings set differently in IE6/7. */ /* * Corrects list images handled incorrectly in IE7. */ /* ========================================================================== Embedded content ========================================================================== */ /** * Remove border when inside `a` element in IE 8/9. */ /** * Correct overflow displayed oddly in IE 9. */ /* ========================================================================== Figures ========================================================================== */ /** * Address margin not present in IE 8/9 and Safari 5. */ /* ========================================================================== Forms ========================================================================== */ /** * Define consistent border, margin, and padding. */ /** * 1. Correct `color` not being inherited in IE 8/9. * 2. Remove padding so people aren't caught out if they zero out fieldsets. */ /** * 1. Correct font family not being inherited in all browsers. * 2. Correct font size not being inherited in all browsers. * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome. */ /** * Address Firefox 4+ setting `line-height` on `input` using `!important` in * the UA stylesheet. */ /** * Address inconsistent `text-transform` inheritance for `button` and `select`. * All other form control elements do not inherit `text-transform` values. * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+. * Correct `select` style inheritance in Firefox 4+ and Opera. */ /** * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` * and `video` controls. * 2. Correct inability to style clickable `input` types in iOS. * 3. Improve usability and consistency of cursor style between image-type * `input` and others. */ /** * Re-set default cursor for disabled elements. */ /** * 1. Address box sizing set to `content-box` in IE 8/9/10. * 2. Remove excess padding in IE 8/9/10. */ /** * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome * (include `-moz` to future-proof). */ /** * Remove inner padding and search cancel button in Safari 5 and Chrome * on OS X. */ /** * Remove inner padding and border in Firefox 4+. */ /** * 1. Remove default vertical scrollbar in IE 8/9. * 2. Improve readability and alignment in all browsers. */ /* ========================================================================== Tables ========================================================================== */ /** * Remove most spacing between table cells. */ /* use the best ampersand http://simplebits.com/notebook/2008/08/14/ampersands-2/ */ /****************************************************************** 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/ */ /****************************************************************** Site Name: Author: Stylesheet: Typography Need to import a font or set of icons for your site? Drop them in here or just use this to establish your typographical grid. Or not. Do whatever you want to...GOSH! Helpful Articles: http://trentwalton.com/2012/06/19/fluid-type/ http://ia.net/blog/responsive-typography-the-basics/ http://alistapart.com/column/responsive-typography-is-a-physical-discipline ******************************************************************/ /********************* FONT FACE (IN YOUR FACE) *********************/ /* 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; } */ /* The following is based of Typebase: https://github.com/devinhunt/typebase.css I've edited it a bit, but it's a nice starting point. */ /* i imported this one in the functions file so Starter Theme would look sweet. don't forget to remove it for your site. */ /* some nice typographical defaults more here: http://www.newnet-soft.com/blog/csstypography */ /****************************************************************** Site Name: Author: Stylesheet: Sass Functions You can do a lot of really cool things in Sass. Functions help you make repeated actions a lot easier. They are really similar to mixins, but can be used for so much more. Anyway, keep them all in here so it's easier to find when you're looking for one. For more info on functions, go here: http://sass-lang.com/documentation/Sass/Script/Functions.html ******************************************************************/ /********************* COLOR FUNCTIONS These are helpful when you're working with shadows and such things. It's essentially a quicker way to write RGBA. Example: box-shadow: 0 0 4px black(0.3); compiles to: box-shadow: 0 0 4px rgba(0,0,0,0.3); *********************/ /********************* RESPONSIVE HELPER FUNCTION If you're creating a responsive site, then you've probably already read Responsive Web Design: http://www.abookapart.com/products/responsive-web-design Here's a nice little helper function for calculating target / context as mentioned in that book. Example: width: cp(650px, 1000px); or width: calc-percent(650px, 1000px); both compile to: width: 65%; *********************/ /****************************************************************** Site Name: Author: Stylesheet: Mixins Stylesheet This is where you can take advantage of Sass' great features: Mixins. 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 gradients. A WORD OF WARNING: It's very easy to overdo it here. Be careful and remember less is more. Helpful: http://sachagreif.com/useful-sass-mixins/ http://thesassway.com/intermediate/leveraging-sass-mixins-for-cleaner-code http://web-design-weekly.com/blog/2013/05/12/handy-sass-mixins/ ******************************************************************/ /********************* TRANSITION *********************/ /* 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); */ /********************* CSS3 GRADIENTS Be careful with these since they can really slow down your CSS. Don't overdo 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? */ /********************* LINK STYLES *********************/ /****************************************************************** H1, H2, H3, H4, H5 STYLES ******************************************************************/ /********************* LARGER MOBILE DEVICES This is for devices like the Galaxy Note or something that's larger than an iPhone but smaller than a tablet. Let's call them tweeners. *********************/ }