style.css 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  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. /* #Base 960 Grid ================================================== */
  38. .container { position: relative; width: 960px; margin: 0 auto; padding: 0; }
  39. .container .column,
  40. .container .columns { float: left; display: inline; margin-left: 10px; margin-right: 10px; }
  41. .row { margin-bottom: 20px; }
  42. .column.alpha, .columns.alpha { margin-left: 0; }
  43. .column.omega, .columns.omega { margin-right: 0; }
  44. .container .four.columns { width: 220px; }
  45. .container .eight.columns { width: 460px; }
  46. .container .sixteen.columns { width: 940px; }
  47. .container .one-third.column { width: 300px; }
  48. .container .two-thirds.column { width: 620px; }
  49. .container .offset-by-one { padding-left: 60px; }
  50. .container .offset-by-two { padding-left: 120px; }
  51. .container .offset-by-three { padding-left: 180px; }
  52. .container .offset-by-four { padding-left: 240px; }
  53. .container .offset-by-eight { padding-left: 480px; }
  54. /* Fonts ================================================== */
  55. h1.monsieur {
  56. font-family: 'Monsieur La Doulaise', cursive;
  57. font-size:85px;
  58. text-shadow: 0px 1px 0px #999;
  59. }
  60. h4.cardo {
  61. font-family: 'Cardo', serif;
  62. text-transform:uppercase;
  63. font-size:18px;
  64. }
  65. h5.cardo {
  66. font-family: 'Cardo', serif;
  67. text-transform:uppercase;
  68. font-size:14px;
  69. }
  70. h4.vibes {
  71. font-family: 'Great Vibes', cursive;
  72. font-size:38px;
  73. }
  74. h5.vibes {
  75. font-family: 'Great Vibes', cursive;
  76. font-size:28px;
  77. }
  78. .well p {
  79. font-size:10px;
  80. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  81. }
  82. p.vibes {
  83. font-family: 'Great Vibes', cursive;
  84. font-size:28px;
  85. line-height:30px;
  86. }
  87. /* #Skrollr ================================================== */
  88. .scrollpos{
  89. position: fixed;
  90. z-index: 100;
  91. background: #ffffff;
  92. top: 0;
  93. right: 0;
  94. }
  95. #skrollr-body {height: 100%;width: 100%;}
  96. html, body {width:100%;height:100%;padding:0;margin:0;overflow-x:hidden;}
  97. .skrollable {position:fixed;z-index:100;}
  98. .skrollr-mobile .skrollable {position:absolute;}
  99. .skrollable .skrollable {position:absolute;}
  100. .skrollable .skrollable .skrollable {position:static;}
  101. #bg1, #bg2, #bg3 {z-index:50;top:0;left:0;width:100%;height:100%;background:url(img/bg.png) repeat 0 0;}
  102. #bg2 {z-index:49;background-image:url(img/bg2.png);}
  103. #bg3 {z-index:48;background-image:url(img/bg3.png);}
  104. .easing {
  105. width:100%;
  106. height:100%;
  107. }
  108. #horizon {
  109. position:fixed;
  110. height:300px;
  111. bottom: 0px;
  112. z-index:300;
  113. }
  114. #intro {
  115. width:80%;
  116. top:80px;
  117. margin-left:-70%;
  118. padding:2em;
  119. text-align:center;
  120. }
  121. .intro_ease {
  122. width:100%;
  123. height:100%;
  124. }
  125. #intro2 {
  126. width:80%;
  127. top:120px;
  128. margin-left:-70%;
  129. padding:2em;
  130. text-align:center;
  131. }
  132. #story_wrap {
  133. width:100%;
  134. height:100%;
  135. }
  136. #story {
  137. width:60%;
  138. text-align:center;
  139. }
  140. .story {
  141. width:100%;
  142. height:100%;
  143. text-align:center;
  144. }
  145. #trip_wrap {
  146. width:100%;
  147. height:100%;
  148. }
  149. #trip {
  150. width:100%;
  151. height:100%;
  152. }
  153. #bmw {
  154. width:100%;
  155. height:100%;
  156. }
  157. #bmw img {
  158. position:absolute;
  159. bottom:25px;
  160. }
  161. #vows {
  162. width:100%;
  163. height:100%;
  164. }
  165. #hat {
  166. }
  167. #wish {
  168. width:100%;
  169. height:100%;
  170. }
  171. #storyend {
  172. width:100%;
  173. height:100%;
  174. }
  175. #storyendloop {
  176. width:100%;
  177. height:100%;
  178. }
  179. .transform {
  180. width:70%;
  181. left:50%;
  182. top:20%;
  183. margin-left:-35%;
  184. text-align:center;
  185. font-size:150%;
  186. .transform-origin(50%, 50%);
  187. }
  188. .transform2 {
  189. width:70%;
  190. left:50%;
  191. top:20%;
  192. margin-left:-35%;
  193. text-align:center;
  194. font-size:150%;
  195. .transform-origin(50%, 50%);
  196. }
  197. .wish {
  198. width:100px;
  199. text-align:center;
  200. margin: 0 auto;
  201. position:relative;
  202. }
  203. .well {
  204. margin: -70px 0 0;
  205. z-index:100;
  206. color:#fff;
  207. }
  208. .well a {
  209. color:#fff;
  210. text-decoration:none;
  211. }
  212. .well a:hover {
  213. color:#cecece;
  214. text-decoration:none;
  215. }
  216. #bmlcount {
  217. font-family: 'Great Vibes', cursive;
  218. font-size:39px;
  219. }
  220. #heart:hover:before,
  221. #heart:hover:after {
  222. background:purple;
  223. }
  224. #heart {
  225. position: relative;
  226. margin: 40px 0 0;
  227. width: 100px;
  228. height: 90px;
  229. z-index:-1;
  230. }
  231. #heart:before,
  232. #heart:after {
  233. position: absolute;
  234. content: "";
  235. left: 50px;
  236. top: 0;
  237. width: 50px;
  238. height: 80px;
  239. background:#BD1B1B;
  240. -moz-border-radius: 50px 50px 0 0;
  241. border-radius: 50px 50px 0 0;
  242. -webkit-transform: rotate(-45deg);
  243. -moz-transform: rotate(-45deg);
  244. -ms-transform: rotate(-45deg);
  245. -o-transform: rotate(-45deg);
  246. transform: rotate(-45deg);
  247. -webkit-transform-origin: 0 100%;
  248. -moz-transform-origin: 0 100%;
  249. -ms-transform-origin: 0 100%;
  250. -o-transform-origin: 0 100%;
  251. transform-origin: 0 100%;
  252. }
  253. #heart:after {
  254. left: 0;
  255. -webkit-transform: rotate(45deg);
  256. -moz-transform: rotate(45deg);
  257. -ms-transform: rotate(45deg);
  258. -o-transform: rotate(45deg);
  259. transform: rotate(45deg);
  260. -webkit-transform-origin: 100% 100%;
  261. -moz-transform-origin: 100% 100%;
  262. -ms-transform-origin: 100% 100%;
  263. -o-transform-origin: 100% 100%;
  264. transform-origin :100% 100%;
  265. }
  266. @-webkit-keyframes pulse {
  267. 0% {
  268. -webkit-transform: scale3d(1, 1, 1);
  269. transform: scale3d(1, 1, 1);
  270. }
  271. 50% {
  272. -webkit-transform: scale3d(1.1, 1.1, 1.1);
  273. transform: scale3d(1.15, 1.1, 1.1);
  274. }
  275. 100% {
  276. -webkit-transform: scale3d(1, 1, 1);
  277. transform: scale3d(1, 1, 1);
  278. }
  279. }
  280. @keyframes pulse {
  281. 0% {
  282. -webkit-transform: scale3d(1, 1, 1);
  283. -ms-transform: scale3d(1, 1, 1);
  284. transform: scale3d(1, 1, 1);
  285. }
  286. 50% {
  287. -webkit-transform: scale3d(1.1, 1.1, 1.1);
  288. -ms-transform: scale3d(1.1, 1.1, 1.1);
  289. transform: scale3d(1.10, 1.1, 1.1);
  290. }
  291. 100% {
  292. -webkit-transform: scale3d(1, 1, 1);
  293. -ms-transform: scale3d(1, 1, 1);
  294. transform: scale3d(1, 1, 1);
  295. }
  296. }
  297. .pulse {
  298. animation-name: pulse;
  299. -webkit-animation: pulse 2s 3;
  300. -moz-animation: pulse 2s 3;
  301. -o-animation: pulse 2s 3;
  302. animation: pulse 2s 3;
  303. }
  304. p.mobile {
  305. display:none;
  306. }
  307. /* Media Queries ========================================= */
  308. @media screen
  309. and (min-device-width : 320px)
  310. and (max-device-width : 568px) {
  311. h1.monsieur {
  312. font-family: 'Monsieur La Doulaise', cursive;
  313. font-size:33px;
  314. }
  315. h4.vibes {
  316. font-family: 'Great Vibes', cursive;
  317. font-size:21px;
  318. }
  319. h4.cardo {
  320. font-family: 'Cardo', serif;
  321. text-transform:uppercase;
  322. font-size:14px;
  323. }
  324. svg {
  325. display:none;
  326. }
  327. #horizon {
  328. position:fixed;
  329. bottom: 0px;
  330. z-index:300;
  331. display:none;
  332. }
  333. #bmlcount {
  334. font-size:26px;
  335. }
  336. p.mobile {
  337. display:block;
  338. font-family: 'Great Vibes', cursive;
  339. font-size:21px;
  340. margin:30px 0 0;
  341. }
  342. #gform {
  343. width:100%;
  344. padding: 0 10px;
  345. }
  346. }