ie.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  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 {
  33. zoom: 1; }
  34. .clearfix:before, .clearfix:after {
  35. content: "";
  36. display: table; }
  37. .clearfix:after {
  38. clear: both; }
  39. /*********************
  40. TOOLS
  41. *********************/
  42. * {
  43. -webkit-box-sizing: border-box;
  44. -moz-box-sizing: border-box;
  45. box-sizing: border-box; }
  46. .image-replacement {
  47. text-indent: 100%;
  48. white-space: nowrap;
  49. overflow: hidden; }
  50. /*********************
  51. COLORS
  52. Need help w/ choosing your colors? Try this site out:
  53. http://0to255.com/
  54. *********************/
  55. /*
  56. Here's a great tutorial on how to
  57. use color variables properly:
  58. http://sachagreif.com/sass-color-variables/
  59. */
  60. /*********************
  61. TYPOGRAPHY
  62. *********************/
  63. /* To embed your own fonts, use this syntax
  64. and place your fonts inside the
  65. library/fonts folder. For more information
  66. on embedding fonts, go to:
  67. http://www.fontsquirrel.com/
  68. Be sure to remove the comment brackets.
  69. */
  70. /* @font-face {
  71. font-family: 'Font Name';
  72. src: url('library/fonts/font-name.eot');
  73. src: url('library/fonts/font-name.eot?#iefix') format('embedded-opentype'),
  74. url('library/fonts/font-name.woff') format('woff'),
  75. url('library/fonts/font-name.ttf') format('truetype'),
  76. url('library/fonts/font-name.svg#font-name') format('svg');
  77. font-weight: normal;
  78. font-style: normal;
  79. }
  80. */
  81. /*
  82. use the best ampersand
  83. http://simplebits.com/notebook/2008/08/14/ampersands-2/
  84. */
  85. span.amp {
  86. font-family: Baskerville,'Goudy Old Style',Palatino,'Book Antiqua',serif !important;
  87. font-style: italic; }
  88. .text-left {
  89. text-align: left; }
  90. .text-center {
  91. text-align: center; }
  92. .text-right {
  93. text-align: right; }
  94. .alert-help, .alert-info, .alert-error, .alert-success {
  95. margin: 10px;
  96. padding: 5px 18px;
  97. border: 1px solid; }
  98. .alert-help {
  99. border-color: #e8dc59;
  100. background: #ebe16f; }
  101. .alert-info {
  102. border-color: #bfe4f4;
  103. background: #d5edf8; }
  104. .alert-error {
  105. border-color: #f8cdce;
  106. background: #fbe3e4; }
  107. .alert-success {
  108. border-color: #deeaae;
  109. background: #e6efc2; }
  110. /*********************
  111. TRANISTION
  112. *********************/
  113. /*
  114. I totally rewrote this to be cleaner and easier to use.
  115. You'll need to be using Sass 3.2+ for these to work.
  116. Thanks to @anthonyshort for the inspiration on these.
  117. USAGE: @include transition(all 0.2s ease-in-out);
  118. */
  119. /*********************
  120. CSS3 GRADIENTS
  121. Be careful with these since they can
  122. really slow down your CSS. Don't overdue it.
  123. *********************/
  124. /* @include css-gradient(#dfdfdf,#f8f8f8); */
  125. /*********************
  126. BOX SIZING
  127. *********************/
  128. /* @include box-sizing(border-box); */
  129. /* NOTE: value of "padding-box" is only supported in Gecko. So
  130. probably best not to use it. I mean, were you going to anyway? */
  131. /*********************
  132. BUTTONS
  133. *********************/
  134. .button, .button:visited {
  135. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  136. border: 1px solid #be0d37;
  137. border-top-color: #db0f3f;
  138. border-left-color: #db0f3f;
  139. padding: 4px 12px;
  140. color: white;
  141. display: inline-block;
  142. font-size: 11px;
  143. font-weight: bold;
  144. text-decoration: none;
  145. text-shadow: 0 1px rgba(0, 0, 0, 0.75);
  146. cursor: pointer;
  147. margin-bottom: 20px;
  148. line-height: 21px;
  149. border-radius: 4px;
  150. background-color: #e40f42;
  151. background-image: -webkit-gradient(linear, left top, left bottom, from(#f01d4f), to(#e40f42));
  152. background-image: -webkit-linear-gradient(top, #f01d4f, #e40f42);
  153. background-image: -moz-linear-gradient(top, #f01d4f, #e40f42);
  154. background-image: -o-linear-gradient(top, #f01d4f, #e40f42);
  155. background-image: linear-gradient(to bottom, #f01d4f, #e40f42); }
  156. .button:hover, .button:focus, .button:visited:hover, .button:visited:focus {
  157. color: white;
  158. border: 1px solid #be0d37;
  159. border-top-color: #9d0a2d;
  160. border-left-color: #9d0a2d;
  161. background-color: #cc0e3b;
  162. background-image: -webkit-gradient(linear, left top, left bottom, from(#e40f42), to(#cc0e3b));
  163. background-image: -webkit-linear-gradient(top, #e40f42, #cc0e3b);
  164. background-image: -moz-linear-gradient(top, #e40f42, #cc0e3b);
  165. background-image: -o-linear-gradient(top, #e40f42, #cc0e3b);
  166. background-image: linear-gradient(to bottom, #e40f42, #cc0e3b); }
  167. .button:active, .button:visited:active {
  168. background-color: #f01d4f;
  169. background-image: -webkit-gradient(linear, left top, left bottom, from(#e40f42), to(#f01d4f));
  170. background-image: -webkit-linear-gradient(top, #e40f42, #f01d4f);
  171. background-image: -moz-linear-gradient(top, #e40f42, #f01d4f);
  172. background-image: -o-linear-gradient(top, #e40f42, #f01d4f);
  173. background-image: linear-gradient(to bottom, #e40f42, #f01d4f); }
  174. .blue-button, .blue-button:visited {
  175. border-color: #1472ad;
  176. text-shadow: 0 1px 1px #1472ad;
  177. background-color: #1681c4;
  178. background-image: -webkit-gradient(linear, left top, left bottom, from(#1990db), to(#1681c4));
  179. background-image: -webkit-linear-gradient(top, #1990db, #1681c4);
  180. background-image: -moz-linear-gradient(top, #1990db, #1681c4);
  181. background-image: -o-linear-gradient(top, #1990db, #1681c4);
  182. background-image: linear-gradient(to bottom, #1990db, #1681c4);
  183. box-shadow: inset 0 0 3px #59b3ec; }
  184. .blue-button:hover, .blue-button:focus, .blue-button:visited:hover, .blue-button:visited:focus {
  185. border-color: #116396;
  186. background-color: #1472ad;
  187. background-image: -webkit-gradient(linear, left top, left bottom, from(#1784c9), to(#1472ad));
  188. background-image: -webkit-linear-gradient(top, #1784c9, #1472ad);
  189. background-image: -moz-linear-gradient(top, #1784c9, #1472ad);
  190. background-image: -o-linear-gradient(top, #1784c9, #1472ad);
  191. background-image: linear-gradient(to bottom, #1784c9, #1472ad); }
  192. .blue-button:active, .blue-button:visited:active {
  193. background-color: #1990db;
  194. background-image: -webkit-gradient(linear, left top, left bottom, from(#1681c4), to(#1990db));
  195. background-image: -webkit-linear-gradient(top, #1681c4, #1990db);
  196. background-image: -moz-linear-gradient(top, #1681c4, #1990db);
  197. background-image: -o-linear-gradient(top, #1681c4, #1990db);
  198. background-image: linear-gradient(to bottom, #1681c4, #1990db); }
  199. /******************************************************************
  200. Site Name:
  201. Author:
  202. Stylesheet: 481px and Up Stylesheet
  203. This stylesheet is loaded for larger devices. It's set to
  204. 481px because at 480px it would load on a landscaped iPhone.
  205. This isn't ideal because then you would be loading all those
  206. extra styles on that same mobile connection.
  207. A word of warning. This size COULD be a larger mobile device,
  208. so you still want to keep it pretty light and simply expand
  209. upon your base.scss styles.
  210. ******************************************************************/
  211. /*********************
  212. NAVIGATION STYLES
  213. *********************/
  214. /* .menu is clearfixed inside mixins.scss */
  215. .menu {
  216. /* end .menu ul */ }
  217. .menu ul {
  218. /* end .menu ul li */
  219. /* highlight current page */
  220. /* end current highlighters */ }
  221. .menu ul li {
  222. /*
  223. plan your menus and drop-downs wisely.
  224. */ }
  225. .menu ul li a {
  226. /*
  227. you can use hover styles here even though this size
  228. has the possibility of being a mobile device.
  229. */ }
  230. /* end .menu */
  231. /*********************
  232. POSTS & CONTENT STYLES
  233. *********************/
  234. /* entry content */
  235. .entry-content {
  236. /* at this larger size, we can start to align images */ }
  237. .entry-content .alignleft, .entry-content img.alignleft {
  238. margin-right: 1.5em;
  239. display: inline;
  240. float: left; }
  241. .entry-content .alignright, .entry-content img.alignright {
  242. margin-left: 1.5em;
  243. display: inline;
  244. float: right; }
  245. .entry-content .aligncenter, .entry-content img.aligncenter {
  246. margin-right: auto;
  247. margin-left: auto;
  248. display: block;
  249. clear: both; }
  250. /* end .entry-content */
  251. /*********************
  252. FOOTER STYLES
  253. *********************/
  254. /*
  255. check your menus here. do they look good?
  256. do they need tweaking?
  257. */
  258. /* end .footer-links */
  259. /******************************************************************
  260. Site Name:
  261. Author:
  262. Stylesheet: Tablet & Small Desktop Stylesheet
  263. Here's where you can start getting into the good stuff.
  264. This size will work on iPads, other tablets, and desktops.
  265. So you can start working with more styles, background images,
  266. and other resources. You'll also notice the grid starts to
  267. come into play. Have fun!
  268. ******************************************************************/
  269. /*********************
  270. GENERAL STYLES
  271. *********************/
  272. /*********************
  273. LAYOUT & GRID STYLES
  274. *********************/
  275. .wrap {
  276. max-width: 1140px; }
  277. /*********************
  278. HEADER STYLES
  279. *********************/
  280. /*********************
  281. NAVIGATION STYLES
  282. *********************/
  283. .nav {
  284. background: #eee;
  285. border: 0;
  286. /* end .menu ul li */
  287. /* highlight current page */
  288. /* end current highlighters */ }
  289. .nav li {
  290. float: left;
  291. position: relative;
  292. /*
  293. plan your menus and drop-downs wisely.
  294. */
  295. /* showing sub-menus */ }
  296. .nav li a {
  297. border-bottom: 0;
  298. /*
  299. you can use hover styles here even though this size
  300. has the possibility of being a mobile device.
  301. */ }
  302. .nav li a:hover, .nav li a:focus {
  303. background-color: #dedede; }
  304. .nav li ul.sub-menu,
  305. .nav li ul.children {
  306. width: 200px;
  307. border: 1px solid #ccc;
  308. border-top: 0;
  309. position: absolute;
  310. display: none;
  311. z-index: 8999;
  312. /* highlight sub-menu current page */ }
  313. .nav li ul.sub-menu li,
  314. .nav li ul.children li {
  315. /*
  316. if you need to go deeper, go nuts
  317. just remember deeper menus suck
  318. for usability. k, bai.
  319. */ }
  320. .nav li ul.sub-menu li a,
  321. .nav li ul.children li a {
  322. padding-left: 10px;
  323. border-right: 0;
  324. display: block;
  325. width: 180px;
  326. border-bottom: 1px solid #ccc; }
  327. .nav li ul.sub-menu li:last-child a,
  328. .nav li ul.children li:last-child a {
  329. border-bottom: 0; }
  330. .nav li:hover ul {
  331. top: auto;
  332. display: block; }
  333. /* end .nav */
  334. /*********************
  335. SIDEBARS & ASIDES
  336. *********************/
  337. .sidebar {
  338. margin-top: 2.2em; }
  339. .widgettitle {
  340. border-bottom: 2px solid #444;
  341. margin-bottom: 0.75em; }
  342. .widget {
  343. padding: 0 10px;
  344. margin: 2.2em 0; }
  345. .widget ul li {
  346. margin-bottom: 0.75em;
  347. /* deep nesting */ }
  348. .widget ul li ul {
  349. margin-top: 0.75em;
  350. padding-left: 1em; }
  351. /* links widget */
  352. /* meta widget */
  353. /* pages widget */
  354. /* recent-posts widget */
  355. /* archives widget */
  356. /* tag-cloud widget */
  357. /* calendar widget */
  358. /* category widget */
  359. /* recent-comments widget */
  360. /* search widget */
  361. /* text widget */
  362. /*********************
  363. FOOTER STYLES
  364. *********************/
  365. /*
  366. you'll probably need to do quite a bit
  367. of overriding here if you styled them for
  368. mobile. Make sure to double check these!
  369. */
  370. .footer-links ul li {
  371. /*
  372. be careful with the depth of your menus.
  373. it's very rare to have multi-depth menus in
  374. the footer.
  375. */ }
  376. /* end .footer-links */
  377. /******************************************************************
  378. Site Name:
  379. Author:
  380. Stylesheet: Desktop Stylsheet
  381. This is the desktop size. It's larger than an iPad so it will only
  382. be seen on the Desktop.
  383. ******************************************************************/
  384. /*
  385. you can call the larger styles if you want, but there's really no need
  386. */
  387. /******************************************************************
  388. ADDITIONAL IE FIXES
  389. These fixes are now ONLY seen by IE, so you don't have to worry
  390. about using prefixes, although it's best practice. For more info
  391. on using Modernizr classes, check out this link:
  392. http://www.modernizr.com/docs/
  393. ******************************************************************/
  394. /*
  395. For example, you can use something like:
  396. .no-textshadow .class { ... }
  397. You can also target specific versions by using the classes applied to
  398. the html element. These can sometimes change, so take a look inside the
  399. header.php file to see what they are:
  400. .lt-ie8 .class { ... }
  401. */