|
|
Line 11: |
Line 11: |
| <meta name="keywords" content="opacity, background, hover, transparency, effect, css, html, javascript, template, point of interest, map" /> | | <meta name="keywords" content="opacity, background, hover, transparency, effect, css, html, javascript, template, point of interest, map" /> |
| <meta name="author" content="Codrops" /> | | <meta name="author" content="Codrops" /> |
− | <!--link rel="stylesheet" type="text/css" href="css/collapse.css" /-->
| |
− | <style>
| |
− | .grow input:checked{color:red;}
| |
− |
| |
− | .grow {
| |
− | -moz-transition: height .5s;
| |
− | -ms-transition: height .5s;
| |
− | -o-transition: height .5s;
| |
− | -webkit-transition: height .5s;
| |
− | transition: height .5s;
| |
− | height: 0;
| |
− | overflow: hidden;
| |
− | }
| |
− |
| |
− | .focus{
| |
− | background: rgba(0, 0, 0, 0.2);
| |
− | box-shadow: inset 0 -1px rgba(0, 0, 0, 0);
| |
− | color: #fff;
| |
− | }
| |
− | </style>
| |
− |
| |
− | <!-- <link rel="stylesheet" type="text/css" href="css/googleleapis1.css" /> -->
| |
− | <style>
| |
− | /* latin-ext */
| |
− | @font-face {
| |
− | font-family: 'Source Serif Pro';
| |
− | font-style: normal;
| |
− | font-weight: 400;
| |
− | src: local('Source Serif Pro'), local('SourceSerifPro-Regular'), url(https://fonts.gstatic.com/s/sourceserifpro/v4/CeUM4np2c42DV49nanp55Q_BUM40eMa9-jBVStC9wY0.woff2) format('woff2');
| |
− | unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
| |
− | }
| |
− | /* latin */
| |
− | @font-face {
| |
− | font-family: 'Source Serif Pro';
| |
− | font-style: normal;
| |
− | font-weight: 400;
| |
− | src: local('Source Serif Pro'), local('SourceSerifPro-Regular'), url(https://fonts.gstatic.com/s/sourceserifpro/v4/CeUM4np2c42DV49nanp55fETq2ZMMnErnN6OL83eMrU.woff2) format('woff2');
| |
− | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
| |
− | }
| |
− | /* latin-ext */
| |
− | @font-face {
| |
− | font-family: 'Source Serif Pro';
| |
− | font-style: normal;
| |
− | font-weight: 700;
| |
− | src: local('Source Serif Pro Bold'), local('SourceSerifPro-Bold'), url(https://fonts.gstatic.com/s/sourceserifpro/v4/yd5lDMt8Sva2PE17yiLarKwVIEQt96q_HGoOJQzfwxw.woff2) format('woff2');
| |
− | unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
| |
− | }
| |
− | /* latin */
| |
− | @font-face {
| |
− | font-family: 'Source Serif Pro';
| |
− | font-style: normal;
| |
− | font-weight: 700;
| |
− | src: local('Source Serif Pro Bold'), local('SourceSerifPro-Bold'), url(https://fonts.gstatic.com/s/sourceserifpro/v4/yd5lDMt8Sva2PE17yiLarPgHLTi6vdOOFgNDwEC6JgI.woff2) format('woff2');
| |
− | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
| |
− | }
| |
− | </style>
| |
− |
| |
− | <!-- <link rel="stylesheet" type="text/css" href="css/googleleapis2.css" /> -->
| |
− | <style>
| |
− | /* latin-ext */
| |
− | @font-face {
| |
− | font-family: 'Lato';
| |
− | font-style: normal;
| |
− | font-weight: 300;
| |
− | src: local('Lato Light'), local('Lato-Light'), url(http://fonts.gstatic.com/s/lato/v11/dPJ5r9gl3kK6ijoeP1IRsvY6323mHUZFJMgTvxaG2iE.woff2) format('woff2');
| |
− | unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
| |
− | }
| |
− | /* latin */
| |
− | @font-face {
| |
− | font-family: 'Lato';
| |
− | font-style: normal;
| |
− | font-weight: 300;
| |
− | src: local('Lato Light'), local('Lato-Light'), url(http://fonts.gstatic.com/s/lato/v11/EsvMC5un3kjyUhB9ZEPPwg.woff2) format('woff2');
| |
− | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
| |
− | }
| |
− | /* latin-ext */
| |
− | @font-face {
| |
− | font-family: 'Lato';
| |
− | font-style: normal;
| |
− | font-weight: 400;
| |
− | src: local('Lato Regular'), local('Lato-Regular'), url(http://fonts.gstatic.com/s/lato/v11/UyBMtLsHKBKXelqf4x7VRQ.woff2) format('woff2');
| |
− | unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
| |
− | }
| |
− | /* latin */
| |
− | @font-face {
| |
− | font-family: 'Lato';
| |
− | font-style: normal;
| |
− | font-weight: 400;
| |
− | src: local('Lato Regular'), local('Lato-Regular'), url(http://fonts.gstatic.com/s/lato/v11/1YwB1sO8YE1Lyjf12WNiUA.woff2) format('woff2');
| |
− | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
| |
− | }
| |
− | /* latin-ext */
| |
− | @font-face {
| |
− | font-family: 'Lato';
| |
− | font-style: normal;
| |
− | font-weight: 700;
| |
− | src: local('Lato Bold'), local('Lato-Bold'), url(http://fonts.gstatic.com/s/lato/v11/ObQr5XYcoH0WBoUxiaYK3_Y6323mHUZFJMgTvxaG2iE.woff2) format('woff2');
| |
− | unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
| |
− | }
| |
− | /* latin */
| |
− | @font-face {
| |
− | font-family: 'Lato';
| |
− | font-style: normal;
| |
− | font-weight: 700;
| |
− | src: local('Lato Bold'), local('Lato-Bold'), url(http://fonts.gstatic.com/s/lato/v11/H2DMvhDLycM56KNuAtbJYA.woff2) format('woff2');
| |
− | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
| |
− | }
| |
− | </style>
| |
− |
| |
− | <!-- <link rel="stylesheet" type="text/css" href="css/normalize.css" /> -->
| |
− | <style>
| |
− | article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}body{margin:0;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;margin:0.67em 0;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:bold;}dfn{font-style:italic;}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em;}pre{white-space:pre-wrap;}q{quotes:"\201C" "\201D" "\2018" "\2019";}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-0.5em;}sub{bottom:-0.25em;}img{border:0;}svg:not(:root){overflow:hidden;}figure{margin:0;}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em;}legend{border:0;padding:0;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,select{text-transform:none;}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}button[disabled],html input[disabled]{cursor:default;}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}textarea{overflow:auto;vertical-align:top;}table{border-collapse:collapse;border-spacing:0;}
| |
− | </style>
| |
− |
| |
− | <!-- <link rel="stylesheet" type="text/css" href="css/demo.css" /> -->
| |
− | <style>
| |
− | *, *::after, *::before { -webkit-box-sizing: border-box; box-sizing: border-box; }
| |
− |
| |
− | body {
| |
− | font-family: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif;
| |
− | color: #fff;
| |
− | background: #34343d;
| |
− | -webkit-font-smoothing: antialiased;
| |
− | -moz-osx-font-smoothing: grayscale;
| |
− | text-align: center;
| |
− | }
| |
− |
| |
− | a {
| |
− | outline: none;
| |
− | color: #60B8B9;
| |
− | text-decoration: none;
| |
− | }
| |
− |
| |
− | a:hover, a:focus {
| |
− | color: #fff;
| |
− | }
| |
− |
| |
− | .hidden {
| |
− | position: absolute;
| |
− | overflow: hidden;
| |
− | width: 0;
| |
− | height: 0;
| |
− | pointer-events: none;
| |
− | }
| |
− |
| |
− | .message {
| |
− | font-weight: bold;
| |
− | color: #914a58;
| |
− | background: #f0d4d8;
| |
− | font-size: 0.85em;
| |
− | margin: 0;
| |
− | padding: 1em;
| |
− | display: none;
| |
− | }
| |
− |
| |
− | /* Icons */
| |
− | .icon-link {
| |
− | padding: 0 0.5em;
| |
− | margin: 0 0 0 auto;
| |
− | font-size: 0.85em;
| |
− | white-space: nowrap;
| |
− | }
| |
− |
| |
− | .icon {
| |
− | display: inline-block;
| |
− | vertical-align: middle;
| |
− | width: 1.5em;
| |
− | height: 1.5em;
| |
− | margin: 0 auto;
| |
− | fill: currentColor;
| |
− | }
| |
− |
| |
− | .icon-text {
| |
− | line-height: 1;
| |
− | vertical-align: middle;
| |
− | padding: 0.35em;
| |
− | font-weight: bold;
| |
− | display: inline-block;
| |
− | }
| |
− |
| |
− | main {
| |
− | max-width: 1885px;
| |
− | display: inline-block;
| |
− | margin: 0 auto;
| |
− | position: relative;
| |
− | text-align: left;
| |
− | }
| |
− |
| |
− | /* Header */
| |
− | .codrops-header {
| |
− | position: relative;
| |
− | padding: 1em;
| |
− | width: 100%;
| |
− | display: -webkit-box;
| |
− | display: -ms-flexbox;
| |
− | display: -webkit-flex;
| |
− | display: flex;
| |
− | -webkit-box-orient: horizontal;
| |
− | -webkit-box-direction: normal;
| |
− | -ms-flex-direction: row;
| |
− | -webkit-flex-direction: row;
| |
− | flex-direction: row;
| |
− | -webkit-align-items: center;
| |
− | align-items: center;
| |
− | z-index: 10;
| |
− | background: #28282f;
| |
− | }
| |
− |
| |
− | .codrops-header__title {
| |
− | margin: 0;
| |
− | letter-spacing: -1px;
| |
− | font-size: 1.65em;
| |
− | white-space: nowrap;
| |
− | line-height: 1;
| |
− | font-family: 'Source Serif Pro', serif;
| |
− | }
| |
− |
| |
− | .codrops-header__tagline {
| |
− | margin: 0 0 0 1.5em;
| |
− | color: #495050;
| |
− | font-weight: bold;
| |
− | }
| |
− |
| |
− | /* Top Navigation Style */
| |
− | .codrops-links {
| |
− | position: relative;
| |
− | display: inline-block;
| |
− | text-align: center;
| |
− | white-space: nowrap;
| |
− | font-size: 0.8em;
| |
− | margin: 0 1em 0 0;
| |
− | }
| |
− |
| |
− | .codrops-links::after {
| |
− | position: absolute;
| |
− | top: 15%;
| |
− | left: 50%;
| |
− | width: 1px;
| |
− | height: 70%;
| |
− | background: currentColor;
| |
− | opacity: 0.2;
| |
− | content: '';
| |
− | -webkit-transform: rotate3d(0,0,1,22.5deg);
| |
− | transform: rotate3d(0,0,1,22.5deg);
| |
− | }
| |
− |
| |
− | .codrops-icon {
| |
− | display: inline-block;
| |
− | margin: 0.5em;
| |
− | padding: 0.5em;
| |
− | }
| |
− |
| |
− | /* Demo links */
| |
− | .codrops-demos {
| |
− | margin: 0 0 0 auto;
| |
− | text-align: right;
| |
− | }
| |
− |
| |
− | .codrops-demos a {
| |
− | display: inline-block;
| |
− | margin: 0 0.5em;
| |
− | font-weight: bold;
| |
− | }
| |
− |
| |
− | .codrops-demos a.current-demo {
| |
− | color: #28282f;
| |
− | }
| |
− |
| |
− | /* Content */
| |
− | .content {
| |
− | background: #28282f;
| |
− | }
| |
− |
| |
− | .content__inner {
| |
− | max-width: 1000px;
| |
− | margin: 0 auto;
| |
− | padding: 8em 10% 4em;
| |
− | }
| |
− |
| |
− | .content__title,
| |
− | .content__subtitle {
| |
− | font-family: 'Source Serif Pro', serif;
| |
− | }
| |
− |
| |
− | .content__title {
| |
− | font-size: 3em;
| |
− | margin: 0;
| |
− | }
| |
− |
| |
− | .content__subtitle {
| |
− | font-size: 2em;
| |
− | font-weight: normal;
| |
− | margin: 0.25em 0 0;
| |
− | color: #9f9da7;
| |
− | }
| |
− |
| |
− | .content p {
| |
− | font-size: 1.175em;
| |
− | line-height: 1.6;
| |
− | margin: 1.5em 0;
| |
− | }
| |
− |
| |
− | p.margin-paragraph {
| |
− | margin: 8em 0 1.5em;
| |
− | }
| |
− |
| |
− | /* Related demos */
| |
− | .content--related {
| |
− | padding: 4em 1em;
| |
− | text-align: center;
| |
− | font-weight: bold;
| |
− | background: #1c1c21;
| |
− | color: #495050;
| |
− | }
| |
− |
| |
− | .content--related a:hover,
| |
− | .content--related a:focus {
| |
− | color: #fff;
| |
− | }
| |
− |
| |
− | .media-item {
| |
− | display: inline-block;
| |
− | padding: 1em;
| |
− | vertical-align: top;
| |
− | -webkit-transition: color 0.3s;
| |
− | transition: color 0.3s;
| |
− | }
| |
− |
| |
− | .media-item__img {
| |
− | max-width: 100%;
| |
− | opacity: 0.3;
| |
− | -webkit-transition: opacity 0.3s;
| |
− | transition: opacity 0.3s;
| |
− | }
| |
− |
| |
− | .media-item:hover .media-item__img,
| |
− | .media-item:focus .media-item__img {
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | .media-item__title {
| |
− | margin: 0;
| |
− | padding: 0.5em;
| |
− | font-size: 1em;
| |
− | }
| |
− |
| |
− | /* Sponsor */
| |
− | .pater {
| |
− | display: none;
| |
− | position: relative;
| |
− | background: rgba(96,184,185,0.6);
| |
− | padding: 2.5em 1em 2.5em;
| |
− | width: 100%;
| |
− | pointer-events: auto;
| |
− | }
| |
− |
| |
− | .pater:focus {
| |
− | outline: none;
| |
− | }
| |
− |
| |
− | .pater::after {
| |
− | content: 'Sponsored by';
| |
− | position: absolute;
| |
− | top: 20px;
| |
− | left: 20px;
| |
− | color: #408283;
| |
− | font-size: 0.65em;
| |
− | font-weight: bold;
| |
− | }
| |
− |
| |
− | .pater__img {
| |
− | max-width: 100%;
| |
− | }
| |
− |
| |
− | .pater__title {
| |
− | font-size: 1em;
| |
− | color: #fff;
| |
− | margin: 0 0 0.25em 10px;
| |
− | }
| |
− |
| |
− | .pater__description {
| |
− | color: #1a2638;
| |
− | font-size: 0.85em;
| |
− | font-weight: 600;
| |
− | margin: 0 0 0 10px;
| |
− | }
| |
− |
| |
− | .pater__description strong {
| |
− | color: #ffe38e;
| |
− | }
| |
− |
| |
− | .pater--responsive {
| |
− | display: block;
| |
− | }
| |
− |
| |
− | @media screen and (min-width: 52.375em) {
| |
− | .pater {
| |
− | display: block;
| |
− | position: absolute;
| |
− | bottom: 0;
| |
− | right: 0;
| |
− | width: 400px;
| |
− | padding: 2.5em 1em 1em;
| |
− | -webkit-transform: translate3d(0,3.5em,0);
| |
− | transform: translate3d(0,3.5em,0);
| |
− | -webkit-transition: background 0.3s, -webkit-transform 0.3s;
| |
− | transition: background 0.3s, transform 0.3s;
| |
− | }
| |
− | .points-content--open ~ .pater {
| |
− | pointer-events: none;
| |
− | -webkit-transform: translate3d(0,100%,0);
| |
− | transform: translate3d(0,100%,0);
| |
− | }
| |
− | .pater:focus,
| |
− | .pater:hover {
| |
− | background: rgba(96,184,185,1);
| |
− | -webkit-transform: translate3d(0,0,0);
| |
− | transform: translate3d(0,0,0);
| |
− | }
| |
− | .pater__img {
| |
− | -webkit-transform-origin: 0% 50%;
| |
− | transform-origin: 0% 50%;
| |
− | -webkit-transform: scale(1.5);
| |
− | transform: scale(1.5);
| |
− | -webkit-transition: -webkit-transform 0.3s;
| |
− | transition: transform 0.3s;
| |
− | }
| |
− | .pater:focus .pater__img,
| |
− | .pater:hover .pater__img {
| |
− | -webkit-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− | .pater__description {
| |
− | opacity: 0;
| |
− | -webkit-transform: translate3d(0,1em,0);
| |
− | transform: translate3d(0,1em,0);
| |
− | -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
| |
− | transition: opacity 0.3s, transform 0.3s;
| |
− | }
| |
− |
| |
− | .pater:focus .pater__description,
| |
− | .pater:hover .pater__description {
| |
− | -webkit-transform: translate3d(0,0,0);
| |
− | transform: translate3d(0,0,0);
| |
− | opacity: 1;
| |
− | }
| |
− | .pater--responsive {
| |
− | display: none;
| |
− | }
| |
− | }
| |
− |
| |
− | @media screen and (max-width: 52.375em) {
| |
− | .codrops-header {
| |
− | padding: 0.25em;
| |
− | font-size: 0.65em;
| |
− | }
| |
− | .codrops-header__tagline {
| |
− | display: none;
| |
− | }
| |
− | .content {
| |
− | font-size: 0.75em;
| |
− | }
| |
− | .message {
| |
− | display: block;
| |
− | }
| |
− | }
| |
− | </style>
| |
− |
| |
− | <!-- <link rel="stylesheet" type="text/css" href="css/component.css" /> -->
| |
− | <style>
| |
− | .interactive-points {
| |
− | position: relative;
| |
− | display: inline-block;
| |
− | overflow: hidden;
| |
− | width: 100%;
| |
− | margin-bottom: -0.4em;
| |
− | background: #cfced7;
| |
− | }
| |
− |
| |
− | .interactive-points:focus {
| |
− | outline: none;
| |
− | }
| |
− |
| |
− | .backgrounds,
| |
− | .background__element {
| |
− | position: relative;
| |
− | width: 100%;
| |
− | }
| |
− |
| |
− | .background__element {
| |
− | height: 50vh;
| |
− | background-repeat: no-repeat;
| |
− | background-position: 50% 50%;
| |
− | background-size: cover;
| |
− | }
| |
− |
| |
− | .static {
| |
− | position: relative;
| |
− | display: block;
| |
− | margin: 0 auto;
| |
− | opacity: 0.5;
| |
− | }
| |
− |
| |
− | .points {
| |
− | position: absolute;
| |
− | top: 0;
| |
− | left: 0;
| |
− | display: none;
| |
− | }
| |
− |
| |
− | .static,
| |
− | .points {
| |
− | width: 100%;
| |
− | height: auto;
| |
− | }
| |
− |
| |
− | @media screen and (min-aspect-ratio: 1885/1000) {
| |
− | .static,
| |
− | .points {
| |
− | width: auto;
| |
− | height: calc(100vh - 6em);
| |
− | min-height: 500px;
| |
− | }
| |
− | }
| |
− |
| |
− | .points {
| |
− | left: 50%;
| |
− | -webkit-transform: translate3d(-50%,0,0);
| |
− | transform: translate3d(-50%,0,0);
| |
− | }
| |
− |
| |
− | .point {
| |
− | cursor: pointer;
| |
− | fill: #28282f;
| |
− | -webkit-transition: opacity 0.3s, -webkit-transform 0.3s, fill 0.3s;
| |
− | transition: opacity 0.3s, transform 0.3s, fill 0.3s;
| |
− | -webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
| |
− | transition-timing-function: cubic-bezier(0.2,1,0.3,1);
| |
− | }
| |
− |
| |
− | .point--active {
| |
− | fill: #408283;
| |
− | -webkit-transform: scale3d(2,2,1);
| |
− | transform: scale3d(2,2,1);
| |
− | }
| |
− |
| |
− | .point--hide {
| |
− | opacity: 0;
| |
− | pointer-events: none;
| |
− | -webkit-transform: translate3d(0,10px,0);
| |
− | transform: translate3d(0,10px,0);
| |
− | }
| |
− |
| |
− | .points-tooltips,
| |
− | .points-content {
| |
− | position: absolute;
| |
− | bottom: 0;
| |
− | left: 0;
| |
− | width: 100%;
| |
− | height: 100%;
| |
− | pointer-events: none;
| |
− | }
| |
− |
| |
− | .points-tooltips {
| |
− | display: -webkit-box;
| |
− | display: -ms-flexbox;
| |
− | display: flex;
| |
− | -webkit-box-orient: vertical;
| |
− | -webkit-box-direction: normal;
| |
− | -ms-flex-direction: column;
| |
− | flex-direction: column;
| |
− | -webkit-box-pack: end;
| |
− | -ms-flex-pack: end;
| |
− | justify-content: flex-end;
| |
− | }
| |
− |
| |
− | .point-tooltip {
| |
− | height: 50vh;
| |
− | }
| |
− |
| |
− | .point-tooltip__title {
| |
− | font-family: 'Source Serif Pro', serif;
| |
− | font-size: 1.5em;
| |
− | line-height: 1;
| |
− | margin: 0 0 0.15em;
| |
− | display: inline-block;
| |
− | background: #28282f;
| |
− | padding: 5px;
| |
− | }
| |
− |
| |
− | .point-tooltip__description {
| |
− | font-size: 0.85em;
| |
− | font-weight: 500;
| |
− | margin: 0;
| |
− | line-height: 1;
| |
− | display: inline-block;
| |
− | background: #28282f;
| |
− | padding: 5px;
| |
− | }
| |
− |
| |
− | .points-content {
| |
− | -webkit-transition: background 0.1s;
| |
− | transition: background 0.1s;
| |
− | }
| |
− |
| |
− | .points-content--open {
| |
− | cursor: url(img/close.cur), pointer;
| |
− | pointer-events: auto;
| |
− | background: rgba(50,49,59,0.6);
| |
− | }
| |
− |
| |
− | @supports (cursor: zoom-in) {
| |
− | .points-content--open {
| |
− | cursor: url(../img/close.png) 12 6, pointer;
| |
− | }
| |
− | }
| |
− |
| |
− | .point-content {
| |
− | font-size: 1.25em;
| |
− | position: absolute;
| |
− | bottom: 0;
| |
− | left: 0;
| |
− | width: 100%;
| |
− | min-width: 300px;
| |
− | padding: 0 0 3em 3em;
| |
− | opacity: 0;
| |
− | }
| |
− |
| |
− | .point-content--current {
| |
− | pointer-events: auto;
| |
− | opacity: 1;
| |
− | }
| |
− |
| |
− | .point-content__title {
| |
− | font-family: 'Source Serif Pro', serif;
| |
− | font-size: 2.25em;
| |
− | margin: 0;
| |
− | text-shadow: 0 1px 5px rgba(0,0,0,0.2);
| |
− | }
| |
− |
| |
− | .point-content__subtitle {
| |
− | font-family: 'Source Serif Pro', serif;
| |
− | font-weight: bold;
| |
− | margin: 0.25em 0 0;
| |
− | display: inline-block;
| |
− | background: #408283;
| |
− | color: #28282f;
| |
− | padding: 0 10px;
| |
− | line-height: 1.5;
| |
− | }
| |
− |
| |
− | .point-content__text {
| |
− | font-weight: 500;
| |
− | margin: 1em 0 0 0;
| |
− | }
| |
− |
| |
− | .point-content > * {
| |
− | opacity: 0;
| |
− | -webkit-transform: translate3d(0,-40px,0);
| |
− | transform: translate3d(0,-40px,0);
| |
− | -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
| |
− | transition: opacity 0.3s, transform 0.3s;
| |
− | }
| |
− |
| |
− | .point-content--current > * {
| |
− | opacity: 1;
| |
− | -webkit-transform: translate3d(0,0,0);
| |
− | transform: translate3d(0,0,0);
| |
− | }
| |
− |
| |
− | .point-content--current > *:first-child {
| |
− | -webkit-transition-delay: 0.1s;
| |
− | transition-delay: 0.1s;
| |
− | }
| |
− |
| |
− | .point-content--current > *:nth-child(2) {
| |
− | -webkit-transition-delay: 0.05s;
| |
− | transition-delay: 0.05s;
| |
− | }
| |
− |
| |
− | /* Second example */
| |
− | .interactive-points--alter .point-content {
| |
− | text-align: right;
| |
− | left: auto;
| |
− | right: 0;
| |
− | padding: 0 3em 3em;
| |
− | }
| |
− |
| |
− | @media screen and (min-width: 52.375em) {
| |
− | .point-content {
| |
− | width: 50%;
| |
− | }
| |
− | .js .points {
| |
− | display: block;
| |
− | }
| |
− | .js .backgrounds,
| |
− | .js .background__element {
| |
− | position: absolute;
| |
− | top: 0;
| |
− | left: 0;
| |
− | width: 100%;
| |
− | height: 100%;
| |
− | }
| |
− | .js .background__element {
| |
− | opacity: 0;
| |
− | -webkit-transition: opacity 0.1s;
| |
− | transition: opacity 0.1s;
| |
− | }
| |
− | .js .points-tooltip {
| |
− | display: block;
| |
− | }
| |
− | .js .point-tooltip {
| |
− | position: absolute;
| |
− | margin: 0.75em 0 0 0.25em;
| |
− | opacity: 0;
| |
− | -webkit-transform: translate3d(0,10px,0);
| |
− | transform: translate3d(0,10px,0);
| |
− | -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
| |
− | transition: opacity 0.3s, transform 0.3s;
| |
− | }
| |
− | .js .point-tooltip--current {
| |
− | opacity: 1;
| |
− | -webkit-transform: translate3d(0,0,0);
| |
− | transform: translate3d(0,0,0);
| |
− | }
| |
− | }
| |
− | </style>
| |
− |
| |
− | <!-- <link rel="stylesheet" type="text/css" href="css/sidebar_transitions_normalize.css" /> -->
| |
− | <style>
| |
− | article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}body{margin:0;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;margin:0.67em 0;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:bold;}dfn{font-style:italic;}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em;}pre{white-space:pre-wrap;}q{quotes:"\201C" "\201D" "\2018" "\2019";}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-0.5em;}sub{bottom:-0.25em;}img{border:0;}svg:not(:root){overflow:hidden;}figure{margin:0;}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em;}legend{border:0;padding:0;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,select{text-transform:none;}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}button[disabled],html input[disabled]{cursor:default;}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}textarea{overflow:auto;vertical-align:top;}table{border-collapse:collapse;border-spacing:0;}
| |
− | </style>
| |
− |
| |
− | <!-- <link rel="stylesheet" type="text/css" href="css/sidebar_transitions_demo.css" /> -->
| |
− | <style>
| |
− | @import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);
| |
− | @font-face {
| |
− | font-weight: normal;
| |
− | font-style: normal;
| |
− | font-family: 'codropsicons';
| |
− | src:url('../fonts/codropsicons/codropsicons.eot');
| |
− | src:url('../fonts/codropsicons/codropsicons.eot?#iefix') format('embedded-opentype'),
| |
− | url('../fonts/codropsicons/codropsicons.woff') format('woff'),
| |
− | url('../fonts/codropsicons/codropsicons.ttf') format('truetype'),
| |
− | url('../fonts/codropsicons/codropsicons.svg#codropsicons') format('svg');
| |
− | }
| |
− |
| |
− | body {
| |
− | background: #444;
| |
− | color: #48a770;
| |
− | font-weight: 300;
| |
− | font-family: 'Lato', Calibri, Arial, sans-serif;
| |
− | }
| |
− |
| |
− | a {
| |
− | text-decoration: none;
| |
− | color: #48a770;
| |
− | outline: none;
| |
− | }
| |
− |
| |
− | a:hover, a:focus {
| |
− | color: #2c774b;
| |
− | outline: none;
| |
− | }
| |
− |
| |
− | /* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
| |
− | .clearfix:before,
| |
− | .clearfix:after {
| |
− | display: table;
| |
− | content: " ";
| |
− | }
| |
− |
| |
− | .clearfix:after {
| |
− | clear: both;
| |
− | }
| |
− |
| |
− | .codrops-header,
| |
− | .codrops-top {
| |
− | font-family: 'Lato', Arial, sans-serif;
| |
− | }
| |
− |
| |
− | .codrops-header {
| |
− | margin: 0 auto 3em;
| |
− | padding: 3em;
| |
− | text-align: center;
| |
− | }
| |
− |
| |
− | .codrops-header h1 {
| |
− | margin: 0;
| |
− | font-weight: 300;
| |
− | font-size: 2.625em;
| |
− | line-height: 1.3;
| |
− | }
| |
− |
| |
− | .codrops-header span {
| |
− | display: block;
| |
− | padding: 0 0 0.6em 0.1em;
| |
− | font-size: 60%;
| |
− | color: #aca89a;
| |
− | }
| |
− |
| |
− | /* To Navigation Style */
| |
− | .codrops-top {
| |
− | width: 100%;
| |
− | text-transform: uppercase;
| |
− | font-size: 0.69em;
| |
− | line-height: 2.2;
| |
− | font-weight: 400;
| |
− | background: rgba(255,255,255,0.3);
| |
− | }
| |
− |
| |
− | .codrops-top a {
| |
− | display: inline-block;
| |
− | padding: 0 1em;
| |
− | text-decoration: none;
| |
− | letter-spacing: 0.1em;
| |
− | }
| |
− |
| |
− | .codrops-top a:hover {
| |
− | background: rgba(255,255,255,0.4);
| |
− | color: #333;
| |
− | }
| |
− |
| |
− | .codrops-top span.right {
| |
− | float: right;
| |
− | }
| |
− |
| |
− | .codrops-top span.right a {
| |
− | display: block;
| |
− | float: left;
| |
− | }
| |
− |
| |
− | .codrops-icon:before {
| |
− | margin: 0 4px;
| |
− | text-transform: none;
| |
− | font-weight: normal;
| |
− | font-style: normal;
| |
− | font-variant: normal;
| |
− | font-family: 'codropsicons';
| |
− | line-height: 1;
| |
− | speak: none;
| |
− | -webkit-font-smoothing: antialiased;
| |
− | -ms-font-smoothing: scale(1.1) translate(70px); /* IE 9 */
| |
− | }
| |
− |
| |
− | .codrops-icon-drop:before {
| |
− | content: "\e001";
| |
− | }
| |
− |
| |
− | .codrops-icon-prev:before {
| |
− | content: "\e004";
| |
− | }
| |
− |
| |
− | .main {
| |
− | max-width: 69em;
| |
− | margin: 0 auto;
| |
− | }
| |
− |
| |
− | .column {
| |
− | float: left;
| |
− | width: 50%;
| |
− | padding: 0 2em;
| |
− | min-height: 300px;
| |
− | position: relative;
| |
− | text-align: right;
| |
− | }
| |
− |
| |
− | .column:nth-child(2) {
| |
− | box-shadow: -1px 0 0 rgba(0,0,0,0.1);
| |
− | text-align: left;
| |
− | }
| |
− |
| |
− | .column p {
| |
− | font-weight: 300;
| |
− | font-size: 2em;
| |
− | padding: 0 0 0.5em;
| |
− | margin: 0;
| |
− | line-height: 1.5;
| |
− | }
| |
− |
| |
− | button {
| |
− | border: none;
| |
− | padding: 0.6em 1.2em;
| |
− | background: #388a5a;
| |
− | color: #fff;
| |
− | font-family: 'Lato', Calibri, Arial, sans-serif;
| |
− | font-size: 1em;
| |
− | letter-spacing: 1px;
| |
− | text-transform: uppercase;
| |
− | cursor: pointer;
| |
− | display: inline-block;
| |
− | margin: 3px 2px;
| |
− | border-radius: 2px;
| |
− | -webkit-transition: all .2s ease-in-out;
| |
− | transition: all .2s ease-in-out;
| |
− | }
| |
− |
| |
− | button:hover {
| |
− | background-color: rgba(0,0,0,.5);
| |
− | color: rgba(255,255,255,1);
| |
− | -ms-transform: scale(1.7) translate(40px); /* IE 9 */
| |
− | -webkit-transform: scale(1.7) translate(40px); /* Safari */
| |
− | transform: scale(1.7) translate(40px); /* Standard syntax */
| |
− | outline: none;
| |
− | }
| |
− |
| |
− | .info {
| |
− | text-align: center;
| |
− | font-size: 1.5em;
| |
− | margin-top: 3em;
| |
− | clear: both;
| |
− | padding: 3em 0;
| |
− | opacity: 0.7;
| |
− | color: #aca89a;
| |
− | }
| |
− |
| |
− | .info a {
| |
− | font-weight: 700;
| |
− | font-size: 0.9em;
| |
− | }
| |
− |
| |
− | @media screen and (max-width: 46.0625em) {
| |
− | .column {
| |
− | width: 100%;
| |
− | min-width: auto;
| |
− | min-height: auto;
| |
− | padding: 2em;
| |
− | text-align: center;
| |
− | }
| |
− |
| |
− | .column p {
| |
− | font-size: 1.5em;
| |
− | }
| |
− |
| |
− | .column:nth-child(2) {
| |
− | text-align: center;
| |
− | box-shadow: 0 -1px 0 rgba(0,0,0,0.1);
| |
− | }
| |
− | }
| |
− |
| |
− | @media screen and (max-width: 25em) {
| |
− |
| |
− | .codrops-header {
| |
− | font-size: 80%;
| |
− | }
| |
− |
| |
− | .codrops-top {
| |
− | font-size: 120%;
| |
− | }
| |
− |
| |
− | .codrops-icon span {
| |
− | display: none;
| |
− | }
| |
− |
| |
− | }
| |
− | </style>
| |
− |
| |
− | <!-- <link rel="stylesheet" type="text/css" href="css/sidebar_transitions_icons.css" /> -->
| |
− | <style>
| |
− | @font-face {
| |
− | font-family: 'linecons';
| |
− | src:url('../fonts/linecons/linecons.eot');
| |
− | src:url('../fonts/linecons/linecons.eot?#iefix') format('embedded-opentype'),
| |
− | url('../fonts/linecons/linecons.woff') format('woff'),
| |
− | url('../fonts/linecons/linecons.ttf') format('truetype'),
| |
− | url('../fonts/linecons/linecons.svg#linecons') format('svg');
| |
− | font-weight: normal;
| |
− | font-style: normal;
| |
− | }
| |
− |
| |
− | .icon:before {
| |
− | font-family: 'linecons';
| |
− | speak: none;
| |
− | font-style: normal;
| |
− | font-weight: normal;
| |
− | font-variant: normal;
| |
− | text-transform: none;
| |
− | line-height: 1;
| |
− | display: inline-block;
| |
− | vertical-align: bottom;
| |
− | margin-right: 0.8em;
| |
− | font-size: 1.2em;
| |
− | -webkit-font-smoothing: antialiased;
| |
− | }
| |
− | .icon-female:before {
| |
− | content: "\f182";
| |
− | }
| |
− | .icon-male:before {
| |
− | content: "\f183";
| |
− | }
| |
− | .icon-arrow-left:before {
| |
− | content: "\e032";
| |
− | }
| |
− | .icon-arrow-left-2:before {
| |
− | content: "\e034";
| |
− | }
| |
− | .icon-arrow-left-3:before {
| |
− | content: "\e036";
| |
− | }
| |
− | .icon-arrow-left-4:before {
| |
− | content: "\e038";
| |
− | }
| |
− | .icon-arrow-right:before {
| |
− | content: "\e035";
| |
− | }
| |
− | .icon-arrow-right-2:before {
| |
− | content: "\e037";
| |
− | }
| |
− | .icon-arrow-right-3:before {
| |
− | content: "\e039";
| |
− | }
| |
− | .icon-arrow-right-4:before {
| |
− | content: "\e033";
| |
− | }
| |
− |
| |
− | .icon-phone:before {
| |
− | content: "\e000";
| |
− | }
| |
− | .icon-news:before {
| |
− | content: "\e001";
| |
− | }
| |
− | .icon-photo:before {
| |
− | content: "\e002";
| |
− | }
| |
− | .icon-shop:before {
| |
− | content: "\e003";
| |
− | }
| |
− | .icon-wallet:before {
| |
− | content: "\e004";
| |
− | }
| |
− | .icon-t-shirt:before {
| |
− | content: "\e005";
| |
− | }
| |
− | .icon-heart:before {
| |
− | content: "\e006";
| |
− | }
| |
− | .icon-cloud:before {
| |
− | content: "\e007";
| |
− | }
| |
− | .icon-display:before {
| |
− | content: "\e008";
| |
− | }
| |
− | .icon-diamond:before {
| |
− | content: "\e009";
| |
− | }
| |
− | .icon-banknote:before {
| |
− | content: "\e00a";
| |
− | }
| |
− | .icon-data:before {
| |
− | content: "\e00b";
| |
− | }
| |
− | .icon-music:before {
| |
− | content: "\e00c";
| |
− | }
| |
− | .icon-location:before {
| |
− | content: "\e00d";
| |
− | }
| |
− | .icon-star:before {
| |
− | content: "\e00e";
| |
− | }
| |
− | .icon-tv:before {
| |
− | content: "\e00f";
| |
− | }
| |
− | .icon-eye:before {
| |
− | content: "\e010";
| |
− | }
| |
− | .icon-megaphone:before {
| |
− | content: "\e011";
| |
− | }
| |
− | .icon-study:before {
| |
− | content: "\e012";
| |
− | }
| |
− | .icon-bubble:before {
| |
− | content: "\e013";
| |
− | }
| |
− | .icon-sound:before {
| |
− | content: "\e014";
| |
− | }
| |
− | .icon-video:before {
| |
− | content: "\e015";
| |
− | }
| |
− | .icon-stack:before {
| |
− | content: "\e016";
| |
− | }
| |
− | .icon-lab:before {
| |
− | content: "\e017";
| |
− | }
| |
− | .icon-food:before {
| |
− | content: "\e018";
| |
− | }
| |
− | .icon-cup:before {
| |
− | content: "\e019";
| |
− | }
| |
− | .icon-trash:before {
| |
− | content: "\e01a";
| |
− | }
| |
− | .icon-user:before {
| |
− | content: "\e01b";
| |
− | }
| |
− | .icon-key:before {
| |
− | content: "\e01c";
| |
− | }
| |
− | .icon-fire:before {
| |
− | content: "\e01d";
| |
− | }
| |
− | .icon-clip:before {
| |
− | content: "\e01e";
| |
− | }
| |
− | .icon-mail:before {
| |
− | content: "\e01f";
| |
− | }
| |
− | .icon-search:before {
| |
− | content: "\e020";
| |
− | }
| |
− | .icon-settings:before {
| |
− | content: "\e021";
| |
− | }
| |
− | .icon-like:before {
| |
− | content: "\e022";
| |
− | }
| |
− | .icon-calendar:before {
| |
− | content: "\e023";
| |
− | }
| |
− | .icon-camera:before {
| |
− | content: "\e024";
| |
− | }
| |
− | .icon-tag:before {
| |
− | content: "\e025";
| |
− | }
| |
− | .icon-note:before {
| |
− | content: "\e026";
| |
− | }
| |
− | .icon-clock:before {
| |
− | content: "\e027";
| |
− | }
| |
− | .icon-lock:before {
| |
− | content: "\e028";
| |
− | }
| |
− | .icon-vynil:before {
| |
− | content: "\e029";
| |
− | }
| |
− | .icon-truck:before {
| |
− | content: "\e02a";
| |
− | }
| |
− | .icon-paperplane:before {
| |
− | content: "\e02b";
| |
− | }
| |
− | .icon-bulb:before {
| |
− | content: "\e02c";
| |
− | }
| |
− | .icon-pen:before {
| |
− | content: "\e02d";
| |
− | }
| |
− | .icon-params:before {
| |
− | content: "\e02e";
| |
− | }
| |
− | .icon-world:before {
| |
− | content: "\e02f";
| |
− | }
| |
− |
| |
− | </style>
| |
− |
| |
− | <!-- <link rel="stylesheet" type="text/css" href="css/sidebar_transitions_component.css" /> -->
| |
− | <style>
| |
− | *,
| |
− | *:after,
| |
− | *::before {
| |
− | -moz-box-sizing: border-box;
| |
− | box-sizing: border-box;
| |
− | }
| |
− |
| |
− | html,
| |
− | body,
| |
− | .st-container,
| |
− | .st-pusher,
| |
− | .st-content {
| |
− | height: 100%;
| |
− | }
| |
− |
| |
− | .st-content {
| |
− | overflow-y: scroll;
| |
− | background: #f3efe0;
| |
− | }
| |
− |
| |
− | .st-content,
| |
− | .st-content-inner {
| |
− | position: relative;
| |
− | }
| |
− |
| |
− | .st-container {
| |
− | position: relative;
| |
− | overflow: hidden;
| |
− | }
| |
− |
| |
− | .st-pusher {
| |
− | position: relative;
| |
− | left: 0;
| |
− | z-index: 99;
| |
− | height: 100%;
| |
− | -webkit-transition: -webkit-transform 0.5s;
| |
− | transition: transform 0.5s;
| |
− | }
| |
− |
| |
− | .st-pusher::after {
| |
− | position: absolute;
| |
− | top: 0;
| |
− | right: 0;
| |
− | width: 0;
| |
− | height: 0;
| |
− | background: rgba(0,0,0,0.2);
| |
− | content: '';
| |
− | opacity: 0;
| |
− | -webkit-transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
| |
− | transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
| |
− | }
| |
− |
| |
− | .st-menu-open .st-pusher::after {
| |
− | width: 100%;
| |
− | height: 100%;
| |
− | opacity: 1;
| |
− | -webkit-transition: opacity 0.5s;
| |
− | transition: opacity 0.5s;
| |
− | }
| |
− |
| |
− | .st-menu {
| |
− | position: fixed;
| |
− | top: 0;
| |
− | left: 0;
| |
− | z-index: 100;
| |
− | visibility: hidden;
| |
− | width: 300px;
| |
− | height: 100%;
| |
− | background: #48a770;
| |
− | -webkit-transition: all 0.5s;
| |
− | transition: all 0.5s;
| |
− | }
| |
− |
| |
− | .st-menu::after {
| |
− | position: absolute;
| |
− | top: 0;
| |
− | right: 0;
| |
− | width: 100%;
| |
− | height: 100%;
| |
− | background: rgba(0,0,0,0.2);
| |
− | content: '';
| |
− | opacity: 1;
| |
− | -webkit-transition: opacity 0.5s;
| |
− | transition: opacity 0.5s;
| |
− | }
| |
− |
| |
− | .st-menu-open .st-menu::after {
| |
− | width: 0;
| |
− | height: 0;
| |
− | opacity: 0;
| |
− | -webkit-transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
| |
− | transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
| |
− | }
| |
− |
| |
− | /* content style */
| |
− |
| |
− | .st-menu ul {
| |
− | margin-top: 20%;
| |
− | padding: 0;
| |
− | list-style: none;
| |
− | }
| |
− |
| |
− | .st-menu h2 {
| |
− | margin: 0;
| |
− | padding: 1em;
| |
− | color: rgba(0,0,0,0.4);
| |
− | text-shadow: 0 0 1px rgba(0,0,0,0.1);
| |
− | font-weight: 300;
| |
− | font-size: 2em;
| |
− | }
| |
− |
| |
− | .st-menu ul li a {
| |
− | display: block;
| |
− | padding: 1em 1em 1em 1.2em;
| |
− | width: 100%;
| |
− | height: 20%;
| |
− | outline: none;
| |
− | box-shadow: inset 0 -1px rgba(0,0,0,0.2);
| |
− | color: #f3efe0;
| |
− | text-transform: uppercase;
| |
− | text-shadow: 0 0 1px rgba(255,255,255,0.1);
| |
− | letter-spacing: 1px;
| |
− | font-weight: 400;
| |
− | -webkit-transition: background 0.3s, box-shadow 0.3s;
| |
− | transition: background 0.3s, box-shadow 0.3s;
| |
− | }
| |
− |
| |
− | .st-menu ul li:first-child a {
| |
− | box-shadow: inset 0 -1px rgba(0,0,0,0.2), inset 0 1px rgba(0,0,0,0.2);
| |
− | }
| |
− |
| |
− | .st-menu ul li a:hover {
| |
− | background: rgba(0,0,0,0.2);
| |
− | box-shadow: inset 0 -1px rgba(0,0,0,0);
| |
− | color: #fff;
| |
− | }
| |
− |
| |
− | /* Individual effects */
| |
− |
| |
− | /* Effect 1: Slide in on top */
| |
− | .st-effect-1.st-menu {
| |
− | visibility: visible;
| |
− | -webkit-transform: translate3d(-100%, 0, 0);
| |
− | transform: translate3d(-100%, 0, 0);
| |
− | }
| |
− |
| |
− | .st-effect-1.st-menu-open .st-effect-1.st-menu {
| |
− | visibility: visible;
| |
− | -webkit-transform: translate3d(0, 0, 0);
| |
− | transform: translate3d(0, 0, 0);
| |
− | }
| |
− |
| |
− | .st-effect-1.st-menu::after {
| |
− | display: none;
| |
− | }
| |
− |
| |
− | /* Fallback example for browsers that don't support 3D transforms (and no JS fallback) */
| |
− | .no-csstransforms3d .st-pusher,
| |
− | .no-js .st-pusher {
| |
− | padding-left: 300px;
| |
− | }
| |
− |
| |
− | </style>
| |
− |
| |
− | <!-- <link rel="stylesheet" type="text/css" href="css/buttons.css" /> -->
| |
− | <style>
| |
− | /* Common button styles */
| |
− | .button {
| |
− | float: left;
| |
− | width: 100px;
| |
− | height: 100px;
| |
− | border-radius: 50%;
| |
− | display: block;
| |
− | margin: 1em;
| |
− | padding: 1em 2em;
| |
− | border: none;
| |
− | background-color: rgba(0,0,0,.3);
| |
− | vertical-align: middle;
| |
− | position: fixed;
| |
− | top: 40%;
| |
− | left: -45px;
| |
− | z-index: 1;
| |
− | -webkit-backface-visibility: hidden;
| |
− | -moz-osx-font-smoothing: grayscale;
| |
− | -ms-backface-visibility: hidden;
| |
− | }
| |
− | .button:focus {
| |
− | outline: none;
| |
− | }
| |
− | .button > span {
| |
− | vertical-align: middle;
| |
− | }
| |
− |
| |
− | .button > span > img {
| |
− | -ms-transform: rotate(-90deg);
| |
− | -webkit-transform: rotate(-90deg);
| |
− | transform: rotate(-90deg);
| |
− | height: 50%;
| |
− | width: 50%;
| |
− | }
| |
− |
| |
− |
| |
− | /* Borders */
| |
− | .button--border{
| |
− | border: none;
| |
− | outline: none;
| |
− | }
| |
− |
| |
− | /* Rayen */
| |
− | .button--rayen {
| |
− | overflow: hidden;
| |
− | padding: 0;
| |
− | }
| |
− | .button--rayen.button--inverted {
| |
− | color: #fff;
| |
− | }
| |
− | .button--rayen::before {
| |
− | content: attr(data-text);
| |
− | position: absolute;
| |
− | font-size: 200%;
| |
− | top: 0;
| |
− | left: 0;
| |
− | width: 100%;
| |
− | height: 100%;
| |
− | border-radius: 50%;
| |
− | background-color: rgba(0,0,0,.5);
| |
− | color: rgba(255,255,255,1);
| |
− | line-height: 100px;
| |
− | text-align: center;
| |
− | -webkit-transform: translate3d(-100%, 0, 0);
| |
− | transform: translate3d(-100%, 0, 0);
| |
− | -ms-transform: translate3d(-100%, 0, 0);
| |
− | }
| |
− | .button--rayen.button--inverted::before {
| |
− | background: #fff;
| |
− | color: #37474f;
| |
− | }
| |
− | .button--rayen > span {
| |
− | display: block;
| |
− | }
| |
− | .button--rayen::before,
| |
− | .button--rayen > span {
| |
− | -ms-transition: -webkit-transform 0.3s;
| |
− | -webkit-transition: -webkit-transform 0.3s;
| |
− | transition: transform 0.3s;
| |
− | -ms-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
| |
− | -webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
| |
− | transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
| |
− | }
| |
− | .button--rayen:hover::before {
| |
− | -ms-transform: translate3d(0, 0, 0);
| |
− | -webkit-transform: translate3d(0, 0, 0);
| |
− | transform: translate3d(0, 0, 0);
| |
− | }
| |
− | .button--rayen:hover > span {
| |
− | -ms-transform: translate3d(0, 150%, 0);
| |
− | -webkit-transform: translate3d(0, 150%, 0);
| |
− | transform: translate3d(0, 150%, 0);
| |
− | }
| |
− | </style>
| |
− |
| |
− | <!-- <link rel="stylesheet" type="text/css" href="css/header_component.css" /> -->
| |
− | <style>
| |
− |
| |
− | *, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
| |
− |
| |
− | /* Content style */
| |
− |
| |
− | .scroll {
| |
− | position: fixed;
| |
− | top: 50%;
| |
− | left: 50%;
| |
− | -webkit-transform: translateX(-50%) translateY(-50%);
| |
− | -moz-transform: translateX(-50%) translateY(-50%);
| |
− | transform: translateX(-50%) translateY(-50%);
| |
− | letter-spacing: 1px;
| |
− | font-weight: 700;
| |
− | font-size: 2em;
| |
− | line-height: 2;
| |
− | width: 10em;
| |
− | text-align: center;
| |
− | height: 2em;
| |
− | color: #e74c3c;
| |
− | background: #fff;
| |
− | font-style: normal;
| |
− | text-transform: uppercase;
| |
− | opacity: 0.8;
| |
− | }
| |
− |
| |
− | .scroll::after {
| |
− | display: block;
| |
− | content: '\2193';
| |
− | color: #fff;
| |
− | font-size: 3em;
| |
− | line-height: 1;
| |
− | }
| |
− |
| |
− | /* Header styles and animations */
| |
− |
| |
− | .ha-header {
| |
− | position: fixed;
| |
− | top: 0;
| |
− | left: 0;
| |
− | width: 100%;
| |
− | padding: 0;
| |
− | z-index: 50;
| |
− | font-family: 'Lato', Arial, sans-serif;
| |
− | -webkit-transform: translateY(0%);
| |
− | -moz-transform: translateY(0%);
| |
− | transform: translateY(0%);
| |
− | -webkit-transition: all 0.5s;
| |
− | -moz-transition: all 0.5s;
| |
− | transition: all 0.5s;
| |
− | }
| |
− |
| |
− | .ha-header-perspective {
| |
− | width: 100%;
| |
− | height: 100%;
| |
− | position: relative;
| |
− | -webkit-perspective: 1100px;
| |
− | -moz-perspective: 1100px;
| |
− | perspective: 1100px;
| |
− | -webkit-perspective-origin: 50% 0;
| |
− | -moz-perspective-origin: 50% 0;
| |
− | perspective-origin: 50% 0;
| |
− | }
| |
− |
| |
− | .ha-header-perspective > div {
| |
− | background: #fff;
| |
− | text-align: left;
| |
− | padding: 0 7%;
| |
− | height: 50%;
| |
− | width: 100%;
| |
− | margin: 0 auto;
| |
− | position: relative;
| |
− | text-align: justify;
| |
− | -webkit-backface-visibility: hidden;
| |
− | -moz-backface-visibility: hidden;
| |
− | backface-visibility: hidden;
| |
− | -webkit-transition: all 0.5s;
| |
− | -moz-transition: all 0.5s;
| |
− | transition: all 0.5s;
| |
− | overflow: hidden;
| |
− | }
| |
− |
| |
− | .ha-header-front {
| |
− | z-index: 2;
| |
− | -webkit-transform-origin: 50% 100%;
| |
− | -moz-transform-origin: 50% 100%;
| |
− | transform-origin: 50% 100%;
| |
− | }
| |
− |
| |
− | .ha-header-perspective .ha-header-bottom {
| |
− | background: #ddd;
| |
− | -webkit-transform-origin: 50% 0%;
| |
− | -moz-transform-origin: 50% 0%;
| |
− | transform-origin: 50% 0%;
| |
− | z-index: 1;
| |
− | -webkit-transform: rotateX(-90deg);
| |
− | -moz-transform: rotateX(-90deg);
| |
− | transform: rotateX(-90deg);
| |
− | -webkit-transition: top 0.5s;
| |
− | -moz-transition: top 0.5s;
| |
− | transition: top 0.5s;
| |
− | position: absolute;
| |
− | top: 0;
| |
− | }
| |
− |
| |
− | /* Justify inline-block elements (h1 on left side, nav on right) */
| |
− | .ha-header-perspective > div::after {
| |
− | content: '';
| |
− | display: inline-block;
| |
− | width: 100%;
| |
− | }
| |
− |
| |
− | /* Text styling */
| |
− | .ha-header h1,
| |
− | .ha-header h1::before,
| |
− | .ha-header h1 span,
| |
− | .ha-header nav,
| |
− | .ha-header nav::before {
| |
− | display: inline-block;
| |
− | vertical-align: middle;
| |
− | text-align: left;
| |
− | }
| |
− |
| |
− | .ha-header h1 {
| |
− | font-weight: 300;
| |
− | margin: 0;
| |
− | padding: 0 1em 0 0;
| |
− | color: #2d383f;
| |
− | cursor: default;
| |
− | height: 100%;
| |
− | z-index: 1;
| |
− | -webkit-transition: all 0.5s;
| |
− | -moz-transition: all 0.5s;
| |
− | transition: all 0.5s;
| |
− | }
| |
− |
| |
− | .ha-header h1::before,
| |
− | .ha-header nav::before {
| |
− | content: '';
| |
− | height: 100%;
| |
− | }
| |
− |
| |
− | .ha-header h1::after {
| |
− | content: '';
| |
− | width: 100px;
| |
− | height: 96px;
| |
− | background: #fff;
| |
− | position: absolute;
| |
− | z-index: 100;
| |
− | top: 0;
| |
− | left: 0;
| |
− | cursor: pointer;
| |
− | box-shadow: inset 0 8px #2d383f, inset 0 16px #fff, inset 0 24px #2d383f, inset 0 32px #fff, inset 0 40px #2d383f, inset 0 48px #fff, inset 0 56px #2d383f;
| |
− | opacity: 0;
| |
− | border: 20px solid #fff;
| |
− | -webkit-transition: opacity 0.5s;
| |
− | -moz-transition: opacity 0.5s;
| |
− | transition: opacity 0.5s;
| |
− | }
| |
− |
| |
− | .ha-header nav {
| |
− | height: 100%;
| |
− | }
| |
− |
| |
− | .ha-header nav a {
| |
− | display: inline-block;
| |
− | text-transform: uppercase;
| |
− | letter-spacing: 1px;
| |
− | font-weight: 700;
| |
− | padding: 0.2em 0.4em;
| |
− | margin: 0 0.4em 0;
| |
− | font-size: 0.8em;
| |
− | cursor: pointer;
| |
− | color: #e74c3c;
| |
− | outline: none;
| |
− | text-decoration: none;
| |
− | }
| |
− |
| |
− | .ha-header nav a:hover {
| |
− | color: #bc3c2f;
| |
− | }
| |
− |
| |
− | .ha-header nav a:last-child {
| |
− | margin-right: 0;
| |
− | }
| |
− |
| |
− | .ha-header .ha-header-front nav a:first-child,
| |
− | .ha-header .ha-header-front nav a:last-child {
| |
− | border: 2px solid #e74c3c;
| |
− | }
| |
− |
| |
− | .ha-header .ha-header-front nav a:first-child:hover,
| |
− | .ha-header .ha-header-front nav a:last-child:hover {
| |
− | border: 2px solid #bc3c2f;
| |
− | }
| |
− |
| |
− | /* Individual states */
| |
− | .ha-header-rotate {
| |
− | height: 15%;
| |
− | }
| |
− |
| |
− | .ha-header-rotate .ha-header-front {
| |
− | -webkit-transform: translateY(-100%) rotateX(90deg);
| |
− | -moz-transform: translateY(-100%) rotateX(90deg);
| |
− | transform: translateY(-100%) rotateX(90deg);
| |
− | }
| |
− |
| |
− | .ha-header-rotate .ha-header-bottom {
| |
− | top: 50%;
| |
− | -webkit-transition: -webkit-transform 0.5s;
| |
− | -moz-transition: -moz-transform 0.5s;
| |
− | transition: transform 0.5s;
| |
− | -webkit-transform: rotateX(0deg) translateY(-100%);
| |
− | -moz-transform: rotateX(0deg) translateY(-100%);
| |
− | transform: rotateX(0deg) translateY(-100%);
| |
− | }
| |
− |
| |
− | .ha-header-rotateBack {
| |
− | height: 23%;
| |
− | }
| |
− |
| |
− | .ha-header-rotateBack .ha-header-front {
| |
− | -webkit-transform: translateY(0%) rotateX(0deg);
| |
− | -moz-transform: translateY(0%) rotateX(0deg);
| |
− | transform: translateY(0%) rotateX(0deg);
| |
− | }
| |
− |
| |
− | .ha-header-rotateBack .ha-header-bottom {
| |
− | top: 50%;
| |
− | -webkit-transition: -webkit-transform 0.5s;
| |
− | -moz-transition: -moz-transform 0.5s;
| |
− | transition: transform 0.5s;
| |
− | -webkit-transform: rotateX(-90deg);
| |
− | -moz-transform: rotateX(-90deg);
| |
− | transform: rotateX(-90deg);
| |
− | }
| |
− | </style>
| |
− |
| |
− | <!-- <script src="js/modernizr.custom.js"></script> -->
| |
− | <script>
| |
− | /* Modernizr 2.6.2 (Custom Build) | MIT & BSD
| |
− | * Build: http://modernizr.com/download/#-csstransforms3d-shiv-cssclasses-teststyles-testprop-testallprops-prefixes-domprefixes-load
| |
− | */
| |
− | ;window.Modernizr=function(a,b,c){function z(a){j.cssText=a}function A(a,b){return z(m.join(a+";")+(b||""))}function B(a,b){return typeof a===b}function C(a,b){return!!~(""+a).indexOf(b)}function D(a,b){for(var d in a){var e=a[d];if(!C(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function E(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:B(f,"function")?f.bind(d||b):f}return!1}function F(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+o.join(d+" ")+d).split(" ");return B(b,"string")||B(b,"undefined")?D(e,b):(e=(a+" "+p.join(d+" ")+d).split(" "),E(e,b,c))}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m=" -webkit- -moz- -o- -ms- ".split(" "),n="Webkit Moz O ms",o=n.split(" "),p=n.toLowerCase().split(" "),q={},r={},s={},t=[],u=t.slice,v,w=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["­",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},x={}.hasOwnProperty,y;!B(x,"undefined")&&!B(x.call,"undefined")?y=function(a,b){return x.call(a,b)}:y=function(a,b){return b in a&&B(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=u.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(u.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(u.call(arguments)))};return e}),q.csstransforms3d=function(){var a=!!F("perspective");return a&&"webkitPerspective"in g.style&&w("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a};for(var G in q)y(q,G)&&(v=G.toLowerCase(),e[v]=q[G](),t.push((e[v]?"":"no-")+v));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)y(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},z(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function p(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return r.shivMethods?n(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/\w+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(r,b.frag)}function q(a){a||(a=b);var c=m(a);return r.shivCSS&&!f&&!c.hasCSS&&(c.hasCSS=!!k(a,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),j||p(a,c),a}var c=a.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f,g="_html5shiv",h=0,i={},j;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._prefixes=m,e._domPrefixes=p,e._cssomPrefixes=o,e.testProp=function(a){return D([a])},e.testAllProps=F,e.testStyles=w,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+t.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
| |
− | </script>
| |
− |
| |
| <!--[if IE]> | | <!--[if IE]> |
| <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | | <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> |