style.css 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  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:-65%;
  118. text-align:center;
  119. }
  120. .intro_ease {
  121. width:100%;
  122. height:100%;
  123. }
  124. #intro2 {
  125. width:80%;
  126. top:120px;
  127. margin-left:-65%;
  128. text-align:center;
  129. }
  130. #story_wrap {
  131. width:100%;
  132. height:100%;
  133. }
  134. #story {
  135. width:60%;
  136. text-align:center;
  137. }
  138. .story {
  139. width:100%;
  140. height:100%;
  141. text-align:center;
  142. }
  143. #trip_wrap {
  144. width:100%;
  145. height:100%;
  146. }
  147. #trip {
  148. width:100%;
  149. height:100%;
  150. }
  151. #hat {
  152. margin-left:45%;
  153. }
  154. #bmw {
  155. width:100%;
  156. height:100%;
  157. }
  158. #bmw img {
  159. position:absolute;
  160. bottom:25px;
  161. }
  162. #vows {
  163. width:100%;
  164. height:100%;
  165. }
  166. #trans {
  167. margin: -100px 0 0 -100px;
  168. z-index: 9999 !important;
  169. }
  170. #storyend {
  171. width:100%;
  172. height:100%;
  173. }
  174. #storyendloop {
  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. .transform2 {
  188. width:70%;
  189. left:50%;
  190. top:20%;
  191. margin-left:-35%;
  192. text-align:center;
  193. font-size:150%;
  194. .transform-origin(50%, 50%);
  195. }
  196. .wish {
  197. width:100px;
  198. text-align:center;
  199. margin: 0 auto;
  200. position:relative;
  201. }
  202. .well {
  203. margin: -70px 0 0;
  204. z-index:100;
  205. color:#fff;
  206. }
  207. .well a {
  208. color:#fff;
  209. text-decoration:none;
  210. }
  211. .well a:hover {
  212. color:#cecece;
  213. text-decoration:none;
  214. }
  215. #bmlcount {
  216. font-family: 'Great Vibes', cursive;
  217. font-size:39px;
  218. }
  219. #heart2 {
  220. margin: 180px 0 0 50px;
  221. font-size:48px;
  222. color:;
  223. text-decoration:none;
  224. }
  225. #heart {
  226. position: relative;
  227. margin: 40px 0 0;
  228. width: 100px;
  229. height: 90px;
  230. z-index:-1;
  231. }
  232. #heart:before,
  233. #heart:after {
  234. position: absolute;
  235. content: "";
  236. left: 50px;
  237. top: 0;
  238. width: 50px;
  239. height: 80px;
  240. background:#BD1B1B;
  241. -moz-border-radius: 50px 50px 0 0;
  242. border-radius: 50px 50px 0 0;
  243. -webkit-transform: rotate(-45deg);
  244. -moz-transform: rotate(-45deg);
  245. -ms-transform: rotate(-45deg);
  246. -o-transform: rotate(-45deg);
  247. transform: rotate(-45deg);
  248. -webkit-transform-origin: 0 100%;
  249. -moz-transform-origin: 0 100%;
  250. -ms-transform-origin: 0 100%;
  251. -o-transform-origin: 0 100%;
  252. transform-origin: 0 100%;
  253. }
  254. #heart:after {
  255. left: 0;
  256. -webkit-transform: rotate(45deg);
  257. -moz-transform: rotate(45deg);
  258. -ms-transform: rotate(45deg);
  259. -o-transform: rotate(45deg);
  260. transform: rotate(45deg);
  261. -webkit-transform-origin: 100% 100%;
  262. -moz-transform-origin: 100% 100%;
  263. -ms-transform-origin: 100% 100%;
  264. -o-transform-origin: 100% 100%;
  265. transform-origin :100% 100%;
  266. }
  267. @-webkit-keyframes pulse {
  268. 0% {
  269. -webkit-transform: scale3d(1, 1, 1);
  270. transform: scale3d(1, 1, 1);
  271. }
  272. 50% {
  273. -webkit-transform: scale3d(1.1, 1.1, 1.1);
  274. transform: scale3d(1.15, 1.1, 1.1);
  275. }
  276. 100% {
  277. -webkit-transform: scale3d(1, 1, 1);
  278. transform: scale3d(1, 1, 1);
  279. }
  280. }
  281. @keyframes pulse {
  282. 0% {
  283. -webkit-transform: scale3d(1, 1, 1);
  284. -ms-transform: scale3d(1, 1, 1);
  285. transform: scale3d(1, 1, 1);
  286. }
  287. 50% {
  288. -webkit-transform: scale3d(1.1, 1.1, 1.1);
  289. -ms-transform: scale3d(1.1, 1.1, 1.1);
  290. transform: scale3d(1.10, 1.1, 1.1);
  291. }
  292. 100% {
  293. -webkit-transform: scale3d(1, 1, 1);
  294. -ms-transform: scale3d(1, 1, 1);
  295. transform: scale3d(1, 1, 1);
  296. }
  297. }
  298. .pulse {
  299. transform-origin:0 0;
  300. animation-name: pulse;
  301. -webkit-animation: pulse 2s 3;
  302. -moz-animation: pulse 2s 3;
  303. -o-animation: pulse 2s 3;
  304. animation: pulse 2s 3;
  305. }
  306. p.mobile {
  307. display:none;
  308. }
  309. .page_header {
  310. margin:20px 0 0;
  311. }
  312. p {
  313. font-size:18px;
  314. }
  315. /* Media Queries ========================================= */
  316. @media screen
  317. and (min-device-width : 320px)
  318. and (max-device-width : 568px) {
  319. h1.monsieur {
  320. font-family: 'Monsieur La Doulaise', cursive;
  321. font-size:33px;
  322. }
  323. h4.vibes {
  324. font-family: 'Great Vibes', cursive;
  325. font-size:19px;
  326. }
  327. h4.cardo {
  328. font-family: 'Cardo', serif;
  329. text-transform:uppercase;
  330. font-size:14px;
  331. }
  332. svg {
  333. display:none;
  334. }
  335. #horizon {
  336. position:fixed;
  337. bottom: 0px;
  338. z-index:300;
  339. display:none;
  340. }
  341. #bmw img {
  342. position:absolute;
  343. bottom:25px;
  344. width:100px;
  345. }
  346. #bmlcount {
  347. font-size:26px;
  348. }
  349. #hat {
  350. }
  351. p.mobile {
  352. display:block;
  353. font-family: 'Great Vibes', cursive;
  354. font-size:21px;
  355. margin:40px 0 0;
  356. }
  357. #gform {
  358. width:100%;
  359. padding: 0 10px;
  360. }
  361. }