ie.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528
  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. TRANSITION
  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: Grid Stylesheet
  203. I've seperated the grid so you can swap it out easily. It's
  204. called at the top the style.scss stylesheet.
  205. There are a ton of grid solutions out there. You should definitely
  206. experiment with your own. Here are some recommendations:
  207. http://gridsetapp.com - Love this site. Responsive Grids made easy.
  208. http://susy.oddbird.net/ - Grids using Compass. Very elegant.
  209. http://gridpak.com/ - Create your own responsive grid.
  210. The grid below is a combination of the 1140 grid and Twitter Boostrap.
  211. I liked 1140 but Boostrap's grid was way more detailed so I merged them
  212. together, let's see how this works out. If you want to use 1140, the original
  213. values are commented out on each line.
  214. ******************************************************************/
  215. .onecol {
  216. width: 5.801104972%; }
  217. /* 4.85%; } /* grid_1 */
  218. .twocol {
  219. width: 14.364640883%; }
  220. /* 13.45%; } /* grid_2 */
  221. .threecol {
  222. width: 22.928176794%; }
  223. /* 22.05%; } /* grid_3 */
  224. .fourcol {
  225. width: 31.491712705%; }
  226. /* 30.75%; } /* grid_4 */
  227. .fivecol {
  228. width: 40.055248616%; }
  229. /* 39.45%; } /* grid_5 */
  230. .sixcol {
  231. width: 48.618784527%; }
  232. /* 48%; } /* grid_6 */
  233. .sevencol {
  234. width: 57.182320438000005%; }
  235. /* 56.75%; } /* grid_7 */
  236. .eightcol {
  237. width: 65.74585634900001%; }
  238. /* 65.4%; } /* grid_8 */
  239. .ninecol {
  240. width: 74.30939226%; }
  241. /* 74.05%; } /* grid_9 */
  242. .tencol {
  243. width: 82.87292817100001%; }
  244. /* 82.7%; } /* grid_10 */
  245. .elevencol {
  246. width: 91.436464082%; }
  247. /* 91.35%; } /* grid_11 */
  248. .twelvecol {
  249. width: 99.999999993%; }
  250. /* 100%; } /* grid_12 */
  251. .onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol, .twelvecol {
  252. position: relative;
  253. float: left;
  254. margin-left: 2.762430939%; }
  255. .first {
  256. margin-left: 0; }
  257. .last {
  258. float: right; }
  259. /******************************************************************
  260. Site Name:
  261. Author:
  262. Stylesheet: 481px and Up Stylesheet
  263. This stylesheet is loaded for larger devices. It's set to
  264. 481px because at 480px it would load on a landscaped iPhone.
  265. This isn't ideal because then you would be loading all those
  266. extra styles on that same mobile connection.
  267. A word of warning. This size COULD be a larger mobile device,
  268. so you still want to keep it pretty light and simply expand
  269. upon your base.scss styles.
  270. ******************************************************************/
  271. /*********************
  272. NAVIGATION STYLES
  273. *********************/
  274. /* .menu is clearfixed inside mixins.scss */
  275. .menu {
  276. /* end .menu ul */ }
  277. .menu ul {
  278. /* end .menu ul li */
  279. /* highlight current page */
  280. /* end current highlighters */ }
  281. .menu ul li {
  282. /*
  283. plan your menus and drop-downs wisely.
  284. */ }
  285. .menu ul li a {
  286. /*
  287. you can use hover styles here even though this size
  288. has the possibility of being a mobile device.
  289. */ }
  290. /* end .menu */
  291. /*********************
  292. POSTS & CONTENT STYLES
  293. *********************/
  294. /* entry content */
  295. .entry-content {
  296. /* at this larger size, we can start to align images */ }
  297. .entry-content .alignleft, .entry-content img.alignleft {
  298. margin-right: 1.5em;
  299. display: inline;
  300. float: left; }
  301. .entry-content .alignright, .entry-content img.alignright {
  302. margin-left: 1.5em;
  303. display: inline;
  304. float: right; }
  305. .entry-content .aligncenter, .entry-content img.aligncenter {
  306. margin-right: auto;
  307. margin-left: auto;
  308. display: block;
  309. clear: both; }
  310. /* end .entry-content */
  311. /*********************
  312. FOOTER STYLES
  313. *********************/
  314. /*
  315. check your menus here. do they look good?
  316. do they need tweaking?
  317. */
  318. /* end .footer-links */
  319. /******************************************************************
  320. Site Name:
  321. Author:
  322. Stylesheet: Tablet & Small Desktop Stylesheet
  323. Here's where you can start getting into the good stuff.
  324. This size will work on iPads, other tablets, and desktops.
  325. So you can start working with more styles, background images,
  326. and other resources. You'll also notice the grid starts to
  327. come into play. Have fun!
  328. ******************************************************************/
  329. /*********************
  330. GENERAL STYLES
  331. *********************/
  332. /*********************
  333. LAYOUT & GRID STYLES
  334. *********************/
  335. .wrap {
  336. max-width: 1140px; }
  337. /*********************
  338. HEADER STYLES
  339. *********************/
  340. /*********************
  341. NAVIGATION STYLES
  342. *********************/
  343. .nav {
  344. background: #eee;
  345. border: 0;
  346. /* end .menu ul li */
  347. /* highlight current page */
  348. /* end current highlighters */ }
  349. .nav li {
  350. float: left;
  351. position: relative;
  352. /*
  353. plan your menus and drop-downs wisely.
  354. */
  355. /* showing sub-menus */ }
  356. .nav li a {
  357. border-bottom: 0;
  358. /*
  359. you can use hover styles here even though this size
  360. has the possibility of being a mobile device.
  361. */ }
  362. .nav li a:hover, .nav li a:focus {
  363. background-color: #dedede; }
  364. .nav li ul.sub-menu,
  365. .nav li ul.children {
  366. margin-top: 0;
  367. border: 1px solid #ccc;
  368. border-top: 0;
  369. position: absolute;
  370. overflow: hidden;
  371. visibility: hidden;
  372. z-index: 8999;
  373. /* highlight sub-menu current page */ }
  374. .nav li ul.sub-menu li,
  375. .nav li ul.children li {
  376. /*
  377. if you need to go deeper, go nuts
  378. just remember deeper menus suck
  379. for usability. k, bai.
  380. */ }
  381. .nav li ul.sub-menu li a,
  382. .nav li ul.children li a {
  383. padding-left: 10px;
  384. border-right: 0;
  385. display: block;
  386. width: 180px;
  387. border-bottom: 1px solid #ccc; }
  388. .nav li ul.sub-menu li:last-child a,
  389. .nav li ul.children li:last-child a {
  390. border-bottom: 0; }
  391. .nav li:hover ul {
  392. top: auto;
  393. overflow: visible;
  394. visibility:visible; }
  395. /* end .nav */
  396. /*********************
  397. SIDEBARS & ASIDES
  398. *********************/
  399. .sidebar {
  400. margin-top: 2.2em; }
  401. .widgettitle {
  402. border-bottom: 2px solid #444;
  403. margin-bottom: 0.75em; }
  404. .widget {
  405. padding: 0 10px;
  406. margin: 2.2em 0; }
  407. .widget ul li {
  408. margin-bottom: 0.75em;
  409. /* deep nesting */ }
  410. .widget ul li ul {
  411. margin-top: 0.75em;
  412. padding-left: 1em; }
  413. /* links widget */
  414. /* meta widget */
  415. /* pages widget */
  416. /* recent-posts widget */
  417. /* archives widget */
  418. /* tag-cloud widget */
  419. /* calendar widget */
  420. /* category widget */
  421. /* recent-comments widget */
  422. /* search widget */
  423. /* text widget */
  424. /*********************
  425. FOOTER STYLES
  426. *********************/
  427. /*
  428. you'll probably need to do quite a bit
  429. of overriding here if you styled them for
  430. mobile. Make sure to double check these!
  431. */
  432. .footer-links ul li {
  433. /*
  434. be careful with the depth of your menus.
  435. it's very rare to have multi-depth menus in
  436. the footer.
  437. */ }
  438. /* end .footer-links */
  439. /******************************************************************
  440. Site Name:
  441. Author:
  442. Stylesheet: Desktop Stylsheet
  443. This is the desktop size. It's larger than an iPad so it will only
  444. be seen on the Desktop.
  445. ******************************************************************/
  446. /*
  447. you can call the larger styles if you want, but there's really no need
  448. */
  449. /******************************************************************
  450. ADDITIONAL IE FIXES
  451. These fixes are now ONLY seen by IE, so you don't have to worry
  452. about using prefixes, although it's best practice. For more info
  453. on using Modernizr classes, check out this link:
  454. http://www.modernizr.com/docs/
  455. ******************************************************************/
  456. /*
  457. For example, you can use something like:
  458. .no-textshadow .class { ... }
  459. You can also target specific versions by using the classes applied to
  460. the html element. These can sometimes change, so take a look inside the
  461. header.php file to see what they are:
  462. .lt-ie8 .class { ... }
  463. */