pages/faq-pages/01-faq

645 lines
14 KiB
Plaintext

<!------------------------------------------------------------------
FAQ Page [01]
Made by glenthemes
Initial release: 2019/04/08
Last updated: 2023/10/17
What's new:
✱ cleaned up the code a little
✱ new guide!
TERMS OF USE:
1) Do not remove the page credit.
2) Do not repost/redistribute my themes.
3) Do not take parts of the code and use it as your own.
4) Do not use my themes as a base code.
5) Do not mix my themes together.
Please read the guide!
↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
https://docs.google.com/presentation/d/1GCoSQkmeSqPe4sgVbh6attsJ8q064Z-pIzJHBQWexSQ/edit?usp=sharing
------------------------------------------------------------------->
<!DOCTYPE html>
<html lang="en">
<head>
<title>{Title}</title>
<link rel="shortcut icon" href="{Favicon}">
<!--------------------JAVASCRIPTS-------------------->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
<script src="//static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
<script>
(function($){
$(document).ready(function(){
$("a[title]").style_my_tooltips({
tip_follows_cursor:true,
tip_delay_time:0,
tip_fade_speed:250,
attribute:"title"
});
});
})(jQuery);
</script>
<link href="https://fonts.googleapis.com/css?family=Inconsolata|Tenor+Sans|Chivo+Mono:300" rel="stylesheet">
<script src="//static.tumblr.com/gtjt4bo/jxSs2cboc/glenplayer0.js"></script>
<script src="//glen-themes.gitlab.io/faq-pages/01/tears-of-nines.js"></script>
<!-------------------------------------------------------------------->
<style type="text/css">
@font-face { font-family: "canela"; src: url('//glen-assets.github.io/fonts/Canela-Regular-Web.ttf'); }
/*--------------------TOOLTIPS--------------------*/
#s-m-t-tooltip {
padding:5px 10px;
margin:20px;
background-color:var(--Tooltip-Background);
border:1px solid var(--Tooltip-Border);
font-family:"tenor sans";
font-size:var(--Tooltip-Font-Size);
letter-spacing:.5px;
text-transform:uppercase;
color:var(--Tooltip-Text-Color);
z-index:99;
max-width:40vw;
}
/*--------------------TUMBLR CONTROLS--------------------*/
iframe#tumblr_controls, .iframe-controls--desktop {
top:8px!important;
right:8px!important;
position:fixed!important;
transform:scale(0.8,0.8);
-webkit-transform:scale(0.8,0.8);
transform-origin:100% 0;
opacity:0.9;
z-index:999999!important;
}
.tmblr-iframe--follow-teaser, .follow-teaser, .iframe-controls--phone-mobile, .tmblr-iframe--app-cta-button {
display:none!important;
visibility:hidden!important;
height:0!important;
}
/*--------------------SCROLLBAR--------------------*/
::-webkit-scrollbar {
width:13px;
height:13px;
background-color:var(--Background);
}
::-webkit-scrollbar-thumb {
border-top:8px solid var(--Background);
border-right:6px solid var(--Background);
border-bottom:8px solid var(--Background);
border-left:6px solid var(--Background);
background-color:var(--Scrollbar-Thumb);
}
::-webkit-scrollbar-track {
border-top:8px solid var(--Background);
border-right:6px solid var(--Background);
border-bottom:8px solid var(--Background);
border-left:6px solid var(--Background);
background-color:var(--Scrollbar-Track);
}
::-webkit-scrollbar-corner {
background:var(--Background);
}
/*----------- CUSTOMIZATION OPTIONS -----------*/
:root {
--Background:#10121F;
--Screen-Margin:100px;
/*----- MAIN TITLE -----*/
--Title-Size:21px;
--Title-Color:#d8d4d6;
--Title-Text-Shadow:#10121F;
--Title-Side-Gaps:20px;
--Title-Bottom-Gap:24px;
--Title-Border:#d8d4d6;
/*----- Q&A CONTAINER -----*/
--FAQ-Section-Top-Gap:80px;
--Container-Width:650px;
/*----- QUESTIONS -----*/
--Question-Top-Gap:30px;
--Q:#BEB8BB;
--Q-Size:22px;
--Q-Text-Shadow:#10121F;
--Question-Lines:#8F8A8C;
--Question-Text:#BEB8BB;
--Question-Text-Shadow:#10121F;
/*----- ANSWERS -----*/
--Answer-Top-Gap:30px;
--Answer-Lines:#8F8A8C;
--Answer-Text:#BEB8BB;
--Answer-Text-Shadow:#10121F;
--A:#BEB8BB;
--A-Size:22px;
--A-Text-Shadow:#10121F;
/*----- TEXT FORMATTING -----*/
--Bold:#e6c6a3;
--Italic:#dabca4;
--Links:#c0b492;
--Links-Underline:#666;
/*----- MUSIC PLAYER -----*/
--Music-Player-Edge-Distance:20px;
--Music-Player-Color:#BEB8BB;
--Music-Player-Buttons-Size:10px;
--Music-Player-Note-Icon-Size:12px;
--Music-Player-Text-Size:11px;
--Music-Player-Text-Shadow:#10121F;
--Music-Player-Gaps:9px;
/*---- CUSTOM LINKS (LEFT) ----*/
--Custom-Links-Font-Size:10px;
--Custom-Links-Color:#BEB8BB;
/*----- SCROLLBAR -----*/
/* doesn't work on firefox */
--Scrollbar-Track:#393738;
--Scrollbar-Thumb:#989395;
/*----- TOOLTIPS -----*/
/* hover text */
--Tooltip-Background:#10121F;
--Tooltip-Border:#686466;
--Tooltip-Font-Size:9px;
--Tooltip-Text-Color:#BEB8BB;
}
/*--------------------BASICS--------------------*/
body {
/*--- PAGE BACKGROUND COLOR ---*/
background-color:#10121F;
/*--- PAGE BACKGROUND IMAGE ---*/
background-image:url('//rhizo.gitlab.io/random/images/iMrKRSd.png');
background-attachment:fixed;
background-repeat:no-repeat;
background-position:center;
background-size:cover;
color:#888;
cursor:normal;
font-family:inconsolata;
line-height:1.6em;
font-size:12px;
text-align:left;
}
blockquote {
padding-left:10px;
margin-left:5px;
border-left:1px solid;
border-color:#aaa;
margin:10px;
}
a {
color:var(--Links);
text-decoration:none;
}
a, .sq {
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
}
a[title] > * {
pointer-events:none;
}
b, strong {
color:var(--Bold);
}
i, em {
color:var(--Italic);
}
pre, code {
white-space:pre-wrap;
display:block;
}
p:first-child {margin-top:0px;}
p:last-child {margin-bottom:0px;}
/*--------------------CONTAINER--------------------*/
#cont-h-1 {
position:absolute;
top:0;left:0;right:0;
margin:0 auto;
height:100vh;
text-align:center;
}
#cont-h-2 {display:inline-block;}
#box {margin-top:var(--Screen-Margin);}
/*-----TITLE-----*/
#title-wrap, #title {
position:relative;
}
#title-wrap {
display:inline-block;
padding:0 calc((var(--Title-Side-Gaps) * 2) + var(--Title-Size));
}
#title-wrap:after {
content:"";
position:absolute;
margin-bottom:calc(0px - var(--Title-Bottom-Gap));
bottom:0;left:0;
width:100%;
height:1px;
background:-webkit-linear-gradient(left, transparent 0%, var(--Title-Border) 50%, transparent 100%);
}
#title {
font-family:canela;
font-size:var(--Title-Size);
text-transform:uppercase;
letter-spacing:3px;
color:var(--Title-Color);
text-shadow:1px 1px 1px var(--Title-Text-Shadow);
}
#title:before {
content:".:";
position:absolute;
right:100%;
margin-right:var(--Title-Side-Gaps);
bottom:0;
}
#title:after {
content:":.";
position:absolute;
left:100%;
margin-left:var(--Title-Side-Gaps);
bottom:0;
}
/*-----Q&A MAIN CONTAINER-----*/
#contwrap {
padding-top:var(--Title-Bottom-Gap);
margin-bottom:var(--FAQ-Section-Top-Gap);
width:var(--Container-Width);
}
#contwrap > .one-question {
max-width:calc((var(--Container-Width) / 2) + 70px);
}
#contwrap > .one-answer {
width:calc((var(--Container-Width) / 2) + 70px);
}
#contwrap a {
color:var(--Links);
padding-bottom:0.25em;
border-bottom:1px solid var(--Links-Underline);
}
/*-----QUESTION STYLING-----*/
.one-question {
margin-top:var(--Question-Top-Gap);
display:flex;
}
.q-marker {
margin-top:12px;
font-family:canela;
text-transform:uppercase;
font-size:var(--Q-Size);
color:var(--Q);
text-shadow:1px 1px 1px var(--Q-Text-Shadow);
}
.q-marker[dot]:after {
content:".";
margin-left:5px;
}
.line-beef {
margin-top:22px;
margin-left:14px;
width:18px;
height:2px;
background:var(--Question-Lines);
}
.q-wrap {display:table;}
.cherry {
width:10px;
border-top:2px solid var(--Question-Lines);
border-bottom:2px solid var(--Question-Lines);
border-left:2px solid var(--Question-Lines);
display:table-cell;
}
.question {
padding:12px 10px;
font-family:inconsolata;
font-size:13px;
color:var(--Question-Text);
text-shadow:1px 1px 1px var(--Question-Text-Shadow);
line-height:1.8em;
text-align:left;
display:table-cell;
}
.donut {
width:10px;
border-top:2px solid var(--Question-Lines);
border-bottom:2px solid var(--Question-Lines);
border-right:2px solid var(--Question-Lines);
display:table-cell;
}
/*-----ANSWER STYLING-----*/
.one-answer {
margin-top:var(--Answer-Top-Gap);
margin-left:calc((var(--Container-Width) / 2) - 70px);
display:flex;
}
.a-wrap {
display:table;
width:100%;
}
.pancake {
width:10px;
border-top:2px solid var(--Answer-Lines);
border-bottom:2px solid var(--Answer-Lines);
border-left:2px solid var(--Answer-Lines);
display:table-cell;
}
.answer {
padding:12px 10px;
font-family:inconsolata;
font-size:13px;
color:var(--Answer-Text);
text-shadow:1px 1px 1px var(--Answer-Text-Shadow);
line-height:1.8em;
text-align:center;
display:table-cell;
}
.queen {
width:10px;
border-top:2px solid var(--Answer-Lines);
border-bottom:2px solid var(--Answer-Lines);
border-right:2px solid var(--Answer-Lines);
display:table-cell;
}
.line-beer {
align-self:flex-end;
-webkit-align-self:flex-end;
margin-bottom:22px;
margin-right:16px;
width:18px;
height:2px;
background:var(--Answer-Lines);
}
.a-marker {
align-self:flex-end;
-webkit-align-self:flex-end;
margin-bottom:12px;
font-family:canela;
text-transform:uppercase;
font-size:var(--A-Size);
color:var(--A);
text-shadow:1px 1px 1px var(--A-Text-Shadow);
}
.a-marker[dot]:after {
content:".";
margin-left:5px;
}
/*-----CUSTOM LINKS-----*/
#cl-a {
position:fixed;
top:0;left:0;margin-left:5vw;
height:100vh;
display:table;
z-index:9;
}
#cl-b {
display:table-cell;
vertical-align:middle;
}
.customlink {
padding:10px 0;
display:flex;
color:var(--Custom-Links-Color);
}
.sq {
align-self:center;
-webkit-align-self:center;
width:10px;
height:10px;
border:1px solid var(--Custom-Links-Color);
border-radius:3px;
}
.customlink:hover .sq {background:var(--Custom-Links-Color);}
.sq-a {
margin-left:15px;
margin-top:1px;
font-family:canela;
text-transform:uppercase;
font-size:var(--Custom-Links-Font-Size);
letter-spacing:2px;
}
/*-------MUSIC PLAYER-------*/
[music-player]{
position:fixed;
bottom:0;margin-bottom:var(--Music-Player-Edge-Distance);
left:0;margin-left:var(--Music-Player-Edge-Distance);
color:var(--Music-Player-Color);
z-index:10;
}
.note-icon {
transform:perspective(0);
margin-top:-0.5px;
}
.note-icon svg {
display:block;
width:var(--Music-Player-Note-Icon-Size);
height:var(--Music-Player-Note-Icon-Size);
line-height:0;
}
.music-title {
font-family:"Chivo Mono";
font-size:var(--Music-Player-Text-Size);
letter-spacing:.3px;
text-shadow:1px 1px 1px var(--Music-Player-Text-Shadow);
}
</style>
</head>
<body>
<div id="cl-a">
<div id="cl-b">
<!-----CUSTOM LINKS----->
<a class="customlink" href="/">
index
</a>
<a class="customlink" href="/ask">
message
</a>
<a class="customlink" href="/archive">
archive
</a>
<!--PAGE CREDIT. PLS DO NOT REMOVE TY! :)-->
<a class="customlink" href="//glenthemes.tumblr.com" title="page by glenthemes">
credit
</a>
</div><!--cl-b--><!--do not delete this line-->
</div><!--cl-a--><!--do not delete this line-->
<!-------MUSIC PLAYER------->
<div music-player btn-color="var(--Music-Player-Color)" btn-size="var(--Music-Player-Buttons-Size)" gap="var(--Music-Player-Gaps)" btn-style="filled">
<div music-btn>
<div btn-play></div>
<div btn-pause hidden></div>
</div>
<!-----MUSIC PLAYER SONG FILE----->
<!--READ THIS: linktr.ee/direct_file_links-->
<audio src="https://rhizo.gitlab.io/nier/Sound_of_Crumbling_Lies.mp3" volume="100%" type="audio"></audio>
<div class="note-icon"></div>
<div class="music-title">
<!-----MUSIC PLAYER TITLE----->
Sound of Crumbling Lies
</div>
</div><!--end music-player-->
<div id="cont-h-1">
<div id="cont-h-2">
<div id="box">
<div id="title-wrap">
<div id="title">
<!-----MAIN TITLE----->
Questions
</div>
</div>
<div id="contwrap">
<!-----QUESTIONS AND ANSWERS----->
<!-- start a question -->
<div class="one-question">
<div class="q-marker" dot>Q</div>
<div class="question">
This is a sample question.
<br/> <!--line break-->
<b>bold</b>
<br/> <!--line break-->
<i>italic</i>
<br/> <!--line break-->
<a href="https://images.google.com">sample link</a>
</div><!--don't delete this line-->
</div><!--end a question-->
<!-- start an answer -->
<div class="one-answer">
<div class="answer">
And this is an answer
</div><!--don't delete this line-->
<div class="a-marker" dot>A</div>
</div><!--end an answer-->
<!--=========================================-->
<!-- start a question -->
<div class="one-question">
<div class="q-marker" dot>Q</div>
<div class="question">
This is a sample question.
</div><!--don't delete this line-->
</div><!--end a question-->
<!-- start an answer -->
<div class="one-answer">
<div class="answer">
And this is an answer
</div><!--don't delete this line-->
<div class="a-marker" dot>A</div>
</div><!--end an answer-->
<!--=========================================-->
<!--do not delete below this line-->
</div><!--contwrap-->
</div><!--box-->
</div><!--cont-h-2-->
</div><!--cont-h-1-->
</body>
</html>