style.css 8.3 KB

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