// Fonts @import "fonts.scss"; // Other pages @import "variables.scss"; // Mixins @mixin keyframes($name) { @-webkit-keyframes #{$name} { @content; } @-moz-keyframes #{$name} { @content; } @-ms-keyframes #{$name} { @content; } @keyframes #{$name} { @content; } } // Reset * { margin: 0; padding: 0; text-decoration: none; } html, body { width: 100%; height: 100%; overflow-x: hidden; position: relative; display: block; width: 100%; height: auto; font-family: $fontBody; color: $colorText; -webkit-font-smoothing: antialiased !important; -webkit-text-stroke: .5px; // Hack for legibility background: $colorBackground; background-position: 50% 50%; background-repeat: repeat; } #thin-body { width: $widthThinbody; position: relative; display: block; left: 50%; margin-left: -($widthThinbody / 2); } #slideshow { position: relative; display: block; width: 100%; height: $heightSlideshow; .slideshow-image { position: absolute; width: $widthSlideshow; height: $heightSlideshow; margin-left: ($widthThinbody / 2) - ($widthSlideshow / 2); background: -webkit-linear-gradient(left, $colorBackground 0, $colorBackground 5px, rgba(255,255,255,0) 25px), -webkit-linear-gradient(right, $colorBackground 0, $colorBackground 5px, rgba(255,255,255,0) 25px), -webkit-linear-gradient(bottom, rgba(0,0,0,1) -10px, rgba(0,0,0,0) 10px ), $imageIndexBackground; background: -moz-linear-gradient(left, $colorBackground 0, $colorBackground 5px, rgba(255,255,255,0) 25px), -moz-linear-gradient(right, $colorBackground 0, $colorBackground 5px, rgba(255,255,255,0) 25px), -moz-linear-gradient(bottom, rgba(0,0,0,1) -10px, rgba(0,0,0,0) 10px ), $imageIndexBackground; background: -o-linear-gradient(left, $colorBackground 0, $colorBackground 5px, rgba(255,255,255,0) 25px), -o-linear-gradient(right, $colorBackground 0, $colorBackground 5px, rgba(255,255,255,0) 25px), -o-linear-gradient(bottom, rgba(0,0,0,1) -10px, rgba(0,0,0,0) 10px ), $imageIndexBackground; background: -ms-linear-gradient(left, $colorBackground 0, $colorBackground 5px, rgba(255,255,255,0) 25px), -ms-linear-gradient(right, $colorBackground 0, $colorBackground 5px, rgba(255,255,255,0) 25px), -ms-linear-gradient(bottom, rgba(0,0,0,1) -10px, rgba(0,0,0,0) 10px ), $imageIndexBackground; background: linear-gradient(left, $colorBackground 0, $colorBackground 5px, rgba(255,255,255,0) 25px), linear-gradient(right, $colorBackground 0, $colorBackground 5px, rgba(255,255,255,0) 25px), linear-gradient(bottom, rgba(0,0,0,1) -10px, rgba(0,0,0,0) 10px ), $imageIndexBackground; background-size: $widthSlideshow auto; background-repeat: no-repeat; background-position: 50% 50%; } } a:link, a:visited { text-decoration: none; color: inherit; } header { position: absolute; display: block; width: 100%; height: $heightHeader; top: $paddingHeader; overflow: hidden; // Hides background image edges color: white; box-shadow: 0px 0px 10px black; border-radius: $radiusCommonCorners; #background { // Blur effect position: absolute; display: block; width: $widthSlideshow; height: $heightSlideshow; left: 50%; margin-left: -($widthSlideshow / 2); top: -($paddingHeader); img { content: $imageIndexBackground; width: 100%; // Fancy centering position: absolute; margin: auto; left: 0; right: 0; top: 0; bottom: 0; -webkit-filter: blur(5px); -moz-filter: blur(5px); -o-filter: blur(5px); -ms-filter: blur(5px); filter: blur(5px); } } .header-link { background-color: rgba(211,211,211,0.25); position: relative; display: inline-block; height: $heightHeader; width: ($widthThinbody / $numberOfHeaderItems) - ($paddingHeaderLinks * 2) - $borderHeaderSeparatorWidth; text-align: center; line-height: $heightHeader; padding: 0 $paddingHeaderLinks 0 $paddingHeaderLinks; margin-left: $borderHeaderSeparatorWidth; font-size: 16px; text-shadow: 0px 0px 2px black; } .header-link:hover { background-color: rgba(211,211,211,0.5); } .header-logo { @extend .header-link; background-image: url("header-logo.svg"); background-position: 50% 50%; background-repeat: no-repeat; border-left: none; border-radius: $radiusCommonCorners 0 0 $radiusCommonCorners; } .header-tail { @extend .header-link; border-radius: 0px $radiusCommonCorners $radiusCommonCorners 0px; } } h1 { font-size: 70px; line-height: 100px; font-family: $fontHeader; font-weight: 100; } h2 { font-size: 40px; line-height: 50px; font-family: $fontHeader; font-weight: 100; } strong { font-weight: 800; } #tagline { position: absolute; display: block; width: 100%; height: $heightSlideshow / 2; top: 300px; color: white; text-align: center; text-shadow: 0px 0px 5px black; /*// Debug background: rgba(255,191,202,0.5); -webkit-perspective: 1000px; -webkit-transform-style: preserve-3d; */ h1 { position: relative; display: block; height: 100px; /* -webkit-animation: headlineAnimation 3s; */ } .price { color: $colorGreen; font-style: italic; } a { display: block; background: rgba(255,255,255,.1); vertical-align: baseline; } } .fb-like-box-container { display: inline-block; position: absolute; right: -300px; padding-top: 10px; } section { position: relative; display: block; padding-top: $paddingSectionTop; padding-bottom: $paddingSectionTop; h1, h2 { text-align: center; } h2 { padding-bottom: $paddingH2; } } #store { // Debug //background: orange; ///// padding-bottom: $paddingSectionTop * 2; // Needs extra padding for aesthetics .bow-container { position: relative; display: inline-block; width: 250px; height: 250px; margin-bottom: 25px; overflow: hidden; box-shadow: 0px 0px 20px -10px black; // Debug //background: blue; ///// .inner-bow-container { position: absolute; img { position: absolute; width: 250px; } .bottom-block { position: absolute; display: block; width: 250px; height: 250px; background: rgba(0,0,0,0.62); // Golden Ratio text-align: center; color: white; text-shadow: 0px 0px 2px black; p { width: 200px; height: 150px; margin-left: 25px; margin-top: 25px; } .order-button { display: block; width: 200px; margin-left: 25px; margin-top: 20px; border-radius: 100px; background: $colorGreen; box-shadow: 0 0 20px -10px black; span { display: inline-block; font-size: 20px; color: white; text-shadow: 0 0 4px rgba(0,0,0,0.5); padding: 3px 6px 6px 6px; } // Don't allow highlighting -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; cursor: pointer; } .order-button:hover { box-shadow: 0 0 20px -3px $colorGreen; } // Visual effects $duration: 0.2s; -webkit-transition: all $duration ease-out; opacity: 0; -moz-transition: all $duration ease-out; -o-transition: all $duration ease-out; -ms-transition: all $duration ease-out; transition: all $duration ease-out; /* Blur is buggy on webkit -webkit-filter: blur(5px); -moz-filter: blur(5px); -o-filter: blur(5px); -ms-filter: blur(5px); filter: blur(5px); */ } .bottom-block:hover { /* Blur is buggy on webkit -webkit-filter: blur(0px); -moz-filter: blur(0px); -o-filter: blur(0px); -ms-filter: blur(0px); filter: blur(0px); */ opacity: 1; } } } .bow-container-center { @extend .bow-container; margin-right: 25px; margin-left: 25px; } } #custom-black { background: -webkit-linear-gradient(bottom, rgba(0,0,0,1) -10px, rgba(0,0,0,0) 10px ), -webkit-linear-gradient(top, rgba(0,0,0,1) -10px, rgba(0,0,0,0) 10px ), $colorPremiumPurple; background: -moz-linear-gradient(bottom, rgba(0,0,0,1) -10px, rgba(0,0,0,0) 10px ), -moz-linear-gradient(top, rgba(0,0,0,1) -10px, rgba(0,0,0,0) 10px ), $colorPremiumPurple; background: -o-linear-gradient(bottom, rgba(0,0,0,1) -10px, rgba(0,0,0,0) 10px ), -o-linear-gradient(top, rgba(0,0,0,1) -10px, rgba(0,0,0,0) 10px ), $colorPremiumPurple; background: -ms-linear-gradient(bottom, rgba(0,0,0,1) -10px, rgba(0,0,0,0) 10px ), -ms-linear-gradient(top, rgba(0,0,0,1) -10px, rgba(0,0,0,0) 10px ), $colorPremiumPurple; background: linear-gradient(bottom, rgba(0,0,0,1) -10px, rgba(0,0,0,0) 10px ), linear-gradient(top, rgba(0,0,0,1) -10px, rgba(0,0,0,0) 10px ), $colorPremiumPurple; color: white; padding-bottom: $paddingSectionTop * 2; // Needs extra padding for aesthetics // Make background extend to full page width and center $maximalWidth: 10000px; width: $maximalWidth; left: -(($maximalWidth - $widthThinbody) / 2); $edgeOfThinbody: ($maximalWidth / 2) - ($widthThinbody / 2); #custom-container { position: relative; width: $widthThinbody; left: $edgeOfThinbody; .animated-bow { position: absolute; display: block; right: $widthThinbody * .38; // Golden #animated-tie-path { stroke: $colorGold; } } .custom-bow-container { position: relative; width: 250px; height: 250px; margin-left: $widthThinbody - 250px - 25px; // 25px brings closer to tie padding-top: 40px; // Debug border-collapse: separate; // For IE box shadow font-family: sans-serif; -webkit-text-stroke: 0px; // Reverse ack for legibility text-align: center; //font-size: 20px; select { font-size: 16px; width: 150px; margin-bottom: 5px; outline-color: $colorLightBlue; } textarea { $textareaPadding: 5px; font-family: $fontThick; font-size: 15px; -webkit-text-stroke: 0px; // Reverse ack for legibility width: 200px - (2 * $textareaPadding); margin-top: 3px; padding: $textareaPadding; border-radius: 4px; resize: none; } textarea:focus { outline-color: $colorLightBlue; } input[type=submit] { font-family: $fontBody; font-size: 24px; color: $colorPremiumPurple; background: $colorGold; border: none; display: block; width: 250px; height: 40px; margin-top: 20px; border-radius: 100px; box-shadow: 0 0 20px -3px $colorGold; cursor: pointer; } input[type=submit]:active { border: 2px solid $colorGold; color: $colorGold; background: transparent; } } .price { font-style: italic; color: $colorGold; } } } #about { padding-top: $paddingSectionTop * 2; // Needs extra padding for aesthetics font-size: 18px; line-height: 28px; p { position: relative; display: block; width: $widthAboutP; left: 50%; margin-left: -($widthAboutP / 2); text-align: justify; margin-bottom: 18px; } } #about:last-child { margin-bottom: 0; } #help { .question { position: relative; display: block; width: 100%; height: auto; font-size: 24px; line-height: 35px; } .answer { position: relative; display: block; width: $widthThinbody - ($paddingIndentation * 2); height: auto; margin-left: $paddingIndentation; padding-bottom: $paddingH2; font-size: 18px; line-height: 28px; color: grey; } .answer-last { @extend .answer; padding-bottom: 0; } strong { color: #636363; } } #contact { a:link, a:visited { color: #CB000A; border-bottom: 1px dotted #CB000A; } a:hover { color: #d8484f; } } footer { display: block; padding-top: 10px; padding-bottom: $paddingHeaderLinks; text-align: center; font-size: 12px; color: gray; .paypalicon { width: 240px; } } /* Mobile users */ @media (max-width: $widthThinbody + 100px) { .bottom-block { opacity: 1 !important; } } @import "thankyou.scss";