Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <head>
- <!--
- volturnus — faq i
- by divinethemes
- › do not steal any part of this code
- › edit however you want, but only for personal use
- › send any questions to divinethemes.tumblr.com/ask
- › thank you for using! <3
- — customization —
- › ctrl/command + f, type "#cfedeb" and replace with desired color to change the accent color
- › or you can use the up/down buttons and change them each into different colors if you want
- › note that the link border and hover color is different (#eee) for links in the question bubbles
- › also note that customization of link colors is different for ones in the questions/answers and ones in the note section
- › if you change the width of the chat bubbles and/or number of links, you'll have to adjust the width of the container, the link margins, and more stuff - instructions are not in the code bc it's so different for each combination of width, # of links, etc. so send an ask
- -->
- <title>faq — {Name}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <!-- tooltips script-->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
- <script>
- (function($){
- $(document).ready(function(){
- $("[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:200,
- tip_fade_speed:300
- }
- );
- });
- })(jQuery);
- </script>
- <!--font awesome -->
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
- <!--fonts-->
- <link href="https://fonts.googleapis.com/css?family=Fira+Sans:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css?family=Karla:400,400i,700,700i" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css?family=Playfair+Display:400,400i,700,700i,900,900i" rel="stylesheet">
- <style type="text/css">
- @keyframes fadein {from {opacity:0;}to {opacity:1;}}
- @-moz-keyframes fadein {from {opacity:0;}to {opacity:1;}}
- @-webkit-keyframes fadein {from {opacity:0;}to {opacity:1;}}
- @-o-keyframes fadein {from {opacity:0;}to {opacity: 1;}}
- /*-- scrollbar --*/
- ::-webkit-scrollbar {
- width:11px;
- background:#eee;
- }
- ::-webkit-scrollbar-thumb {
- background:#cfedeb;
- }
- ::-webkit-scrollbar,::-webkit-scrollbar-thumb {
- border:5px solid #fff;
- }
- /*-- selection --*/
- ::-moz-selection { background:#eaeaea; color:#222; }
- ::selection { background:#eaeaea; color:#222; }
- /*-- hide tumblr controls --*/
- .tmblr-iframe, .iframe-controls–desktop {display:none !important;}
- /*-- tooltips --*/
- #s-m-t-tooltip {
- position:absolute;
- padding:0px 5px 0px 5px;
- margin-top:30px;
- color:#444;
- background-color:#fafafa;
- font-family:'Fira Sans', sans-serif;
- font-size:9.5px;
- font-style:italic;
- text-transform:lowercase;
- text-align:center;
- border:1px solid #eee;
- letter-spacing:0.5px;
- z-index:999999;
- }
- /*--general--*/
- body {
- background-color:#fff;
- font-family:'Fira Sans', sans-serif;
- font-size:10.5px;
- font-weight:400;
- line-height:190%;
- text-decoration:none;
- color:#555;
- -moz-osx-font-smoothing:grayscale;
- -webkit-font-smoothing:antialiased;
- font-smoothing:antialiased;
- animation: fadein 2s;
- -moz-animation: fadein 2s;
- -webkit-animation: fadein 2s;
- -o-animation: fadein 2s;
- }
- body, * {
- cursor:auto;
- }
- a {
- text-decoration:none;
- color:#c0c0c0; /* link color (for any links that appear in the note section) */
- -webkit-transition:0.4s ease-in;
- -moz-transition:0.4s ease-in;
- -o-transition:0.4s ease-in;
- }
- a:hover {
- color:#cfedeb; /* link hover */
- text-decoration:none;
- cursor:pointer;
- -webkit-transition:0.4s ease-in;
- -moz-transition:0.4s ease-in;
- -o-transition:0.4s ease-in;
- }
- b, strong {
- font-weight:700;
- color:#222;
- }
- i, em {
- font-style:italic;
- }
- blockquote {
- padding-left:10px;
- border-left:1px solid #eee;
- margin:0px;
- }
- /*-- credit // no touch you mortal --*/
- .c {
- position:fixed;
- bottom:15px;
- right:20px;
- font-size:10.5px;
- -webkit-transition:0.7s ease-in;
- -moz-transition:0.7s ease-in;
- -o-transition:0.7s ease-in;
- }
- .c:hover {
- transform:rotate(540deg);
- -webkit-transition:0.7s ease-in;
- -moz-transition:0.7s ease-in;
- -o-transition:0.7s ease-in;
- }
- .c i:hover {
- cursor:pointer;
- }
- /*-- containers --*/
- #container {
- width:500px; /* you have to edit positioning of the question bubbles if you change this */
- margin:auto;
- }
- /*-- header --*/
- .header {
- position:relative;
- width:100%;
- margin-top:15%;
- height:100px;
- text-align:center;
- padding-left:14px;
- padding-right:14px;
- }
- .header b {
- font-family:'Playfair Display', sans-serif;
- letter-spacing:1px;
- text-transform:lowercase;
- font-size:16px;
- font-weight:600;
- margin-right:26px;
- z-index:999;
- }
- .header a {
- background:#cfedeb; /* header link color */
- border:1px solid #cfedeb; /* change this to the same color */
- display:inline-block;
- width:8px;
- height:8px;
- margin-right:28px;
- margin-bottom:1px;
- border-radius:2px;
- -webkit-transition:0.7s ease-in;
- -moz-transition:0.7s ease-in;
- -o-transition:0.7s ease-in;
- }
- .header a:hover {
- background:#fff; /* header link hover color */
- transform:rotate(540deg);
- -webkit-transition:0.7s ease-in;
- -moz-transition:0.7s ease-in;
- -o-transition:0.7s ease-in;
- }
- /*-- faq section --*/
- #faq {
- position:relative;
- margin-top:-30px;
- }
- .question, .answer {
- position:relative;
- width:300px;
- border-radius:15px;
- padding:10px 15px;
- margin-bottom:25px;
- }
- .question {
- background:#cfedeb; /* question bg */
- margin-left:calc(500px - 330px); /* container width - (chat bubble width + second padding value *2) */
- }
- .question a {
- color:#444;
- border-bottom:1.5px solid #eee; /* question link border */
- }
- .question a:hover {
- background:#eee; /* question link hover */
- }
- .answer {
- background:#eee; /* answer bg */
- margin-left:0;
- }
- .answer a {
- color:#444;
- border-bottom:1.5px solid #cfedeb; /* answer link border */
- }
- .answer a:hover {
- background:#cfedeb; /* answer link hover */
- }
- .answer blockquote {
- padding-left:10px;
- border-left:1px solid #cfedeb;
- margin:0px;
- }
- /* don't touch these two except the colors */
- .question:after {
- content:'';
- bottom: 0;
- position:absolute;
- left:85%;
- width:0;
- height:0;
- margin-left:-10px;
- margin-bottom:-20px;
- border:20px solid transparent;
- border-bottom:0;
- border-right:0;
- border-top-color:#cfedeb; /* make this the same color as the question background */
- }
- .answer:after {
- content:'';
- position: absolute;
- bottom:0;
- right:85%;
- width:0;
- height:0;
- margin-left:-10px;
- margin-bottom:-20px;
- border: 20px solid transparent;
- border-bottom:0;
- border-left:0;
- border-top-color:#eee; /* make this the same color as the answer background */
- }
- h1 {
- text-align:center;
- font-family:'Karla', sans-serif;
- text-transform:lowercase;
- font-size:12.5px; /* subtitle font size */
- font-weight:500;
- margin-bottom:25px;
- letter-spacing:0.5px;
- }
- /*-- askbox --*/
- #ask {
- margin:70px auto;
- }
- #ask h1 {
- font-weight:500;
- font-style:italic;
- font-family:'Karla', sans-serif;
- text-align:left;
- letter-spacing:0.5px;
- font-size:16px;
- margin-bottom:5px;
- }
- .note {
- text-align:left;
- margin-bottom:10px;
- }
- .note li {
- list-style:none;
- display:block;
- margin-left:8px;
- }
- .note li:before {
- content:"✓";
- margin-right:7px;
- color:#cfedeb; /* check mark color */
- font-weight:700;
- }
- .note li2 {
- list-style:none;
- display:block;
- margin-left:8px;
- }
- .note li2:before {
- content:"✗";
- margin-right:7px;
- color:#cfedeb; /* ex mark color */
- font-weight:700;
- }
- </style>
- </head>
- <body>
- <div id="container">
- <!------------------------------ header start --------------------------------->
- <div class="header">
- <!-- if you add or delete links you'll have to adjust some margins - send an ask if you need help -->
- <!-- links on the left -->
- <a title="index" href="/"></a>
- <a title="link 1" href=""></a>
- <a title="link 2" href=""></a>
- <!-- links on the left end -->
- <b>frequently asked questions</b>
- <!-- links on the right -->
- <a title="link 3" href=""></a>
- <a title="link 4" href=""></a>
- <a title="credit" target="_blank" href="http://divinethemes.tumblr.com"></a>
- <!-- links on the right end -->
- </div>
- <!-------------------------------- header end --------------------------------->
- <!----------------------------- faq section start -----------------------------> <div id="faq">
- <!-- q&a 1 -->
- <div class="question">
- <b>bold</b>, <i>italic</i>, <small>small</small>, <s>strikethrough</s>, <a title="link title" href="/">link</a> <Br>
- <blockquote>blockquote</blockquote>
- < br > without the space to go to the next line
- <p>maybe a paragraph</p>
- <li>or</li>
- <li>a</li>
- <li>list</li>
- </div>
- <div class="answer">
- thank you for using this! ilu have a great day and remember you can always send me an ask if you need help
- <p>your answers and questions can be any length, and you can add an unlimited amount of them</p>
- </div>
- <h1>subtitle</h1> <!-- use as a subtitle to categorize if you want - it's supposed to act as the date and time in text convos -->
- <!-- q&a 2 -->
- <div class="question">question bla bla bla bla</div>
- <div class="answer">answer bla bla bla</div>
- <!-- q&a 3 -->
- <div class="question">question bla bla bla bla</div>
- <div class="answer">answer bla bla bla</div>
- <!-- q&a 4 -->
- <div class="question">question bla bla bla bla</div>
- <div class="answer">answer bla bla bla</div>
- <!-- feel free to add more! -->
- </div>
- <!------------------------------ faq section end ----------------------------->
- <!-------------------------------- ask start --------------------------------->
- <div id="ask">
- <h1>type a message...</h1>
- <!-- note -->
- <div class="note">put a note or something here if you want
- <li>check mark for something like "requests open"</li>
- <li2>requests closed?</li2>
- </div>
- <!-- askbox // no need to insert your url! -->
- <p><iframe frameborder="0" scrolling="no" width="100%" height="190px" src="http://www.tumblr.com/ask_form/{Name}.tumblr.com" style="background-color:transparent; overflow:hidden;" id="ask_form"></iframe></p>
- </div>
- <!--------------------------------- ask end ---------------------------------->
- </div>
- <!-- end container -->
- <!-- credit // no touch you mortal -->
- <div class="c"><a title="divine themes" target="_blank" href="http://divinethemes.tumblr.com"><i class="fas fa-crown"></i></a>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment