ie.css 14 KB

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