Advertisement
southcodes

FAQ #1 IGNORANCE

Sep 4th, 2020 (edited)
972
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 7.71 KB | None | 0 0
  1. <!--
  2.  
  3.     faq page #1 'IGNORANCE' by skye southcodes.tumblr.com
  4.     modify as you please but please do not touch the credit
  5.     any errors? have questions? need help? feel free to contact me: southcodes.tumblr.com/inbox
  6.  
  7.     - honeybee icons by https://honeybee.suiomi.com/
  8.     - normalize css by https://github.com/necolas
  9.     - fonts by google
  10.  
  11. -->
  12.  
  13. <!DOCTYPE html>
  14. <html>
  15. <head>
  16.     <title>FAQ | {title}</title>
  17.  
  18.     <meta name="viewport" content="width=device-width">
  19.  
  20.     <link rel="shortcut icon" href="{favicon}">
  21.     <meta name="description" content="{MetaDescription}"/>
  22.    
  23.     <!-- fonts -->
  24.     <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,600,700|Montserrat:600" rel="stylesheet">
  25.     <!-- normalize css -->
  26.     <link href="https://necolas.github.io/normalize.css/7.0.0/normalize.css" rel="stylesheet">
  27.     <!-- honeybee icons --> <link rel="stylesheet" href="https://solrainha.github.io/honeybee/honeybee.css" >
  28.  
  29. <style type="text/css">
  30.  
  31. body, figure{margin: 0;padding: 0}
  32. html{font-size: 14px}
  33. body {font: 1rem 'Open Sans', sans-serif;color:#333}
  34. a {text-decoration: none;
  35.     color:#87b9e6;    /* links color */
  36. }
  37. a:hover {color:#36608c;     /* links hover color */
  38. }
  39.  
  40.  
  41. /*  header  */
  42.  
  43. header {
  44.     width: 29%;
  45.     max-width: 17rem;
  46.     box-sizing: border-box;
  47.     display: inline-block;
  48.     margin: 8rem 7rem 0 0;
  49. }
  50.  
  51. h1{
  52.     font: 600 .9rem 'Montserrat', sans-serif;
  53.     text-align: right;
  54.     text-transform: uppercase;
  55.     letter-spacing: .03rem;
  56.     color: #87b9e6;    /* title color */
  57.     margin-bottom: 1.2rem
  58. }
  59.  
  60. .himg {
  61.     width: 100%;
  62.     height: 4rem;
  63.     object-fit: cover;
  64.     object-position: center center;
  65.     border-radius: 4px;
  66.     display: block;
  67.     margin-bottom: 1.2rem
  68. }
  69.  
  70. #navi {
  71.     width: 16%;
  72.     display: inline-block;
  73.     vertical-align: top;
  74.     text-align:right;
  75.     font-weight: 700;
  76.     font-size: 1.2rem;
  77.     box-sizing: border-box;font-family: 'Montserrat', sans-serif
  78. }
  79.  
  80. #navi ul li {margin-bottom: 1rem}
  81.  
  82. #desc {
  83.     display: inline-block;
  84.     vertical-align: top;
  85.     width: 82%;
  86.     box-sizing: border-box;
  87.     padding: .8rem;
  88.     font-size: .9rem;
  89.     letter-spacing: .03rem;
  90.     text-align: justify;
  91.     line-height: 170%;
  92.     background: #fcfcfc;
  93.     border:1px solid #eee
  94.  
  95. }
  96. /*  nav  */
  97.  
  98. #navi ul,#navi li {list-style-type:none;margin:0;padding:0;}
  99.  
  100. #inboxlink {
  101.     font: 400 .9rem 'Open Sans', sans-serif;
  102.     text-align: right;
  103.     font-style: italic;
  104.     letter-spacing: .03rem; line-height: 170%
  105. }
  106.  
  107. main {
  108.     width: calc(69% - 7rem);
  109.     max-width: 35rem;
  110.     display: inline-block;
  111.     vertical-align: top;
  112.     box-sizing: border-box;
  113.     margin: 3rem auto 0;
  114. }
  115.  
  116. .qbox {
  117.     width: 100%;
  118.     margin: 4rem 0
  119. }
  120.  
  121. .q {
  122.  
  123.     background: #edf5fc; /* question background color */
  124.  
  125. padding: 1rem;margin-bottom: 2rem;position: relative;border:1px solid lightblue;font-size: 1.1rem;font-weight: 600;line-height: 180%;}
  126.  
  127. .q:before {
  128.     content: '';
  129.     background: #ddd;
  130.     width: 1px;
  131.     height: 5rem;
  132.     position: absolute;
  133.     bottom:-2rem;
  134.     left:50%;
  135.     z-index: -1
  136. }
  137.  
  138. .q:after {
  139.     content: '\eb30';
  140.     font-family:'honeybee';
  141.     color: #badaf7;    /* question mark symbol color */
  142.     background: white;
  143.     font-size: 3rem;
  144.     border-radius: 100%;
  145.     position: absolute;
  146.     right: -1.5rem;top: -1rem;
  147. }
  148.  
  149. .ans {
  150.    
  151.     background: #fafafa; /* answer background color */
  152.  
  153. padding: 1rem;border:1px solid #ddd;font-size: .9rem;letter-spacing: .03rem;line-height: 180%}
  154.  
  155. /* inbox */
  156.  
  157. #inbox {margin-bottom: 3rem}
  158.  
  159. #inboxnote {
  160.     padding:0 1rem;
  161.     letter-spacing: .03rem;
  162.     line-height: 170%;
  163.     background: #fcfcfc;
  164.     border:1px solid #eee;}
  165.  
  166. #inboxtitle {font: 600 1.1rem 'Montserrat', sans-serif;text-align: center;}
  167.  
  168. /* DONT TOUCH */
  169. #sc {z-index:9999;position:fixed;bottom:1.5rem;right:2rem;line-height:0%;padding:1rem .5rem;font-size:.8rem;background:white;font-family:'Open Sans', sans-serif;color:#777;}
  170.  
  171. /* MEDIA */
  172.  
  173. @media only screen and (min-width:0px) and (max-width:740px) {
  174.  
  175.  
  176.     header,#desc,#navi {
  177.         width: 100%;
  178.         display: block;
  179.         max-width: 30rem;
  180.         margin:1rem auto;
  181.     }
  182.  
  183.  
  184.     header {
  185.         margin: 7rem auto
  186.     }
  187.  
  188.     #navi ul li {
  189.         display: inline-block;
  190.         margin: 0 .8rem
  191.     }
  192.  
  193.     main {
  194.         width: 100%;
  195.         max-width: 40rem;
  196.         margin: 4rem auto;
  197.         display: block
  198.     }
  199.  
  200. }
  201. </style>
  202.    
  203. </head>
  204. <body>
  205.  
  206.     <div style="margin: 0 auto;width: 90%;max-width:65rem">
  207.  
  208. <header>
  209.  
  210.     <h1>
  211.         frequently asked questions
  212.     </h1>
  213.  
  214.     <img class="himg" src="SIDEBAR IMAGE LINK"/>
  215.  
  216.     <article id="desc">
  217.  
  218.         description goes here
  219.  
  220.     </article>
  221.  
  222.     <nav id="navi"><ul>
  223.         <li><a href="LINK URL" title="LINK NAME 1">.O1</a></li>
  224.        
  225.         <li><a href="LINK URL" title="LINK NAME 2">.O2</a></li>
  226.        
  227.         <li><a href="LINK URL" title="LINK NAME 3">.O3</a></li>
  228.        
  229.         <li><a href="LINK URL" title="LINK NAME 4">.O4</a></li>
  230.     </ul></nav>
  231.  
  232.     <p id="inboxlink">
  233.         <a href="#inbox" class="achl">
  234.            
  235.             Is your question not answered here?
  236.             <br>
  237.             Send me an ask!
  238.  
  239.         </a></p>
  240.  
  241. </header>
  242.  
  243.  
  244.  
  245. <main>
  246.  
  247. <!--
  248.    
  249.         QUESTION AND ANSWER TEMPLATE:
  250.  
  251.          <article class="qbox">
  252.             <div class="q">
  253.                 question
  254.             </div>
  255.  
  256.             <div class="ans">
  257.                 answer
  258.             </div>
  259.         </article>
  260.  
  261.  
  262.  -->
  263.        
  264.         <article class="qbox">
  265.             <div class="q">
  266.                 question example 1
  267.             </div>
  268.  
  269.             <div class="ans">
  270.                 answer example 1
  271.             </div>
  272.         </article>
  273.  
  274.  
  275.        
  276.         <article class="qbox">
  277.             <div class="q">
  278.                 question example 2
  279.             </div>
  280.  
  281.             <div class="ans">
  282.                 answer example 2
  283.             </div>
  284.         </article>
  285.  
  286.  
  287.  
  288.        
  289.         <article class="qbox">
  290.             <div class="q">
  291.                 question example 3
  292.             </div>
  293.  
  294.             <div class="ans">
  295.                 answer example 3
  296.             </div>
  297.         </article>
  298.  
  299.  
  300. <!-- this is the inbox at the end of the page, if you dont want it, delete everything up until 'end of inbox' -->
  301.  
  302.         <article id="inbox">
  303.  
  304.             <div id="inboxnote">
  305.                
  306.                 <!-- here goes the text on top of the inbox box. if you don't want it, delete from '<div id="inboxnote">' above, until 'end of inbox note'
  307.                
  308.                please wrap your paragraph between <p> and </p> -->
  309.  
  310.                <h2 id="inboxtitle">
  311.                    Inbox note title
  312.                </h2>
  313.  
  314.                <p>Here you can write guideliness, rules, notes, or add whatever you'd like </p>
  315.  
  316.                 <p>Another paragraph</p>
  317.  
  318.             </div>      <!-- end of inbox note -->
  319.  
  320.             <iframe id="ask_form" style="background-color: transparent; overflow: hidden;" src="http://www.tumblr.com/ask_form/{name}.tumblr.com" frameborder="0" scrolling="no" width="100%" height="200"> </iframe>
  321.         </article>  <!-- end of inbox  -->
  322.  
  323. </main>
  324.  
  325. </div>
  326.  
  327.  
  328. <!-- DON'T TOUCH -->
  329. <a id="sc" href="https://southcodes.tumblr.com" target="_blank" title="southcodes">SC</a>
  330.  
  331. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  332. <script type="text/javascript">
  333. $(document).ready( function() {
  334.    $('.achl').click(function(){
  335.    $('html, body').animate({
  336.    scrollTop: $( $(this).attr('href') ).offset().top
  337.    }, 450); return false;});
  338. })
  339. </script>
  340. </body>
  341. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement