Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en" data-theme="light">
- <head>
- <title>icons / {Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!----
- _________
- / \
- | __ __ |
- | |__| |__| | CUSTOM PAGE 06 BY SAGE / PHANTOMCODES
- | | https://phantomcodes.tumblr.com
- | _ _ _ |
- |_| |_| |_| |_|
- SEARCH 'EDIT HERE'
- customization guide: https://phantomcodes.tumblr.com/samanthaguide
- CREDITS:
- - tabler icons / https://tabler-icons.io/
- - tippy.js tooltips / https://atomiks.github.io/tippyjs/
- - bunny fonts / https://fonts.bunny.net/
- ---->
- <!---- JQUERY ---->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <!--- FILTERS --->
- <script src="https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.min.js"></script>
- <script src="https://static.tumblr.com/p0knose/FpAp5c11c/magnusthemes.combofilters.js"></script>
- <!----- BUNNY FONTS ---->
- <link href="https://fonts.bunny.net/css?family=Quicksand:300,400,500,600,700,800,300i,400i,500i,600i,700i,800i" rel="stylesheet" /><link href="https://fonts.bunny.net/css?family=Montserrat:300,400,500,600,700,800,300i,400i,500i,600i,700i,800i" rel="stylesheet" />
- <!---- ICONS ---->
- <script src="https://unpkg.com/phosphor-icons"></script>
- <script src="https://unpkg.com/[email protected]"></script>
- <script src="//pull.cappuccicons.com/cpf.js"></script>
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@latest/tabler-icons.min.css">
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/[email protected]/tabler-icons.min.css">
- <!---- TOOLTIPS ---->
- <script src="https://unpkg.com/popper.js@1"></script>
- <script src="https://unpkg.com/tippy.js@5/dist/tippy-bundle.iife.js"></script>
- <!--- day/night --->
- <script>
- const storedTheme = localStorage.getItem("theme") || (window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light");
- if (storedTheme) document.documentElement.setAttribute("data-theme", storedTheme);
- </script>
- <!------- CSS -------->
- <style>
- /* theme options - common */
- :root {
- /*--- EDIT HERE: CORNERS & FONT STYLE ---*/
- --Corners:5px;
- --BodyFont:'Quicksand';
- --TitleFont:'Montserrat';
- --FontSize:15px;
- --ColorOpaquePosts:rgb(from var(--ColorPosts) r g b / .3);
- --ColorOpaqueAccentOne:rgb(from var(--ColorAccentOne) r g b / .3);
- --ColorOpaqueAccentTwo:rgb(from var(--ColorAccentTwo) r g b / .3);
- }
- /* theme options - day/night */
- :root, html[data-theme='light'] {
- --LightOn: flex;
- --LightOff: none;
- /*--- EDIT HERE: DAYMODE COLORS ---*/
- --ColorBackground:#eee;
- --ColorPosts:#f8f8f8;
- --ColorSidebar:#f2f2f2;
- --ColorBorders:#e2e2e2;
- --ColorTitle:#333;
- --ColorText:#5a5a5a;
- --ColorAccentOne:#5e3592;
- --ColorAccentTwo:#ad638d;
- --ColorAccentText:#fff;
- }
- html[data-theme='dark'] {
- --LightOn: none;
- --LightOff: flex;
- /*--- EDIT HERE: NIGHTMODE COLORS ---*/
- --ColorBackground:#333;
- --ColorPosts:#404040;
- --ColorSidebar:#3a3a3a;
- --ColorBorders:#4a4a4a;
- --ColorTitle:#fafafa;
- --ColorText:#dadada;
- --ColorAccentOne:#d5b5ff;
- --ColorAccentTwo:#ffcbe2;
- --ColorAccentText:#fff;
- }
- html.theme-transition,
- html.theme-transition *,
- html.theme-transition *:before,
- html.theme-transition *:after {
- transition: 0s !important;
- transition-delay: 0 !important;
- }
- .light-on{
- display: var(--LightOn);
- }
- .light-off{
- display: var(--LightOff);
- }
- /*--- TOOLTIPS ---*/
- .tippy-tooltip.custom-theme {
- position:relative;
- font-size:.95em;
- font-weight:500;
- color:var(--ColorAccentText);
- text-shadow:0 0 1px rgba(0,0,0,.1);
- text-transform:lowercase;
- text-align:center;
- background:transparent;
- backdrop-filter:blur(50px);
- border-radius:var(--Corners);
- box-shadow:rgba(0, 0, 0, 0.1) 0px 2px 5px 0px, rgba(0, 0, 0, 0.075) 0px 1px 2px 0px;
- }
- .tippy-tooltip.custom-theme:after {
- content:'';
- position:absolute;
- top:0;
- left:0;
- width:100%;
- height:100%;
- opacity:.75;
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo));
- border-radius:var(--Corners);
- z-index:-1;
- }
- /*--- SCROLLBAR ---*/
- ::-webkit-scrollbar {
- width:4px;
- height:4px;
- background:var(--ColorBackground);
- }
- ::-webkit-scrollbar-track {
- background:var(--ColorBackground);
- border-radius: 5px;
- }
- ::-webkit-scrollbar-thumb {
- background:linear-gradient(to top, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- border-radius: 5px;
- }
- /*--- TEXT SELECTION ---*/
- ::-moz-selection { /* Code for Firefox */
- color:var(--ColorPosts);
- background:var(--ColorAccentOne);
- }
- ::selection {
- color:var(--ColorPosts);
- background:var(--ColorAccentOne);
- }
- * {box-sizing:border-box;}
- body {
- font-family:var(--BodyFont), sans-serif;
- font-size:var(--FontSize);
- color:var(--ColorText);
- line-height:150%;
- word-wrap:break-word;
- letter-spacing:.04em;
- margin:0;
- background-color:var(--ColorBackground);
- }
- body {
- opacity:1;
- transition:.75s opacity;
- }
- body.fade-out {
- opacity:0;
- transition:none;
- }
- html {background-color:var(--ColorBackground); scrollbar-gutter:stable;}
- a {
- color:var(--ColorAccentOne);
- text-decoration:none;
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- a:hover {
- color:var(--ColorAccentThree);
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- blockquote {
- border-left:1.5px solid var(--ColorBorders);
- padding-left:.75rem;
- margin-left:1rem;
- }
- blockquote p {padding:0!important;}
- ul {list-style-type:circle;}
- ol {list-style-type:decimal-leading-zero; margin:0;}
- li::marker {color:var(--ColorAccentOne);}
- small {font-size:.95em;}
- big {font-size:1.1em;}
- h1 {font-size:1.35em; margin:0; color:var(--ColorTitle); display:inline-block;}
- h1 a {color:var(--ColorTitle);}
- h1 a:hover {color:var(--ColorAccentThree);}
- h2 {font-size:1.25em; color:var(--ColorTitle);}
- h3 {font-size:1.15em; color:var(--ColorTitle);}
- h4 {font-size:1.1em; color:var(--ColorTitle); margin-bottom:1rem;}
- h5 {font-size:1.05em; color:var(--ColorTitle);}
- h1, h1 a, h2, h3, h4, h5 {font-family:var(--TitleFont), sans-serif;}
- button {font-size:1em;}
- hr {
- height:1px;
- border:none;
- box-shadow:none;
- background:var(--ColorBorders);
- }
- pre {
- word-wrap:break-word!important;
- white-space:pre-wrap;
- }
- b, strong {
- color:var(--ColorTitle);
- font-weight:800;
- }
- b a:hover {
- color:var(--ColorAccentThree);
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- /* common link effects */
- .moreinfotext a {
- display:inline-block;
- position:relative;
- }
- .moreinfotext a:after {
- content: '';
- position:absolute;
- bottom:0;
- left:0;
- width:100%;
- height:1.5px;
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo), var(--ColorAccentThree));
- transform:scaleX(0);
- transform-origin:center;
- transition:transform 0.4s ease-out;
- }
- .moreinfotext a:hover:after {
- transform:scaleX(1);
- transform-origin:center;
- }
- /*--- HEADER ---*/
- header {
- position:fixed;
- top:0;
- left:0;
- right:0;
- width:100%;
- height:3rem;
- padding:0 1rem 0 1rem;
- display:flex;
- justify-content:space-between;
- align-items:center;
- gap:1rem;
- background:var(--ColorPosts);
- box-shadow:rgba(0, 0, 0, 0.1) 0px 2px 5px 0px, rgba(0, 0, 0, 0.075) 0px 1px 2px 0px;
- z-index:99999;
- }
- .header-left {
- display:flex;
- justify-content:flex-start;
- align-items:center;
- gap:.5rem;
- }
- a.htitle {
- display:flex;
- justify-content:flex-start;
- align-items:center;
- gap:.5rem;
- }
- .himg {
- width:2.15rem;
- height:2.15rem;
- padding:2.5px;
- display:flex;
- justify-content:center;
- align-items:center;
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo));
- border-radius:100%;
- }
- .himg img {
- width:100%;
- height:100%;
- border-radius:100%;
- }
- a.htitle b {
- font-family:var(--TitleFont), sans-serif;
- font-size:1.1em;
- font-weight:bold;
- white-space:nowrap;
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo));
- -webkit-background-clip:text;
- -webkit-text-fill-color:transparent;
- }
- a.mainlink {
- position:relative;
- font-weight:500;
- color:var(--ColorTitle);
- text-shadow:1px 1px var(--ColorOpaquePosts);
- white-space:nowrap;
- line-height:120%;
- display:inline-block;
- position:relative;
- }
- a.mainlink:after {
- content: '';
- position:absolute;
- bottom:0;
- left:0;
- width:100%;
- height:50%;
- opacity:.5;
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo));
- transform:scaleX(0);
- transform-origin:right;
- transition:transform 0.5s ease-out;
- z-index:-1;
- }
- a.mainlink:hover:after {
- transform:scaleX(1);
- transform-origin:left;
- }
- .header-right {
- display:flex;
- justify-content:flex-ends;
- align-items:center;
- gap:.5rem;
- }
- /*-- sidebar buttons --*/
- a#sidebarbutton {
- display:none;
- justify-content:center;
- align-items:center;
- cursor:help;
- }
- a#sidebarbutton:hover {transform:scale(1.05);}
- a#sidebarbutton i {
- font-size:1.3em;
- color:var(--ColorTitle);
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo));
- background-clip:text;
- -webkit-background-clip:text;
- transition:ease-in-out .4s;
- }
- a#sidebarbutton:hover i, body.sidebar-click a#sidebarbutton i {color:transparent;}
- /* SCROLL TO TOP */
- a#totop {
- display:none;
- justify-content:center;
- align-items:center;
- cursor:help;
- }
- a#totop i {
- font-size:1.4em;
- color:var(--ColorTitle);
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo));
- background-clip:text;
- -webkit-background-clip:text;
- transition:ease-in-out .4s;
- }
- a#totop:hover i {
- color:transparent;
- -webkit-animation-duration: 2.5s;
- animation-duration: 2.5s;
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
- -webkit-animation-timing-function: ease-in-out;
- animation-timing-function: ease-in-out;
- animation-iteration-count:1;
- -webkit-animation-iteration-count:1;
- animation-name:totop;
- -moz-animation-name:totop;
- }
- @keyframes totop {
- 0% {
- -webkit-transform: translateY(0px);
- -ms-transform: translateY(0px);
- transform: translateY(0px)
- }
- 10% {
- -webkit-transform: translateY(-3px);
- -ms-transform: translateY(-3px);
- transform: translateY(-3px)
- }
- 20% {
- -webkit-transform: translateY(0px);
- -ms-transform: translateY(0px);
- transform: translateY(0px)
- }
- 30% {
- -webkit-transform: translateY(-3px);
- -ms-transform: translateY(-3px);
- transform: translateY(-3px)
- }
- 40% {
- -webkit-transform: translateY(0px);
- -ms-transform: translateY(0px);
- transform: translateY(0px)
- }
- 50% {
- -webkit-transform: translateY(0px);
- -ms-transform: translateY(0px);
- transform: translateY(0px)
- }
- 60% {
- -webkit-transform: translateY(0px);
- -ms-transform: translateY(0px);
- transform: translateY(0px)
- }
- 70% {
- -webkit-transform: translateY(-3px);
- -ms-transform: translateY(-3px);
- transform: translateY(-3px)
- }
- 80% {
- -webkit-transform: translateY(0px);
- -ms-transform: translateY(0px);
- transform: translateY(0px)
- }
- 90% {
- -webkit-transform: translateY(-3px);
- -ms-transform: translateY(-3px);
- transform: translateY(-3px)
- }
- 100% {
- -webkit-transform: translateY(0px);
- -ms-transform: translateY(0px);
- transform: translateY(0px)
- }
- }
- /* DAY/NIGHT */
- button#theme-toggle {
- position:relative;
- outline:none;
- border:none;
- background:none;
- padding:0;
- display:flex;
- justify-content:center;
- align-items:center;
- cursor:help;
- }
- button#theme-toggle span {
- justify-content:center;
- align-items:center;
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- button#theme-toggle i {
- font-size:1.3em;
- color:var(--ColorTitle);
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo));
- background-clip:text;
- -webkit-background-clip:text;
- transition:ease-in-out .4s;
- }
- button#theme-toggle:hover i {
- color:transparent;
- -webkit-animation-duration: .75s;
- animation-duration: .75s;
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
- -webkit-animation-timing-function: ease-in-out;
- animation-timing-function: ease-in-out;
- animation-iteration-count:1;
- -webkit-animation-iteration-count:1;
- animation-name:daynight;
- -moz-animation-name:daynight;
- }
- @keyframes daynight {
- 50% {
- -webkit-transform: scaleX(-1);
- -ms-transform: scaleX(-1);
- transform: scaleX(-1);
- }
- }
- /* TUMBLR CONTROLS */
- a#controlsbutton {
- display:flex;
- justify-content:center;
- align-items:center;
- cursor:help;
- }
- a#controlsbutton i {
- font-size:1.35em;
- color:var(--ColorTitle);
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo));
- background-clip:text;
- -webkit-background-clip:text;
- transition:ease-in-out .4s;
- }
- a#controlsbutton:hover i {
- color:transparent;
- -webkit-animation-duration: 1.5s;
- animation-duration: 1.5s;
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
- -webkit-animation-timing-function: ease-in-out;
- animation-timing-function: ease-in-out;
- animation-iteration-count:1;
- -webkit-animation-iteration-count:1;
- animation-name:tumblrcontrols;
- -moz-animation-name:tumblrcontrols;
- }
- body.controls-click a#controlsbutton i {color:transparent;}
- @keyframes tumblrcontrols {
- 45% {
- -webkit-transform: rotate(180deg);
- -ms-transform: rotate(180deg);
- transform: rotate(180deg);
- }
- 55% {
- -webkit-transform: rotate(180deg);
- -ms-transform: rotate(180deg);
- transform: rotate(180deg);
- }
- 100% {
- -webkit-transform: rotate(360deg);
- -ms-transform: rotate(360deg);
- transform: rotate(360deg);
- }
- }
- .tmblr-iframe-compact .tmblr-iframe--unified-controls {
- transform:scale(.75);
- margin-top:2rem;
- opacity:0;
- visibility:hidden;
- z-index:999999999!important;
- }
- body.controls-click iframe.tmblr-iframe {
- opacity:1.0;
- visibility:visible;
- -webkit-transition: all 0.5s;
- -moz-transition: all 0.5s;
- -ms-transition: all 0.5s;
- -o-transition: all 0.5s;
- transition: all 0.5s;
- }
- /*--- CREDIT: DO NOT TOUCH ---*/
- a.credit {
- display:flex;
- justify-content:center;
- align-items:center;
- z-index:99999;
- }
- a.credit i {
- font-size:1.4em;
- color:var(--ColorTitle);
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo));
- background-clip:text;
- -webkit-background-clip:text;
- transition:ease-in-out .4s;
- }
- a.credit:hover i {
- color:transparent;
- -webkit-animation-duration: 2s;
- animation-duration: 2s;
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
- -webkit-animation-timing-function: ease-in-out;
- animation-timing-function: ease-in-out;
- animation-iteration-count:infinite;
- -webkit-animation-iteration-count:infinite;
- animation-name: bounce;
- -moz-animation-name: bounce;
- }
- @keyframes bounce {
- 0% {
- -webkit-transform: translateY(0px);
- -ms-transform: translateY(0px);
- transform: translateY(0px)
- }
- 25% {
- -webkit-transform: translateY(-3px);
- -ms-transform: translateY(-3px);
- transform: translateY(-3px)
- }
- 50% {
- -webkit-transform: translateY(0px);
- -ms-transform: translateY(0px);
- transform: translateY(0px)
- }
- 75% {
- -webkit-transform: translateY(-3px);
- -ms-transform: translateY(-3px);
- transform: translateY(-3px)
- }
- 100% {
- -webkit-transform: translateY(0px);
- -ms-transform: translateY(0px);
- transform: translateY(0px)
- }
- }
- /* MAIN CONTENT */
- main {
- width:100%;
- display:flex;
- justify-content:center;
- }
- section {
- width:100%;
- padding:4rem 1rem 1rem calc(250px + 3rem);
- display:flex;
- justify-content:center;
- }
- .icon-wrap {}
- /*--- SIDEBAR ---*/
- .sidebar {
- position:fixed;
- top:3rem;
- left:0;
- bottom:0;
- width:calc(250px + 2rem);
- height:calc(100vh - 3rem);
- overflow-y:auto;
- padding:1rem 1rem .5rem 1rem;
- display:flex;
- flex-direction:column;
- align-items:center;
- gap:.75rem;
- background:var(--ColorSidebar);
- box-shadow:rgba(0, 0, 0, 0.1) 0px 2px 5px 0px, rgba(0, 0, 0, 0.075) 0px 1px 2px 0px;
- z-index:999;
- }
- .sidebar::-webkit-scrollbar {
- width:1.5px;
- height:1.5px;
- background:transparent;
- }
- .sidebar::-webkit-scrollbar-track {
- margin-top:2px;
- margin-bottom:2px;
- background:transparent;
- }
- .sidebar::-webkit-scrollbar-thumb {
- background:var(--ColorOpaqueAccentOne);
- border-radius:none;
- }
- .sidebar-top {
- width:100%;
- display:flex;
- flex-direction:column;
- background:var(--ColorPosts);
- border-radius:var(--Corners);
- box-shadow:rgba(0, 0, 0, 0.1) 0px 2px 5px 0px, rgba(0, 0, 0, 0.075) 0px 1px 2px 0px;
- }
- .sb-img {
- position:relative;
- width:100%;
- max-height:200px;
- display:flex;
- justify-content:center;
- align-items:center;
- }
- .sb-img img {
- width:100%;
- height:100%;
- object-fit:cover;
- border-radius:var(--Corners) var(--Corners) 0 0;
- }
- a.main-title {
- width:fit-content;
- line-height:130%;
- padding:.5rem;
- display:flex;
- flex-direction:column;
- }
- a.main-title b {
- font-family:var(--TitleFont), sans-serif;
- font-size:1em;
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo));
- -webkit-background-clip:text;
- -webkit-text-fill-color:transparent;
- }
- a.main-title i {
- font-size:.95em;
- font-style:normal;
- color:var(--ColorText);
- transition:ease-in-out .4s;
- }
- a.main-title:hover i {color:var(--ColorTitle);}
- /* search bar */
- .searchbar {
- width:100%;
- padding:.5rem;
- display:flex;
- justify-content:flex-start;
- align-items:center;
- gap:.25rem;
- background:var(--ColorBackground);
- box-shadow:inset 2px -2px 4px var(--ColorPosts);
- border-radius:0 0 var(--Corners) var(--Corners);
- }
- .searchbar i {
- font-size:1.1em;
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo));
- -webkit-background-clip:text;
- -webkit-text-fill-color:transparent;
- }
- .search {
- width:100%;
- }
- .search .query {
- border:0;
- outline:0;
- font-family:var(--BodyFont), sans-serif;
- width:100%;
- font-size:.975em;
- font-weight:normal;
- color:var(--ColorText);
- text-transform:lowercase;
- letter-spacing:.04rem;
- line-height:120%;
- word-wrap:break-word;
- background:transparent;
- }
- .search .query::-webkit-input-placeholder {color:inherit; opacity:.85;}
- .search .query:-moz-placeholder {color:inherit; opacity:.85;}
- .search .query::-moz-placeholder {color:inherit; opacity:.85;}
- .search .query:-ms-input-placeholder {color:inherit; opacity:.85;}
- input:focus::-webkit-input-placeholder {color:transparent; text-shadow:none;}
- input:focus:-moz-placeholder {color:transparent; text-shadow:none;}
- input:focus::-moz-placeholder {color:transparent; text-shadow:none;}
- input:focus:-ms-input-placeholder {color:transparent; text-shadow:none;}
- /* sidebar titles */
- .sb-title {
- position:relative;
- width:100%;
- line-height:130%;
- display:flex;
- justify-content:space-between;
- align-items:center;
- gap:1rem;
- padding:.5rem;
- border-radius:var(--Corners) var(--Corners) 0 0;
- z-index:1;
- }
- .sb-title:after {
- content:'';
- position:absolute;
- top:0;
- left:0;
- width:100%;
- height:100%;
- opacity:.75;
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo));
- border-radius:var(--Corners) var(--Corners) 0 0;
- z-index:-1;
- }
- .sb-title b {
- color:var(--ColorAccentText);
- text-shadow:0 1px rgba(0,0,0,.1);
- }
- .sb-title i {
- font-size:1.2em;
- color:var(--ColorAccentText);
- text-shadow:0 1px rgba(0,0,0,.1);
- }
- /*--- RULES ---*/
- .rules {
- width:100%;
- display:flex;
- flex-direction:column;
- background:var(--ColorPosts);
- border-radius:var(--Corners);
- box-shadow:rgba(0, 0, 0, 0.1) 0px 2px 5px 0px, rgba(0, 0, 0, 0.075) 0px 1px 2px 0px;
- }
- .sb-rules {
- width:100%;
- padding:.5rem;
- display:flex;
- flex-direction:column;
- gap:.35rem;
- }
- .sb-rules li {
- line-height:120%;
- display:flex;
- justify-content:flex-start;
- align-items:flex-start;
- gap:.35rem;
- }
- .sb-rules i {
- font-size:1.125em;
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo));
- -webkit-background-clip:text;
- -webkit-text-fill-color:transparent;
- }
- /*--- FILTERS ---*/
- .sort {
- width:100%;
- background:var(--ColorPosts);
- border-radius:var(--Corners);
- box-shadow:rgba(0, 0, 0, 0.1) 0px 2px 5px 0px, rgba(0, 0, 0, 0.075) 0px 1px 2px 0px;
- }
- .filtersubtitle {width:100%; margin-bottom:.25rem;}
- .filtersubtitle b {
- white-space:nowrap;
- border-bottom:1.5px solid var(--ColorBorders);
- }
- /* filterboxes */
- .filterbox ul {
- width:100%;
- margin:0;
- padding:.5rem;
- display:flex;
- flex-wrap:wrap;
- gap:.15rem .75rem;
- }
- .filterbox.two ul {gap:.15rem 1rem; border-top:1px solid var(--ColorBorders);}
- .filterbox a {position:relative; z-index:1;}
- .filterbox a:after {
- content:'';
- position:absolute;
- bottom:2px;
- left:0;
- width:100%;
- height:.55rem;
- opacity:0;
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo));
- z-index:-1;
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- .filterbox a:hover:after {opacity:.5;}
- .filterbox a.selected:after {opacity:.5;}
- .filterbox span {
- font-size:.95em;
- font-weight:normal;
- color:var(--ColorText);
- text-shadow:1px 1px var(--ColorOpaquePosts);
- line-height:100%;
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- .filterbox a:hover span {color:var(--ColorTitle);}
- .filterbox a.selected span {font-weight:bold; color:var(--ColorTitle);}
- /*--- REQUEST STATUS ---*/
- .status {
- width:100%;
- display:flex;
- flex-direction:column;
- background:var(--ColorPosts);
- border-radius:var(--Corners);
- box-shadow:rgba(0, 0, 0, 0.1) 0px 2px 5px 0px, rgba(0, 0, 0, 0.075) 0px 1px 2px 0px;
- }
- .sb-status {
- width:100%;
- padding:.5rem;
- display:flex;
- flex-direction:column;
- gap:.35rem;
- }
- .sb-status li {
- line-height:120%;
- display:flex;
- justify-content:flex-start;
- align-items:flex-start;
- gap:.35rem;
- }
- .sb-status i {font-size:1.25em;}
- .sb-status li.on i {
- background:linear-gradient(to right, var(--ColorAccentOne), var(--ColorAccentTwo));
- -webkit-background-clip:text;
- -webkit-text-fill-color:transparent;
- }
- .sb-status li.off i {color:var(--ColorText); opacity:.3;}
- /*--- ICONS ---*/
- .icon {
- width:85px;
- height:85px;
- margin-bottom:10px;
- display:flex;
- justify-content:center;
- align-items:center;
- }
- .icon img {
- width:100%;
- height:100%;
- object-fit:cover;
- border-radius:var(--Corners);
- }
- /*---- RESPONSIVENESS ---*/
- @media only screen and (max-width: 750px) {
- .tmblr-iframe-compact .tmblr-iframe--unified-controls {display: none!important;}
- tumblr_controls, .tmblr-iframe{display:none!important;}
- a.htitle {display:none;}
- a#sidebarbutton {display:flex;}
- .sidebar {position:fixed; left:-100%;}
- body.sidebar-click .sidebar {left:0;}
- section {width:100%; padding:4rem 2rem 2rem 2rem;}
- }
- {CustomCSS}
- </style>
- </head>
- <!----- HTML ----->
- <body>
- <main><!-- main container -->
- <!--- HEADER --->
- <header>
- <div class="header-left">
- <a id="sidebarbutton" title="toggle sidebar"><i class="ti ti-layout-sidebar-left-expand"></i></a>
- <a class="htitle" href="/"><div class="himg"><img src="{PortraitURL-128}"></div><b>{Title}</b></a>
- <!--================ (OPTIONAL) EDIT HERE: HEADER LINKS ====================
- - if you want to add more header links you can! i recommend adding no more than three depending on how long they are
- FORMAT:
- <a class="mainlink" href="[link url]">[link name]</a>
- - [bracketed text] is what you can change, delete the brackets
- =========================================================================-->
- <a class="mainlink" href="/">home</a>
- <a class="mainlink" href="/ask">ask</a>
- <a class="mainlink" href="/archive">archive</a>
- </div><!-- all header links above this line -->
- <div class="header-right">
- <a id="totop" title="back to top" href="#top" target="_self"><i class="ti ti-arrow-narrow-up"></i></a>
- <!-- day/night -->
- <button id="theme-toggle" aria-label="toggle dark or light mode" type="button">
- <span class="light-on" title="turn off the lights"><i class="ti ti-moon"></i></span>
- <span class="light-off" title="turn on the lights"><i class="ti ti-sun-high"></i></span>
- </button>
- <a title="toggle controls" id="controlsbutton"><i class="ti ti-settings"></i></a>
- <!-- CREDIT: DO NOT TOUCH -->
- <a class="credit" href="//phantomcodes.tumblr.com" title="custom page by sage"><i class="ti ti-ghost-2"></i></a>
- </div>
- </header><!-- header ends -->
- <!-- SIDEBAR -->
- <div class="sidebar">
- <div class="sidebar-top">
- <!--====================== EDIT HERE: SIDEBAR IMAGE ========================
- FORMAT:
- <div class="sb-img"><img src="[image url]"></div>
- - [bracketed text] is what you can change, delete the brackets
- =========================================================================-->
- <div class="sb-img"><img src=""></div>
- <a class="main-title" href="/"><b>icons page</b><i>@{Name}</i></a>
- <!-- search bar -->
- <div class="searchbar">
- <i class="ti ti-search"></i>
- <form class="search" action="javascript:return false">
- <input type="text" class="query" placeholder="search blog . . .">
- </form>
- </div><!-- // .searchbar -->
- </div><!-- // .sidebar-top -->
- <div class="rules"><!-- rules -->
- <div class="sb-title"><b>rules</b><i class="ti ti-list-details"></i></div>
- <div class="sb-rules">
- <!--========================== EDIT HERE: RULES ============================
- FORMAT:
- <li><i class="ti ti-[icon-name]"></i><span>[rule text]</span></li>
- - [bracketed text] is what you can change, delete the brackets
- =========================================================================-->
- <li><i class="ti ti-checkbox"></i><span>here is a rule</span></li>
- <li><i class="ti ti-checkbox"></i><span>here is a rule</span></li>
- <li><i class="ti ti-square-x"></i><span>here is a rule</span></li>
- <li><i class="ti ti-square-x"></i><span>here is a rule</span></li>
- </div><!-- // .sb-rules - all rules above this line -->
- </div><!-- // .rules -->
- <div class="sort"><!-- filters -->
- <div class="sb-title"><b>sort by</b><i class="ti ti-sort-descending"></i></div>
- <!--========================== EDIT HERE: FILTERS ==========================
- 1. FILTERBOX
- - this is if you want to add an entire new filter section
- FORMAT:
- <div class="filterbox [three]">
- <ul class="filter option-set exclusive" data-filter-group="group[3]">
- <div class="filtersubtitle"><b>[filer section name]</b></div>
- <a href="#" data-filter-value="" class="selected" id="allplus">
- <span>all</span></a>
- <a href="#" data-filter-value=".[filtervalue]"><span>[filter name]</span></a>
- <a href="#" data-filter-value=".[filtervalue]"><span>[filter name]</span></a>
- <a href="#" data-filter-value=".[filtervalue]"><span>[filter name]</span></a>
- </ul>
- </div>
- 2. INDIVIDUAL FILTERS
- - make sure each filter name is between <span></span>, example: <span>filter 1</span>
- - if you want to change the filter values (f1, f2, etc.) you can! just make sure to keep the period before each value, example: .f1
- FORMAT:
- <a href="#" data-filter-value=".[filtervalue]"><span>[filter name]</span></a>
- - [bracketed text] is what you can change, delete the brackets
- =========================================================================-->
- <div class="filterbox one"><!-- filterbox one -->
- <ul class="filter option-set exclusive" data-filter-group="group1">
- <div class="filtersubtitle"><b>colors</b></div>
- <a href="#" data-filter-value="" class="selected" id="allplus">
- <span>all</span></a>
- <a href="#" data-filter-value=".f1"><span>color 1</span></a>
- <a href="#" data-filter-value=".f2"><span>color 2</span></a>
- <a href="#" data-filter-value=".f3"><span>color 3</span></a>
- <a href="#" data-filter-value=".f4"><span>color 4</span></a>
- </ul><!-- // all filterbox one filters above this line -->
- </div><!-- // .filterbox.one -->
- <div class="filterbox two"><!-- filterbox two -->
- <ul class="filter option-set exclusive" data-filter-group="group2">
- <div class="filtersubtitle"><b>alphabetical</b></div>
- <a href="#" data-filter-value="" class="selected">
- <span>all</span></a>
- <a href="#" data-filter-value=".ae"><span>a - e</span></a>
- <a href="#" data-filter-value=".fj"><span>f - j</span></a>
- <a href="#" data-filter-value=".ko"><span>k - o</span></a>
- <a href="#" data-filter-value=".pt"><span>p - t</span></a>
- <a href="#" data-filter-value=".uz"><span>u - z</span></a>
- </ul><!-- // all filterbox two filters above this line -->
- </div><!-- // .filterbox.two -->
- <!--==================== all filterboxes above this line ================-->
- </div><!-- // .sort -->
- <div class="status"><!-- request status -->
- <div class="sb-title"><b>request status</b><i class="ti ti-mailbox"></i></div>
- <div class="sb-status">
- <!--====================== EDIT HERE: STATUS ===============================
- FORMAT:
- <li class="[on/off]"><i class="ti ti-toggle-[right/left]"></i><span>[status text]</span></li>
- - [bracketed text] is what you can change, delete the brackets
- - for the status to be on change the class to "on" and the toggle to right
- - for the status to be off change the class to "off" and the toggle to left
- =========================================================================-->
- <li class="on"><i class="ti ti-toggle-right"></i><span>status on</span></li>
- <li class="on"><i class="ti ti-toggle-right"></i><span>status on</span></li>
- <li class="off"><i class="ti ti-toggle-left"></i><span>status off</span></li>
- <li class="off"><i class="ti ti-toggle-left"></i><span>status off</span></li>
- </div><!-- // .sb-status - all statuses above this line -->
- </div><!-- // .status -->
- </div><!-- sidebar ends -->
- <section><!-- section -->
- <div class="icon-wrap">
- <!--========================================================================
- EDIT HERE: ICONS
- GENERAL FORMAT:
- <div class="icon [filter values]">
- <img src="[image url]">
- </div>
- - [bracketed] text is what you change, delete the brackets
- =========================================================================-->
- <div class="icon f1 f3 ae ko uz">
- <img src="">
- </div>
- <!--==================== all icons above this line ================-->
- </div><!-- // .icon-wrap -->
- </section><!-- // section -->
- </main><!-- end of main container -->
- <script>
- // tooltips
- tippy('[title]', {
- theme: 'custom',
- arrow: false,
- followCursor: true,
- delay: 100,
- placement: 'top',
- offset: "0, 10",
- zIndex: 9999999999,
- maxWidth: 400,
- content(reference) {
- const title = reference.getAttribute('title');
- reference.removeAttribute('title');
- return title;
- },
- });
- // sidebar popup
- $(document).ready(function(){
- $('a#sidebarbutton').click(function(){
- $('body').toggleClass('sidebar-click');
- $('a#sidebarbutton i').toggleClass("ti-layout-sidebar-left-expand-filled");
- });
- });
- //filters
- $(document).ready(function() {
- var $container = $(".icon-wrap"); // the container with all the elements to filter inside
- var filters = {}; //should be outside the scope of the filtering function
- /* --- read the documentation on isotope.metafizzy.co for more options --- */
- var $grid = $container.isotope({
- itemSelector: ".icon", // the elements to filter
- masonry: {
- columnWidth:85,
- gutter: 10,
- fitWidth: true,
- horizontalOrder: true
- }
- });
- $('.icon-wrap').isotope({
- transitionDuration: '0.8s',
- hiddenStyle: {
- opacity: 0
- },
- visibleStyle: {
- opacity: 1
- }
- })
- $(".option-set a").click(function(e) {
- var $this = $(this); // cache the clicked link
- var filterAttr = "data-filter-value";
- var filterValue = $this.attr(filterAttr); // cache the filter
- var $optionSet = $this.parents(".option-set"); // cache the parent element
- var group = $optionSet.attr("data-filter-group"); // cache the parent filter group
- var filterGroup = filters[group];
- if (!filterGroup) {
- filterGroup = filters[group] = [];
- }
- var $selectAll = $optionSet.find('a['+filterAttr+'=""]'); // the 'select all' button in the current group
- var activeClass = "selected", // the class for active links
- exclClass = "exclusive"; // the class for exclusive groups
- comboFiltering($this,filters,filterAttr,filterValue,$optionSet,group,$selectAll,activeClass,exclClass);
- var comboFilter = getComboFilter(filters);
- $grid.isotope({
- filter: comboFilter
- });
- $this.toggleClass(activeClass);
- e.preventDefault();
- });
- });
- // welcome popup
- $(document).ready(function(){
- $('a#welcomebutton').click(function(){
- $('body').toggleClass('welcome-click');
- });
- });
- // tumblr controls
- $(document).ready(function(){
- $('a#controlsbutton').click(function(){
- $('body').toggleClass('controls-click');
- });
- });
- // tab click
- $(document).ready(function(){
- $('.moreinfo').hide();
- $('.tab.info').click(function() {
- $('tab').toggleClass('more-click');
- $(this).closest('.folder').find('.moreinfo').slideToggle(0);
- $(this).toggleClass('more-click');
- return false;
- });
- });
- // searchbar
- $(document).ready(function(){
- $('a#searchbutton').click(function(){
- $('body').toggleClass('search-click');
- });
- });
- $(document).ready(function(){
- $('.search').submit(function(event){
- var value = $('input:first').val();
- location.replace('http://{Name}.tumblr.com/search/' + value);
- });
- });
- // scroll to top
- $(document).ready(function(){
- $('a#totop').click(function(){
- $('html, body').animate({scrollTop : 0},800);
- return false;
- });
- });
- var mybutton = document.getElementById("totop");
- window.onscroll = function() {scrollFunction()};
- function scrollFunction() {
- if (document.body.scrollTop > 400 || document.documentElement.scrollTop > 400) {
- mybutton.style.display = "flex";
- } else {
- mybutton.style.display = "none";
- }
- }
- // day/night mode
- const toggle = document.getElementById("theme-toggle");
- toggle.onclick = function () {
- // add class to html and make transition snappy
- document.documentElement.classList.add("theme-transition");
- // alright lets retrive the info from data-theme
- let currentTheme = document.documentElement.getAttribute("data-theme");
- // if it's dark already, let's go into the light
- let targetTheme = "light";
- // but if it is light let's toggle dark mode
- if (currentTheme === "light") {
- targetTheme = "dark";
- }
- // ok now that theme has been toggled, get rid of snappy transition
- window.setTimeout(function () {
- document.documentElement.classList.remove("theme-transition");
- }, 50);
- // we're going to save our theme preference now
- document.documentElement.setAttribute("data-theme", targetTheme);
- localStorage.setItem("theme", targetTheme);
- };
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment