Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <!--Title of the Page-->
- <title>Select Your Hero</title>
- <!-- SCRIPTS, STYLESHEETS, ETC., DON'T TOUCH -->
- <script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
- <script type="text/javascript" src="https://code.jquery.com/jquery-1.11.0.min.js"></script>
- <script type="text/javascript" src="https://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
- <link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/kenwheeler/slick/master/slick/slick.css"/>
- <link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/kenwheeler/slick/master/slick/slick-theme.css
- "/>
- <script type="text/javascript" src="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js"></script>
- <!-- Position arrows according to screen size -- DON'T TOUCH!-->
- <script type="text/javascript">
- function fixArrows() {
- var sw = ($('.slick-active').find("img").width()/2);
- var nsw = sw;
- sw = sw + 20 + ($(window).width()/2);
- nsw = ($(window).width()/2) - nsw - 60;
- $('.slick-prev').css('left',nsw+'px');
- $('.slick-next').css('left',sw +'px');
- }
- $(document).ready(function(){
- $('.tarots').slick({
- accessibility: true,
- centerMode: true,
- slidesToShow: 1,
- variableWidth:true,
- });
- fixArrows();
- }).on('afterChange',function(event){
- fixArrows();
- }).trigger('afterChange');
- $(window).resize(function(){
- fixArrows();
- })
- </script>
- <!-- Styles-->
- <style>
- /* Import font - from dalishious.tumblr.com, get it here:
- * http://dalishious.tumblr.com/post/155686639972/hi-i-was-wondering-where-you-got-the-inquisition
- */
- @font-face {
- font-family: "dai-regular";
- src: url('https://dl.dropboxusercontent.com/s/ymynqzjp6zroclo/InquisitionSc.ttf?dl=0');
- }
- /* Change the background colour/style here */
- body {
- /* For a background image, uncomment the 3 lines below (delete the slashes and asterisks surrounding it) and put a url to the image you want where it says imgurl.*/
- /*background-image:url("https://cdn.dragonagekeep.com/bundles/eabwedahub/images/ui/bg-eye.jpg")!important;
- background-size:cover!important;
- background-position:center;*/
- /* This line controls the gradient background. The first colour is in the centre of the page, and the last is the outermost ring. Change
- how much you see of each colour by modifying the percentage. Make
- sure it still adds to 100% in the end. */
- background: radial-gradient(#595959 5%, #454545 10%, #2b2b2b 85%);
- /* For a solid bg colour, delete the line above. Change 2b2b2b to whatever colour you want.*/
- background-color:#2b2b2b;
- /* leave this alone */
- overflow:hidden;
- }
- /* Colour of links, don't reccomend changing anything here */
- a {
- text-decoration:none;
- }
- /* DON'T TOUCH */
- .innards {
- width:100%;
- height:100%;
- overflow:hidden;
- text-align:center;
- margin:0 auto;
- }
- /* Text at the top that says "Hero Selection" */
- .hero-select {
- font-family:"dai-regular";
- color:#fff; /* change font colour here */
- font-size:20pt;
- background-color:#1b1b1b; /* change the background colour here */
- padding:15px;
- width:500px;
- text-align:left;
- }
- /* Creates the arrow that gives hero-select a triangular end */
- .hero-select:after {
- content:"";
- position: absolute;
- top:6.8px;
- left:538px;
- height:0;
- width:0;
- border-width: 31.6px;
- border-style:solid;
- /* make this the same as hero-select's background-colour */
- border-color:#1b1b1b;
- border-top-color:transparent;
- border-right-color:transparent;
- }
- /* DON'T TOUCH */
- .slick-slider {
- margin:-50px auto;
- text-align:center;
- }
- /* DON'T TOUCH */
- .slick-slide.slick-current.slick-active.slick-center {
- filter:none;
- transition:1s ease;
- margin-top:0px;
- }
- /* The card image in the centre */
- .slick-slide.slick-current.slick-active.slick-center img {
- width:350px;
- height:500px;
- border:1px solid #fff; /* change size, style, and colour of border */
- border-radius:3px; /* make corners more round or square */
- /*Lines below change the colour of the glow around the box -- just
- * edit the hex codes (#ED7B4A).
- */
- -webkit-box-shadow:0 0 30px #ED7B4A;
- -moz-box-shadow: 0 0 30px #ED7B4A;
- box-shadow:0 0 30px #ED7B4A;
- }
- /* DON'T TOUCH */
- .slick-slide {
- filter: blur(1px) grayscale(50%);
- transition:1s ease;
- text-align:center;
- width:350px;
- overflow:visible;
- padding:50px;
- margin-top:20px;
- }
- /* DON'T TOUCH */
- .slick-slide .charname {
- font-family:"dai-regular";
- font-size:20pt;
- color:transparent;
- text-shadow: none;
- line-height:40pt;
- visibility:hidden;
- transition:1s;
- }
- /* The text that appears above the middle card */
- .slick-slide.slick-current.slick-active.slick-center .charname {
- font-family:"dai-regular";
- font-size:20pt; /* change the text size */
- color:#ED7B4A; /* change the text colour */
- text-shadow: 0 0 6px #ED7B4A; /* change colour of the glow around it */
- line-height:40pt;
- visibility:visible;
- transition:1s;
- }
- /* DON'T TOUCH */
- .slick-slide .charclass {
- font-family:"dai-regular";
- font-size:12pt;
- color:transparent;
- text-shadow: none;
- line-height:40pt;
- transition:1s;
- }
- /* Text under the card that tells you their class (eg Mage)
- * This one shows up only under the middle card
- */
- .slick-slide.slick-current.slick-active.slick-center .charclass {
- font-family:"dai-regular";
- font-size:16pt; /* change the size of the text */
- color:#fff; /* change the colour of the text */
- line-height:40pt;
- transition:1s;
- }
- /* DON'T TOUCH */
- .slick-slide:focus {
- outline: none;
- }
- /* The arrows on either side of the middle card. */
- .slick-prev:before, .slick-next:before {
- font-family: "slick";
- font-size: 80px;
- font-weight:700;
- line-height: 1px;
- color: #ED7B4A; /* Change the arrows colour */
- opacity:1;
- }
- /* DON'T TOUCH */
- .slick-prev:before { content: "‹"; }
- [dir="rtl"] .slick-prev:before { content: "›"; }
- [dir="rtl"] .slick-next { }
- .slick-next:before { content: "›"; }
- [dir="rtl"] .slick-next:before { content: "‹"; }
- /* DON'T TOUCH */
- .slick-prev {
- z-index: 999;
- }
- /* DON'T TOUCH */
- .slick-next {
- z-index:999;
- }
- /* DON'T TOUCH */
- .credit {
- position:fixed;
- z-index:1000;
- padding:10px;
- bottom:0;
- right:0;
- font-size:25pt;
- }
- /* Colour of the credit. You can edit this to match your theme, but
- * keep it clearly visible, please.
- */
- .credit a {
- color:#454545;
- }
- </style>
- </head>
- <body>
- <div class = "innards">
- <div class = "hero-select">Hero Selection</div>
- <!--CHARACTER CARDS START-->
- <!-- See instructions on first card for editing help. -->
- <!-- Need more cards? Copy the code below:
- <div>
- <div class = "charname">Name</div>
- <a href = "/nameurl">
- <img src = "http://via.placeholder.com/350x500" style="width:100%">
- </a>
- <div class = "charclass">Class</div>
- </div> -->
- <div class="tarots">
- <div>
- <!-- Character's name goes here, where it says Name -->
- <div class = "charname">Name</div>
- <!-- Put a link to the character's page where it says "/nameurl"
- Don't want a link? Remove <a href= = "/george"> and the </a> that's after the image. You have to do this for all the slides.-->
- <a href = "/nameurl">
- <!-- Change the card image by swapping out
- http://via.placeholder.com/350x500
- for the url that leads to the image you want -->
- <img src = "http://via.placeholder.com/350x500" style="width:100%">
- </a>
- <!--Replace Class with whatever your character's class is. Or something else entirely! Whatever floats your boat.-->
- <div class = "charclass">Class</div>
- </div>
- <!-- Card ends here. Repeat instructions for every slide you want.-->
- <div>
- <div class = "charname">Name</div>
- <a href = "/nameurl">
- <img src = "http://via.placeholder.com/350x500" style="width:100%">
- </a>
- <div class = "charclass">Class</div>
- </div>
- <div>
- <div class = "charname">Name</div>
- <a href = "/nameurl">
- <img src = "http://via.placeholder.com/350x500" style="width:100%">
- </a>
- <div class = "charclass">Class</div>
- </div>
- <div>
- <div class = "charname">Name</div>
- <a href = "/nameurl">
- <img src = "http://via.placeholder.com/350x500" style="width:100%">
- </a>
- <div class = "charclass">Class</div>
- </div>
- <div>
- <div class = "charname">Name</div>
- <a href = "/nameurl">
- <img src = "http://via.placeholder.com/350x500" style="width:100%">
- </a>
- <div class = "charclass">Class</div>
- </div>
- <div>
- <div class = "charname">Name</div>
- <a href = "/nameurl">
- <img src = "http://via.placeholder.com/350x500" style="width:100%">
- </a>
- <div class = "charclass">Class</div>
- </div>
- <!--Add extra cards ABOVE this line-->
- </div>
- <!-- CREDIT, DON'T TOUCH -->
- <div class = "credit">
- <a href="https://aclockwork-hound.tumblr.com/"><i class="fas fa-cogs"></i></a>
- </div>
- <!--CHARACTER CARDS END-->
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement