style.css 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  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(https://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 absolute 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 .four.columns { width: 220px; }
  50. .container .eight.columns { width: 460px; }
  51. .container .sixteen.columns { width: 940px; }
  52. .container .one-third.column { width: 300px; }
  53. .container .two-thirds.column { width: 620px; }
  54. .container .offset-by-one { padding-left: 60px; }
  55. .container .offset-by-two { padding-left: 120px; }
  56. .container .offset-by-three { padding-left: 180px; }
  57. .container .offset-by-four { padding-left: 240px; }
  58. .container .offset-by-eight { padding-left: 480px; }
  59. /* Fonts ================================================== */
  60. h1.monsieur {
  61. font-family: 'Monsieur La Doulaise', cursive;
  62. font-size:85px;
  63. text-shadow: 0px 1px 0px #999;
  64. }
  65. h4.cardo {
  66. font-family: 'Cardo', serif;
  67. text-transform:uppercase;
  68. font-size:18px;
  69. }
  70. h4.vibes {
  71. font-family: 'Great Vibes', cursive;
  72. font-size:38px;
  73. }
  74. p.vibes {
  75. font-family: 'Great Vibes', cursive;
  76. font-size:28px;
  77. line-height:30px;
  78. }
  79. /* #Skrollr ================================================== */
  80. #skrollr-body {height: 100%;width: 100%;}
  81. html, body {width:100%;height:100%;padding:0;margin:0;overflow-x:hidden;}
  82. .skrollable {position:fixed;z-index:100;}
  83. .skrollr-mobile .skrollable {position:absolute;}
  84. .skrollable .skrollable {position:absolute;}
  85. .skrollable .skrollable .skrollable {position:static;}
  86. #bg1, #bg2, #bg3 {z-index:50;top:0;left:0;width:100%;height:100%;background:url(img/bg.png) repeat 0 0;}
  87. #bg2 {z-index:49;background-image:url(img/bg2.png);}
  88. #bg3 {z-index:48;background-image:url(img/bg3.png);}
  89. .easing {
  90. width:100%;
  91. height:100%;
  92. }
  93. #horizon {
  94. position:fixed;
  95. height:300px;
  96. bottom: 0px;
  97. z-index:300;
  98. }
  99. #intro {
  100. width:80%;
  101. top:80px;
  102. margin-left:-70%;
  103. padding:2em;
  104. text-align:center;
  105. }
  106. .intro_ease {
  107. width:100%;
  108. height:100%;
  109. background:#fff;
  110. }
  111. #intro2 {
  112. width:80%;
  113. top:120px;
  114. margin-left:-70%;
  115. padding:2em;
  116. text-align:center;
  117. }
  118. #story_wrap {
  119. width:100%;
  120. height:100%;
  121. }
  122. #story {
  123. width:60%;
  124. text-align:center;
  125. }
  126. .story {
  127. width:100%;
  128. height:100%;
  129. text-align:center;
  130. }
  131. #trip_wrap {
  132. width:100%;
  133. height:100%;
  134. }
  135. #trip {
  136. width:100%;
  137. height:100%;
  138. }
  139. #vows {
  140. width:100%;
  141. height:100%;
  142. }
  143. #wish {
  144. width:100%;
  145. height:100%;
  146. }
  147. .transform {
  148. width:70%;
  149. left:50%;
  150. top:20%;
  151. margin-left:-35%;
  152. text-align:center;
  153. font-size:150%;
  154. .transform-origin(50%, 50%);
  155. }
  156. .transform2 {
  157. width:70%;
  158. left:50%;
  159. top:20%;
  160. margin-left:-35%;
  161. text-align:center;
  162. font-size:150%;
  163. .transform-origin(50%, 50%);
  164. }
  165. .wish {
  166. width:100px;
  167. text-align:center;
  168. margin: 0 auto;
  169. }
  170. .well {
  171. z-index:400;
  172. color:#fff;
  173. }
  174. #bmlcount {
  175. font-family: 'Great Vibes', cursive;
  176. font-size:39px;
  177. }
  178. #heart {
  179. position: relative;
  180. width: 100px;
  181. height: 90px;
  182. color:#fff;
  183. z-index:100;
  184. }
  185. #heart:before,
  186. #heart:after {
  187. position: absolute;
  188. content: "";
  189. left: 50px;
  190. top: 0;
  191. width: 50px;
  192. height: 80px;
  193. background: red;
  194. -moz-border-radius: 50px 50px 0 0;
  195. border-radius: 50px 50px 0 0;
  196. -webkit-transform: rotate(-45deg);
  197. -moz-transform: rotate(-45deg);
  198. -ms-transform: rotate(-45deg);
  199. -o-transform: rotate(-45deg);
  200. transform: rotate(-45deg);
  201. -webkit-transform-origin: 0 100%;
  202. -moz-transform-origin: 0 100%;
  203. -ms-transform-origin: 0 100%;
  204. -o-transform-origin: 0 100%;
  205. transform-origin: 0 100%;
  206. }
  207. #heart:after {
  208. left: 0;
  209. -webkit-transform: rotate(45deg);
  210. -moz-transform: rotate(45deg);
  211. -ms-transform: rotate(45deg);
  212. -o-transform: rotate(45deg);
  213. transform: rotate(45deg);
  214. -webkit-transform-origin: 100% 100%;
  215. -moz-transform-origin: 100% 100%;
  216. -ms-transform-origin: 100% 100%;
  217. -o-transform-origin: 100% 100%;
  218. transform-origin :100% 100%;
  219. }
  220. @-webkit-keyframes pulse {
  221. 0% {
  222. -webkit-transform: scale3d(1, 1, 1);
  223. transform: scale3d(1, 1, 1);
  224. }
  225. 50% {
  226. -webkit-transform: scale3d(1.1, 1.1, 1.1);
  227. transform: scale3d(1.15, 1.1, 1.1);
  228. }
  229. 100% {
  230. -webkit-transform: scale3d(1, 1, 1);
  231. transform: scale3d(1, 1, 1);
  232. }
  233. }
  234. @keyframes pulse {
  235. 0% {
  236. -webkit-transform: scale3d(1, 1, 1);
  237. -ms-transform: scale3d(1, 1, 1);
  238. transform: scale3d(1, 1, 1);
  239. }
  240. 50% {
  241. -webkit-transform: scale3d(1.1, 1.1, 1.1);
  242. -ms-transform: scale3d(1.1, 1.1, 1.1);
  243. transform: scale3d(1.10, 1.1, 1.1);
  244. }
  245. 100% {
  246. -webkit-transform: scale3d(1, 1, 1);
  247. -ms-transform: scale3d(1, 1, 1);
  248. transform: scale3d(1, 1, 1);
  249. }
  250. }
  251. .pulse {
  252. animation-name: pulse;
  253. -webkit-animation: pulse 3s;
  254. -moz-animation: pulse 3s;
  255. -o-animation: pulse 3s;
  256. animation: pulse 3s;
  257. }
  258. /* Media Queries ========================================= */
  259. @media screen
  260. and (min-device-width : 320px)
  261. and (max-device-width : 568px) {
  262. h1.monsieur {
  263. font-family: 'Monsieur La Doulaise', cursive;
  264. font-size:33px;
  265. }
  266. h4.vibes {
  267. font-family: 'Great Vibes', cursive;
  268. font-size:21px;
  269. }
  270. h4.cardo {
  271. font-family: 'Cardo', serif;
  272. text-transform:uppercase;
  273. font-size:14px;
  274. }
  275. #horizon {
  276. }
  277. #gform {
  278. width:100%;
  279. padding: 0 10px;
  280. }
  281. }