ie.css 11 KB

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