Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- faq page #1 'IGNORANCE' by skye southcodes.tumblr.com
- modify as you please but please do not touch the credit
- any errors? have questions? need help? feel free to contact me: southcodes.tumblr.com/inbox
- - honeybee icons by https://honeybee.suiomi.com/
- - normalize css by https://github.com/necolas
- - fonts by google
- -->
- <!DOCTYPE html>
- <html>
- <head>
- <title>FAQ | {title}</title>
- <meta name="viewport" content="width=device-width">
- <link rel="shortcut icon" href="{favicon}">
- <meta name="description" content="{MetaDescription}"/>
- <!-- fonts -->
- <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,600,700|Montserrat:600" rel="stylesheet">
- <!-- normalize css -->
- <link href="https://necolas.github.io/normalize.css/7.0.0/normalize.css" rel="stylesheet">
- <!-- honeybee icons --> <link rel="stylesheet" href="https://solrainha.github.io/honeybee/honeybee.css" >
- <style type="text/css">
- body, figure{margin: 0;padding: 0}
- html{font-size: 14px}
- body {font: 1rem 'Open Sans', sans-serif;color:#333}
- a {text-decoration: none;
- color:#87b9e6; /* links color */
- }
- a:hover {color:#36608c; /* links hover color */
- }
- /* header */
- header {
- width: 29%;
- max-width: 17rem;
- box-sizing: border-box;
- display: inline-block;
- margin: 8rem 7rem 0 0;
- }
- h1{
- font: 600 .9rem 'Montserrat', sans-serif;
- text-align: right;
- text-transform: uppercase;
- letter-spacing: .03rem;
- color: #87b9e6; /* title color */
- margin-bottom: 1.2rem
- }
- .himg {
- width: 100%;
- height: 4rem;
- object-fit: cover;
- object-position: center center;
- border-radius: 4px;
- display: block;
- margin-bottom: 1.2rem
- }
- #navi {
- width: 16%;
- display: inline-block;
- vertical-align: top;
- text-align:right;
- font-weight: 700;
- font-size: 1.2rem;
- box-sizing: border-box;font-family: 'Montserrat', sans-serif
- }
- #navi ul li {margin-bottom: 1rem}
- #desc {
- display: inline-block;
- vertical-align: top;
- width: 82%;
- box-sizing: border-box;
- padding: .8rem;
- font-size: .9rem;
- letter-spacing: .03rem;
- text-align: justify;
- line-height: 170%;
- background: #fcfcfc;
- border:1px solid #eee
- }
- /* nav */
- #navi ul,#navi li {list-style-type:none;margin:0;padding:0;}
- #inboxlink {
- font: 400 .9rem 'Open Sans', sans-serif;
- text-align: right;
- font-style: italic;
- letter-spacing: .03rem; line-height: 170%
- }
- main {
- width: calc(69% - 7rem);
- max-width: 35rem;
- display: inline-block;
- vertical-align: top;
- box-sizing: border-box;
- margin: 3rem auto 0;
- }
- .qbox {
- width: 100%;
- margin: 4rem 0
- }
- .q {
- background: #edf5fc; /* question background color */
- cursor:pointer;padding: 1rem;margin-bottom: 2rem;position: relative;border:1px solid lightblue;font-size: 1.1rem;font-weight: 600;line-height: 180%;}
- .q:after {
- content: '\eb30';
- font-family:'honeybee';
- color: #badaf7; /* question mark symbol color */
- background: white;
- font-size: 3rem;
- border-radius: 100%;
- position: absolute;
- right: -1.5rem;top: -1rem;
- }
- .ans {
- position: relative;
- display: none;
- background: #fafafa; /* answer background color */
- padding: 1rem;border:1px solid #ddd;font-size: .9rem;letter-spacing: .03rem;line-height: 180%}
- .ans:before {
- content: '';
- background: #ddd;
- width: 1px;
- height: 5rem;
- position: absolute;
- left:50%;
- top: -5rem;
- z-index: -1;
- }
- /* inbox */
- #inbox {margin-bottom: 3rem}
- #inboxnote {
- padding:0 1rem;
- letter-spacing: .03rem;
- line-height: 170%;
- background: #fcfcfc;
- border:1px solid #eee;}
- #inboxtitle {font: 600 1.1rem 'Montserrat', sans-serif;text-align: center;}
- /* DONT TOUCH */
- #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}
- /* MEDIA */
- @media only screen and (min-width:0px) and (max-width:740px) {
- header,#desc,#navi {
- width: 100%;
- display: block;
- max-width: 30rem;
- margin:1rem auto;
- }
- header {
- margin: 3rem auto
- }
- #navi ul li {
- display: inline-block;
- margin: 0 .8rem
- }
- main {
- width: 100%;
- max-width: 40rem;
- margin: 4rem auto;
- display: block
- }
- }
- </style>
- </head>
- <body>
- <div style="margin: 0 auto;width: 90%;max-width:65rem">
- <header>
- <h1>
- frequently asked questions
- </h1>
- <img class="himg" src="TOPBAR IMAGE LINK"/>
- <article id="desc">
- description goes here
- </article>
- <nav id="navi"><ul>
- <li><a href="LINK URL" title="LINK NAME">.O1</a></li>
- <li><a href="LINK URL" title="LINK NAME">.O2</a></li>
- <li><a href="LINK URL" title="LINK NAME">.O3</a></li>
- <li><a href="LINK URL" title="LINK NAME">.O4</a></li>
- </ul></nav>
- <p id="inboxlink">
- <a href="#inbox" class="achl">
- Is your question not answered here?
- <br>
- Send me an ask!
- </a></p>
- </header>
- <main>
- <!--
- QUESTION AND ANSWER TEMPLATE:
- <article class="qbox">
- <div class="q">
- question
- </div>
- <div class="ans">
- answer
- </div>
- </article>
- -->
- <article class="qbox">
- <div class="q">
- question example 1
- </div>
- <div class="ans">
- answer example 1
- </div>
- </article>
- <article class="qbox">
- <div class="q">
- question example 2
- </div>
- <div class="ans">
- answer example 2
- </div>
- </article>
- <article class="qbox">
- <div class="q">
- question example 3
- </div>
- <div class="ans">
- answer example 3
- </div>
- </article>
- <!-- this is the inbox at the end of the page, if you dont want it, delete everything up until 'end of inbox' -->
- <article id="inbox">
- <div id="inboxnote">
- <!-- 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'
- please wrap your paragraph between <p> and </p> -->
- <h2 id="inboxtitle">
- Inbox note title
- </h2>
- <p>Here you can write guideliness, rules, notes, or add whatever you'd like </p>
- <p>Another paragraph</p>
- </div> <!-- end of inbox note -->
- <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>
- </article> <!-- end of inbox -->
- </main>
- </div>
- <!-- DON'T TOUCH -->
- <a id="sc" href="https://southcodes.tumblr.com" target="_blank" title="southcodes">SC</a>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
- <script type="text/javascript">
- $(document).ready( function() {
- $('.achl').click(function(){
- $('html, body').animate({
- scrollTop: $( $(this).attr('href') ).offset().top
- }, 450); return false;});
- $('.q').click(function() {
- $(this).siblings('.ans').slideToggle('show');
- });
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement