ie.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  1. /******************************************************************
  2. Site Name:
  3. Author:
  4. Stylesheet: IE Stylesheet
  5. So instead of using the respond.js file to add media query support
  6. to IE, we're going to use SASS to create an easily readable css file.
  7. Here, we import all the styles the standard stylesheet gets, only
  8. without the media queries. No need to worry about editing anything!
  9. ******************************************************************/
  10. /*
  11. Remember, all the BASE styles are called already since IE can
  12. read those. Below, we need to import only the stuff IE can't
  13. understand (what's inside the media queries). We also need to
  14. import the mixins file so SASS can understand the variables.
  15. */
  16. /* import mixins */
  17. /******************************************************************
  18. Site Name:
  19. Author:
  20. Stylesheet: Mixins & Constants Stylesheet
  21. This is where you can take advantage of Sass' great features:
  22. Mixins & Constants. I won't go in-depth on how they work exactly,
  23. there are a few articles below that will help do that. What I will
  24. tell you is that this will help speed up simple changes like
  25. changing a color or adding CSS3 techniques gradients.
  26. A WORD OF WARNING: It's very easy to overdo it here. Be careful and
  27. remember less is more.
  28. ******************************************************************/
  29. /*********************
  30. CLEARFIXIN'
  31. *********************/
  32. .clearfix { zoom: 1; }
  33. .clearfix:before, .clearfix:after { content: ""; display: table; }
  34. .clearfix:after { clear: both; }
  35. /*********************
  36. TOOLS
  37. *********************/
  38. * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
  39. .image-replacement { text-indent: 100%; white-space: nowrap; overflow: hidden; }
  40. /*********************
  41. COLORS
  42. Need help w/ choosing your colors? Try this site out:
  43. http://0to255.com/
  44. *********************/
  45. /*
  46. Here's a great tutorial on how to
  47. use color variables properly:
  48. http://sachagreif.com/sass-color-variables/
  49. */
  50. /*********************
  51. TYPOGRAPHY
  52. *********************/
  53. /* To embed your own fonts, use this syntax
  54. and place your fonts inside the
  55. library/fonts folder. For more information
  56. on embedding fonts, go to:
  57. http://www.fontsquirrel.com/
  58. Be sure to remove the comment brackets.
  59. */
  60. /* @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;
  61. }
  62. */
  63. /*
  64. use the best ampersand
  65. http://simplebits.com/notebook/2008/08/14/ampersands-2/
  66. */
  67. span.amp { font-family: Baskerville,'Goudy Old Style',Palatino,'Book Antiqua',serif !important; font-style: italic; }
  68. .text-left { text-align: left; }
  69. .text-center { text-align: center; }
  70. .text-right { text-align: right; }
  71. .alert-help, .alert-info, .alert-error, .alert-success { margin: 10px; padding: 5px 18px; border: 1px solid; }
  72. .alert-help { border-color: #e8dc59; background: #ebe16f; }
  73. .alert-info { border-color: #bfe4f4; background: #d5edf8; }
  74. .alert-error { border-color: #f8cdce; background: #fbe3e4; }
  75. .alert-success { border-color: #deeaae; background: #e6efc2; }
  76. /*********************
  77. TRANSITION
  78. *********************/
  79. /*
  80. I totally rewrote this to be cleaner and easier to use.
  81. You'll need to be using Sass 3.2+ for these to work.
  82. Thanks to @anthonyshort for the inspiration on these.
  83. USAGE: @include transition(all 0.2s ease-in-out);
  84. */
  85. /*********************
  86. CSS3 GRADIENTS
  87. Be careful with these since they can
  88. really slow down your CSS. Don't overdo it.
  89. *********************/
  90. /* @include css-gradient(#dfdfdf,#f8f8f8); */
  91. /*********************
  92. BOX SIZING
  93. *********************/
  94. /* @include box-sizing(border-box); */
  95. /* NOTE: value of "padding-box" is only supported in Gecko. So
  96. probably best not to use it. I mean, were you going to anyway? */
  97. /*********************
  98. BUTTONS
  99. *********************/
  100. .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); }
  101. .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); }
  102. .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); }
  103. .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; }
  104. .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); }
  105. .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); }
  106. /******************************************************************
  107. Site Name:
  108. Author:
  109. Stylesheet: Grid Stylesheet
  110. I've seperated the grid so you can swap it out easily. It's
  111. called at the top the style.scss stylesheet.
  112. There are a ton of grid solutions out there. You should definitely
  113. experiment with your own. Here are some recommendations:
  114. http://gridsetapp.com - Love this site. Responsive Grids made easy.
  115. http://susy.oddbird.net/ - Grids using Compass. Very elegant.
  116. http://gridpak.com/ - Create your own responsive grid.
  117. The grid below is a combination of the 1140 grid and Twitter Boostrap.
  118. I liked 1140 but Boostrap's grid was way more detailed so I merged them
  119. together, let's see how this works out. If you want to use 1140, the original
  120. values are commented out on each line.
  121. ******************************************************************/
  122. .onecol { width: 5.801104972%; }
  123. /* 4.85%; } /* grid_1 */
  124. .twocol { width: 14.364640883%; }
  125. /* 13.45%; } /* grid_2 */
  126. .threecol { width: 22.928176794%; }
  127. /* 22.05%; } /* grid_3 */
  128. .fourcol { width: 31.491712705%; }
  129. /* 30.75%; } /* grid_4 */
  130. .fivecol { width: 40.055248616%; }
  131. /* 39.45%; } /* grid_5 */
  132. .sixcol { width: 48.618784527%; }
  133. /* 48%; } /* grid_6 */
  134. .sevencol { width: 57.182320438000005%; }
  135. /* 56.75%; } /* grid_7 */
  136. .eightcol { width: 65.74585634900001%; }
  137. /* 65.4%; } /* grid_8 */
  138. .ninecol { width: 74.30939226%; }
  139. /* 74.05%; } /* grid_9 */
  140. .tencol { width: 82.87292817100001%; }
  141. /* 82.7%; } /* grid_10 */
  142. .elevencol { width: 91.436464082%; }
  143. /* 91.35%; } /* grid_11 */
  144. .twelvecol { width: 99.999999993%; }
  145. /* 100%; } /* grid_12 */
  146. .onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol, .twelvecol { position: relative; float: left; margin-left: 2.762430939%; }
  147. .first { margin-left: 0; }
  148. .last { float: right; }
  149. /******************************************************************
  150. Site Name:
  151. Author:
  152. Stylesheet: 481px and Up Stylesheet
  153. This stylesheet is loaded for larger devices. It's set to
  154. 481px because at 480px it would load on a landscaped iPhone.
  155. This isn't ideal because then you would be loading all those
  156. extra styles on that same mobile connection.
  157. A word of warning. This size COULD be a larger mobile device,
  158. so you still want to keep it pretty light and simply expand
  159. upon your base.scss styles.
  160. ******************************************************************/
  161. /*********************
  162. NAVIGATION STYLES
  163. *********************/
  164. /* .menu is clearfixed inside mixins.scss */
  165. .menu { /* end .menu ul */ }
  166. .menu ul { /* end .menu ul li */ /* highlight current page */ /* end current highlighters */ }
  167. .menu ul li { /*
  168. plan your menus and drop-downs wisely.
  169. */ }
  170. .menu ul li a { /*
  171. you can use hover styles here even though this size
  172. has the possibility of being a mobile device.
  173. */ }
  174. /* end .menu */
  175. /*********************
  176. POSTS & CONTENT STYLES
  177. *********************/
  178. /* entry content */
  179. .entry-content { /* at this larger size, we can start to align images */ }
  180. .entry-content .alignleft, .entry-content img.alignleft { margin-right: 1.5em; display: inline; float: left; }
  181. .entry-content .alignright, .entry-content img.alignright { margin-left: 1.5em; display: inline; float: right; }
  182. .entry-content .aligncenter, .entry-content img.aligncenter { margin-right: auto; margin-left: auto; display: block; clear: both; }
  183. /* end .entry-content */
  184. /*********************
  185. FOOTER STYLES
  186. *********************/
  187. /*
  188. check your menus here. do they look good?
  189. do they need tweaking?
  190. */
  191. /* end .footer-links */
  192. /******************************************************************
  193. Site Name:
  194. Author:
  195. Stylesheet: Tablet & Small Desktop Stylesheet
  196. Here's where you can start getting into the good stuff.
  197. This size will work on iPads, other tablets, and desktops.
  198. So you can start working with more styles, background images,
  199. and other resources. You'll also notice the grid starts to
  200. come into play. Have fun!
  201. ******************************************************************/
  202. /*********************
  203. GENERAL STYLES
  204. *********************/
  205. /*********************
  206. LAYOUT & GRID STYLES
  207. *********************/
  208. .wrap { max-width: 1140px; }
  209. /*********************
  210. HEADER STYLES
  211. *********************/
  212. /*********************
  213. NAVIGATION STYLES
  214. *********************/
  215. .nav { background: #eee; border: 0; /* end .menu ul li */ /* highlight current page */ /* end current highlighters */ }
  216. .nav li { float: left; position: relative; /*
  217. plan your menus and drop-downs wisely.
  218. */ /* showing sub-menus */ }
  219. .nav li a { border-bottom: 0; /*
  220. you can use hover styles here even though this size
  221. has the possibility of being a mobile device.
  222. */ }
  223. .nav li a:hover, .nav li a:focus { background-color: #dedede; }
  224. .nav li ul.sub-menu, .nav li ul.children { margin-top: 0; border: 1px solid #ccc; border-top: 0; position: absolute; display: none; z-index: 8999; /* highlight sub-menu current page */ }
  225. .nav li ul.sub-menu li, .nav li ul.children li { /*
  226. if you need to go deeper, go nuts
  227. just remember deeper menus suck
  228. for usability. k, bai.
  229. */ }
  230. .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; }
  231. .nav li ul.sub-menu li:last-child a, .nav li ul.children li:last-child a { border-bottom: 0; }
  232. .nav li:hover ul { top: auto; display: block; }
  233. /* end .nav */
  234. /*********************
  235. SIDEBARS & ASIDES
  236. *********************/
  237. .sidebar { margin-top: 2.2em; }
  238. .widgettitle { border-bottom: 2px solid #444; margin-bottom: 0.75em; }
  239. .widget { padding: 0 10px; margin: 2.2em 0; }
  240. .widget ul li { margin-bottom: 0.75em; /* deep nesting */ }
  241. .widget ul li ul { margin-top: 0.75em; padding-left: 1em; }
  242. /* links widget */
  243. /* meta widget */
  244. /* pages widget */
  245. /* recent-posts widget */
  246. /* archives widget */
  247. /* tag-cloud widget */
  248. /* calendar widget */
  249. /* category widget */
  250. /* recent-comments widget */
  251. /* search widget */
  252. /* text widget */
  253. /*********************
  254. FOOTER STYLES
  255. *********************/
  256. /*
  257. you'll probably need to do quite a bit
  258. of overriding here if you styled them for
  259. mobile. Make sure to double check these!
  260. */
  261. .footer-links ul li { /*
  262. be careful with the depth of your menus.
  263. it's very rare to have multi-depth menus in
  264. the footer.
  265. */ }
  266. /* end .footer-links */
  267. /******************************************************************
  268. Site Name:
  269. Author:
  270. Stylesheet: Desktop Stylsheet
  271. This is the desktop size. It's larger than an iPad so it will only
  272. be seen on the Desktop.
  273. ******************************************************************/
  274. /*
  275. you can call the larger styles if you want, but there's really no need
  276. */
  277. /******************************************************************
  278. ADDITIONAL IE FIXES
  279. These fixes are now ONLY seen by IE, so you don't have to worry
  280. about using prefixes, although it's best practice. For more info
  281. on using Modernizr classes, check out this link:
  282. http://www.modernizr.com/docs/
  283. ******************************************************************/
  284. /*
  285. For example, you can use something like:
  286. .no-textshadow .class { ... }
  287. You can also target specific versions by using the classes applied to
  288. the html element. These can sometimes change, so take a look inside the
  289. header.php file to see what they are:
  290. .lt-ie8 .class { ... }
  291. */