style.css 8.2 KB

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