style.css 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. /*
  2. Theme Name: bml
  3. Theme URI: http://cantbuymelove.org
  4. Author: windhamdavid
  5. Author URI: http://davidawindham.com
  6. /* Thanks!
  7. https://github.com/dhg Dave Gamache
  8. https://github.com/Automattic/_s - Team Automattic
  9. https://github.com/Prinzhorn/skrollr - Alexander Prinzhorn
  10. https://plus.google.com/104610899646415406748/about - James Grieshaber
  11. */
  12. @import url(http://fonts.googleapis.com/css?family=Great+Vibes|Cardo|Monsieur+La+Doulaise);
  13. /* #Reset ================================================== */
  14. html, body, div, span, applet, object, iframe,
  15. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  16. a, abbr, acronym, address, big, cite, code,
  17. del, dfn, em, font, ins, kbd, q, s, samp,
  18. small, strike, strong, sub, sup, tt, var,
  19. dl, dt, dd, ol, ul, li,
  20. fieldset, form, label, legend,
  21. table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
  22. html {font-size: 62.5%;overflow-y: scroll;-webkit-text-size-adjust: 100%;-ms-text-size-adjust:100%;}
  23. body { background: #fff; }
  24. article,aside,details,figcaption,figure,footer,header,main,nav,section {display: block;}
  25. ol, ul {list-style: none;}
  26. table {border-collapse: separate;border-spacing: 0;}
  27. caption, th, td {font-weight: normal;text-align: left;}
  28. blockquote:before, blockquote:after,
  29. q:before, q:after {content: "";}
  30. blockquote, q { quotes: "" ""; }
  31. a:focus {outline: thin dotted;}
  32. a:hover, a:active {outline: 0;}
  33. a img {border: 0;}
  34. /* #Clearing ================================================== */
  35. .container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }
  36. .clearfix:before,.clearfix:after,.row:before,.row:after {content: '\0020';display: block;overflow: hidden;visibility: hidden;width: 0;height: 0; }
  37. .row:after,.clearfix:after {clear: both; }.row,.clearfix {zoom: 1; }
  38. .clear {clear: both;display: block;overflow: hidden;visibility: hidden;width: 0;height: 0;}
  39. .clear:before,.clear:after,.entry-content:before,.entry-content:after,.comment-content:before,.comment-content:after,.site-header:before,.site-header:after,.site-content:before,.site-content:after,.site-footer:before,.site-footer:after {content: '';display: table;}
  40. .clear:after,.entry-content:after,.comment-content:after,.site-header:after,.site-content:after,.site-footer:after {clear: both;}
  41. /* #Base 960 Grid ================================================== */
  42. .container { position: relative; width: 960px; margin: 0 auto; padding: 0; }
  43. /* Hackety Hack - position needs to be abolute for Skrollr to work right */
  44. .container .column,
  45. .container .columns { float: left; display: inline; margin-left: 10px; margin-right: 10px; }
  46. .row { margin-bottom: 20px; }
  47. .column.alpha, .columns.alpha { margin-left: 0; }
  48. .column.omega, .columns.omega { margin-right: 0; }
  49. .container .one.column,
  50. .container .one.columns { width: 40px; }
  51. .container .two.columns { width: 100px; }
  52. .container .three.columns { width: 160px; }
  53. .container .four.columns { width: 220px; }
  54. .container .five.columns { width: 280px; }
  55. .container .six.columns { width: 340px; }
  56. .container .seven.columns { width: 400px; }
  57. .container .eight.columns { width: 460px; }
  58. .container .nine.columns { width: 520px; }
  59. .container .ten.columns { width: 580px; }
  60. .container .eleven.columns { width: 640px; }
  61. .container .twelve.columns { width: 700px; }
  62. .container .thirteen.columns { width: 760px; }
  63. .container .fourteen.columns { width: 820px; }
  64. .container .fifteen.columns { width: 880px; }
  65. .container .sixteen.columns { width: 940px; }
  66. .container .one-third.column { width: 300px; }
  67. .container .two-thirds.column { width: 620px; }
  68. .container .offset-by-one { padding-left: 60px; }
  69. .container .offset-by-two { padding-left: 120px; }
  70. .container .offset-by-three { padding-left: 180px; }
  71. .container .offset-by-four { padding-left: 240px; }
  72. .container .offset-by-five { padding-left: 300px; }
  73. .container .offset-by-six { padding-left: 360px; }
  74. .container .offset-by-seven { padding-left: 420px; }
  75. .container .offset-by-eight { padding-left: 480px; }
  76. .container .offset-by-nine { padding-left: 540px; }
  77. .container .offset-by-ten { padding-left: 600px; }
  78. .container .offset-by-eleven { padding-left: 660px; }
  79. .container .offset-by-twelve { padding-left: 720px; }
  80. .container .offset-by-thirteen { padding-left: 780px; }
  81. .container .offset-by-fourteen { padding-left: 840px; }
  82. .container .offset-by-fifteen { padding-left: 900px; }
  83. /* Fonts ================================================== */
  84. h1.monsieur {
  85. font-family: 'Monsieur La Doulaise', cursive;
  86. font-size:85px;
  87. text-shadow: 0px 1px 0px #999;
  88. }
  89. h4.cardo {
  90. font-family: 'Cardo', serif;
  91. text-transform:uppercase;
  92. font-size:18px;
  93. }
  94. h4.vibes {
  95. font-family: 'Great Vibes', cursive;
  96. font-size:38px;
  97. }
  98. p.vibes {
  99. font-family: 'Great Vibes', cursive;
  100. font-size:28px;
  101. line-height:30px;
  102. }
  103. /* #Skrollr ================================================== */
  104. #skrollr-body {height: 100%;width: 100%;}
  105. html, body {width:100%;height:100%;padding:0;margin:0;overflow-x:hidden;}
  106. .skrollable {position:fixed;z-index:100;}
  107. .skrollr-mobile .skrollable {position:absolute;}
  108. .skrollable .skrollable {position:absolute;}
  109. .skrollable .skrollable .skrollable {position:static;}
  110. #bg1, #bg2, #bg3 {z-index:50;top:0;left:0;width:100%;height:100%;background:url(img/bg.png) repeat 0 0;}
  111. #bg2 {z-index:49;background-image:url(img/bg2.png);}
  112. #bg3 {z-index:48;background-image:url(img/bg3.png);}
  113. #progress {height:9px;background:#fff;bottom:0;z-index:200;}
  114. #scrollbar {
  115. position:fixed;
  116. right:2px;
  117. height:50px;
  118. width:6px;
  119. background:#444;
  120. background:rgba(0,0,0,0.6);
  121. border:1px solid rgba(255,255,255,0.6);
  122. z-index:300;
  123. border-radius:3px;
  124. }
  125. .skrollr-desktop #scrollbar {display:none;}
  126. .easing {
  127. width:100%;
  128. height:100%;
  129. }
  130. #intro {
  131. width:80%;
  132. top:80px;
  133. margin-left:-70%;
  134. padding:2em;
  135. text-align:center;
  136. }
  137. .intro_ease {
  138. width:100%;
  139. height:100%;
  140. background:#fff;
  141. }
  142. #intro2 {
  143. width:80%;
  144. top:120px;
  145. margin-left:-70%;
  146. padding:2em;
  147. text-align:center;
  148. }
  149. #story_wrap {
  150. width:100%;
  151. height:100%;
  152. }
  153. #story {
  154. width:100%;
  155. height:100%;
  156. }
  157. .story {
  158. width:60%;
  159. height:100%;
  160. text-align:center;
  161. }
  162. #trip_wrap {
  163. width:100%;
  164. height:100%;
  165. }
  166. #trip {
  167. width:100%;
  168. height:100%;
  169. }
  170. #vows {
  171. width:100%;
  172. height:100%;
  173. }
  174. #wish {
  175. width:100%;
  176. height:100%;
  177. }
  178. #transform {
  179. width:70%;
  180. left:50%;
  181. top:20%;
  182. margin-left:-35%;
  183. text-align:center;
  184. font-size:150%;
  185. .transform-origin(50%, 50%);
  186. }
  187. #credits {
  188. width:100%;
  189. height:100%;
  190. }
  191. /* #BML ================================================== */
  192. #bml { width: 450px; height: 55px; margin:0;}
  193. #bmlcount {
  194. font-family: 'Great Vibes', cursive;
  195. font-size:31px;
  196. }
  197. #heart {
  198. position: relative;
  199. width: 100px;
  200. height: 90px;
  201. }
  202. #heart:before,
  203. #heart:after {
  204. position: absolute;
  205. content: "";
  206. left: 20px;
  207. top: 0;
  208. width: 20px;
  209. height: 35px;
  210. background: red;
  211. -moz-border-radius: 20px 20px 0 0;
  212. border-radius: 20px 20px 0 0;
  213. -webkit-transform: rotate(-45deg);
  214. -moz-transform: rotate(-45deg);
  215. -ms-transform: rotate(-45deg);
  216. -o-transform: rotate(-45deg);
  217. transform: rotate(-45deg);
  218. -webkit-transform-origin: 0 100%;
  219. -moz-transform-origin: 0 100%;
  220. -ms-transform-origin: 0 100%;
  221. -o-transform-origin: 0 100%;
  222. transform-origin: 0 100%;
  223. }
  224. #heart:after {
  225. left: 0;
  226. -webkit-transform: rotate(45deg);
  227. -moz-transform: rotate(45deg);
  228. -ms-transform: rotate(45deg);
  229. -o-transform: rotate(45deg);
  230. transform: rotate(45deg);
  231. -webkit-transform-origin: 100% 100%;
  232. -moz-transform-origin: 100% 100%;
  233. -ms-transform-origin: 100% 100%;
  234. -o-transform-origin: 100% 100%;
  235. transform-origin :100% 100%;
  236. }
  237. /* #Form ================================================== */
  238. #gform {
  239. width:600px;
  240. margin: 0 auto;
  241. }
  242. #gform label {
  243. font-family: 'Great Vibes', cursive;
  244. font-size:17px;
  245. }
  246. ul.gfield_checkbox li {float:left;}
  247. #gform_submit_button_1 {
  248. font-family: 'Great Vibes', cursive;
  249. text-decoration: none !important;
  250. position:relative;
  251. margin:10px;
  252. padding: 8px 15px;
  253. font-weight: bold;
  254. font-size: 18px;
  255. background: #1275FF;
  256. border: 1px solid #155FB0;
  257. color: white;
  258. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  259. background-image: -webkit-gradient(linear, left top, left bottom, from(#77B7FF), to(#017AFF));
  260. background-image: -moz-linear-gradient(top, #77B7FF, #017AFF);
  261. background-image: -o-linear-gradient(top, #77B7FF, #017AFF);
  262. -webkit-box-shadow: inset 0 1px 0 #98c9ff;
  263. -moz-box-shadow: inset 0 1px 0 #98c9ff;
  264. box-shadow: inset 0 1px 0 #98c9ff;
  265. -o-border-radius: 4px;
  266. -moz-border-radius: 4px;
  267. -webkit-border-radius: 4px;
  268. border-radius: 4px;
  269. cursor: pointer; cursor: hand;
  270. }
  271. /* Media Queries ========================================= */
  272. @media screen
  273. and (min-device-width : 320px)
  274. and (max-device-width : 568px) {
  275. h1.monsieur {
  276. font-family: 'Monsieur La Doulaise', cursive;
  277. font-size:33px;
  278. }
  279. h4.vibes {
  280. font-family: 'Great Vibes', cursive;
  281. font-size:21px;
  282. }
  283. h4.cardo {
  284. font-family: 'Cardo', serif;
  285. text-transform:uppercase;
  286. font-size:14px;
  287. }
  288. h4.beanie {
  289. font-family: Reenie Beanie;
  290. font-size:21px;
  291. }
  292. #gform {
  293. width:400px;
  294. margin: 0 auto;
  295. }
  296. }