Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <title>KJV BIBLE ~ COVER</title>
- <!-- for-mobile-apps -->
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <!-- //for-mobile-apps -->
- <style>
- body {margin:0;}
- #canvass {
- position:absolute;
- display:block;
- height:100%;width:100%;
- background:#00FEFE;
- background:-moz-linear-gradient(top, #00FEFE 0%, #008383 100%);
- background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #00FEFE), color-stop(100%, #008383));
- background:-webkit-linear-gradient(top, #00FEFE 0%, #008383 100%);
- background:-o-linear-gradient(top, #00FEFE 0%, #008383 100%);
- background:-ms-linear-gradient(top, #00FEFE 0%, #008383 100%);
- background:linear-gradient(to bottom, #00FEFE 0%, #008383 100%);
- /*filter:progid:DXImageTransform.Mic.social_icrosoft.gradient(startColorstr='#00FEFE', endColorstr='#008383', GradientType=0);*/
- margin:0;
- z-index:-1;
- }
- a {text-decoration:none;}
- #holder{
- display:block;
- width:285px;
- margin:10% auto;
- text-align:center;
- }
- #scripture {
- display:none;
- width:285px;
- height:424px;
- background-color:#FFF;
- padding:0 10px;
- box-shadow:1px 1px 3px #000;
- }
- #scripture p {
- text-align:justify;
- line-height:14px;
- margin-bottom:1px;
- font-size:12px;
- color:#000;
- letter-spacing:1px;
- }
- #scripture h1 {
- text-align:center;
- margin:0;
- font-family: 'Times New Roman', Times, Serif;
- font-size:14;
- font-weight:100;
- color:#FFDEAD;
- text-shadow: 1px 1px #C96;
- letter-spacing:2px;
- }
- #scripture hr {
- margin:0 2px;
- border-color:cyan;
- }
- #scripture p strong {color:teal;}
- #cover{
- display:block;
- position:absolute;
- display:inline:block;
- box-sizing:border-box;
- width:252px;
- height:424px;
- background-color:#111;
- border-radius:2px;
- float:left;
- z-index:-1;
- }
- svg#leather {
- position:absolute;
- display:block;
- stroke-width:0.2;
- stroke:#333;
- fill:transparent;
- margin:0 auto;
- z-index:-1;
- }
- #fringe {
- posittion:relative;
- display:inline-block;
- margin:4px 0 0 0;
- width:29px;
- height:408px;
- background-color:#FFDEAD;
- border-right:4px solid #272526;
- border-top:4px solid #383838;
- border-bottom:4px solid #343233;
- border-radius:2px;
- float:right;
- }
- #titles {
- positon:absolute;
- display:inline-block;
- box-sizing:border-box;
- margin:0 auto;
- width:210px;
- height:380px;
- margin-top:20px;
- padding-top:20px;
- z-index:3;
- }
- #cross {
- display:block;
- position:relative;
- margin:0 auto;
- top:15px;
- }
- a#kross:hover #cross {fill:#FE8046;}
- a#kross:active #cross {fill:cyan;}
- #titles:hover #cross {fill:#EB8;}
- .btn {
- position:relative;
- display:block;
- margin:40px auto;
- width:80px;
- text-align:center;
- background-color:#008080;
- border:1px solid #008080;
- border-radius:3px;
- padding:4px 0;
- color:#FFF;
- font-family: 'Arial', Helvetica, Sans-Serif;
- font-size:16px;
- font-weight:300;
- text-decoration:none;
- top:0px;
- letter-spacing:2px;
- box-shadow:0px 0px 2px 2px cyan;
- }
- .btn:hover {color:cyan;}
- .btn:active {
- box-shadow:0px 0px 3px 3px cyan, 0px 0px 2px 2px lime;
- color:#FFF;}
- button#john {margin:6px auto 0 auto;}
- #titles h1,
- #titles h2,
- #titles h3,
- #titles h4 {
- margin:0;
- font-family: 'Times New Roman', Times, Serif;
- font-size:30px;
- font-weight:lighter;
- color:#FFDEAD;
- text-align:center;
- letter-spacing:3px;
- text-shadow:
- -0.5px 0px 1px #EB8,
- 0px 0.5px 1px #EB8,
- 0.5px 0px 1px #EB8,
- 0px -0.5px 1px #EB8;
- }
- #titles:hover h1,
- #titles:hover h2,
- #titles:hover h3,
- #titles:hover h4 {
- text-shadow:
- -1px 0px 5px #FE8046,
- 0 1px 5px #FE8046,
- 1px 0px 5px #FE8046,
- 0 -1px 5px #FE8046;
- }
- #titles h2 {font-size:28px;}
- #titles h3{font-size:18px;letter-spacing:2px;}
- #titles h4{font-size:20px;letter-spacing:2px;}
- svg {fill:transparent;}
- #outlyne {
- position:absolute;
- display:block;
- width:220px;
- height:390px;
- top:16px;
- left:16px;
- stroke:#FFDEAD;
- stroke-width: 0.2;
- stroke-dasharray: 1000;
- stroke-dashoffset: 1000;
- animation-name: draw;
- animation-duration:41s;
- animation-fill-mode:forwards;
- animation-iteration-count:1;
- animation-timing-function:linear;
- }
- @keyframes draw {
- to {
- stroke-dashoffset:0;
- }
- }
- #cross {
- position:relative;
- display:block;
- margin:20px auto;
- width:60px;
- stroke:#FFDEAD;
- stroke-width: 3;
- stroke-dasharray: 1000;
- stroke-dashoffset: 1000;
- animation-name: draw;
- animation-duration:10s;
- animation-fill-mode:forwards;
- animation-iteration-count:1;
- animation-timing-function:linear;
- -webkit-animation:draw 10s infinite linear;
- }
- @keyframes draw {
- to {
- stroke-dashoffset:0;
- }
- }
- .lines {
- position:relative;
- display:inline-block;
- margin:0 0 0 1px;
- padding:0;
- width:1px;
- height:100%;
- border-left:1px solid #EB8;
- border-right:1px solid #EB8;
- float:left;
- }
- #cubes {
- position:absolute;
- background-color:cyan;
- width:100%;
- height:100%;
- margin:0;
- z-index:-1;
- }
- @media screen and ( -ms-high-contrast: active), ( -ms-high-contrast:none){#cubes {display:none;}}
- @media all and ( -ms-high-contrast: none), ( -ms-high-contrast:active){#cubes {display:none}}
- .right-shade {fill:#139D9D;}
- .left-shade {fill:#0B6565;}
- </style>
- <script>
- function setFill(){
- document.getElementById('cross').style.setProperty('fill','#EB8');
- }
- function openBook(){
- var divs = new Array ('cover','titles','fringe');
- for(i = 0; i < divs.length;i++){
- var diiv = divs[i];
- document.getElementById(diiv).style.setProperty('display','none');
- }
- document.getElementById('scripture').style.setProperty('display','block');
- }
- </script>
- </head>
- <body onload="setTimeout(setFill,5700)">
- <div id="canvass">
- <div id="cubes">
- <svg width="100%" height="100%">
- <pattern id="pattern-cubes" x="0" y="32" patternUnits="userSpaceOnUse" width="62" height="100" viewBox="0 0 10 16">
- <g id="cube">
- <path class="left-shade" d="M0 0l5 3v5l-5 -3z" />
- <path class="right-shade" d="M10 0l-5 3v5l5 -3" />
- </g>
- <use x="5" y="8" xlink:href="#cube" />
- <use x="-5" y="8" xlink:href="#cube" />
- </pattern>
- <rect x="0" y="0" width="100%" height="100%" fill="url(#pattern-cubes)" />
- </svg>
- </div>
- <div id="holder">
- <div id="scripture">
- <h1>John</h1>
- <hr>
- <p><strong>16</strong> For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.</p>
- <p><strong>17</strong> For God sent not his Son into the world to condemn the world; but that the world through him might be saved.</p>
- <p><strong>18</strong> He that believeth on him is not condemned: but he that believeth not is condemned already, because he hath not believed in the name of the only begotten Son of God.</p>
- <p><strong>19</strong> And this is the condemnation, that light is come into the world, and men loved darkness rather than light, because their deeds were evil.</p>
- <p><strong>20</strong> For every one that doeth evil hateth the light, neither cometh to the light, lest his deeds should be reproved.</p>
- <p><strong>21</strong> But he that doeth truth cometh to the light, that his deeds may be made manifest, that they are wrought in God.</p>
- <button class="btn" id="john" onclick="window.location.reload(false)">BACK</button>
- </div>
- <div id="cover">
- <svg id="leather" width="100%" height="100%">
- <pattern id="texture" x="0" y="10" patternUnits="userSpaceOnUse" width="10" height="10" viewBox="0 0 10 10">
- <polyline points="5,0 8,2 10,2.5 8,4 5,5 2,6 0,7.5 3,8.5 5,10 8,9 10,7.5 8,7 5,5 3,3.5 0,2.5 3,1.5 5,0">
- </pattern>
- <rect x="0" y="0" width="100%" height="100%" fill="url(#texture)" />
- </svg>
- <svg id="outlyne" viewBox="0 0 25 44">
- <polyline id="outlyne" points="0,0 25,0 25,44 0,44 0,0">
- </polyline>
- </svg>
- <div id="titles">
- <h1>HOLY</h1>
- <h2>BIBLE</h2>
- <a id="kross" href="#">
- <svg id="cross" viewBox="0 0 105 185">
- <polyline id="cross" points="53,0 55,3 55,50 102,50 105,53 102,55 55,55 55,182 53,185 50,182 50,55 3,55 0,53 3,50 50,50 50,3 53,0">
- </polyline>
- </svg>
- </a>
- <button class="btn" onclick="openBook()">OPEN</button>
- <h3>King James</h3>
- <h4>Version</h4>
- </div>
- </div>
- <div id="fringe">
- <div class="lines"></div>
- <div class="lines"></div>
- <div class="lines"></div>
- <div class="lines"></div>
- <div class="lines"></div>
- <div class="lines"></div>
- <div class="lines"></div>
- </div>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment