Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en" data-theme="light">
- <head>
- <title>{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">
- <!----
- _________
- / \
- | __ __ |
- | |__| |__| | SEASHELL NAVI BY SAGE / PHANTOMCODES
- | | https://phantomcodes.tumblr.com
- | _ _ _ |
- |_| |_| |_| |_|
- SEARCH 'EDIT HERE'
- 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>
- <!----- BUNNY FONTS -----
- EDIT HERE: if you change the fonts replace the names here too ---->
- <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+Alternates: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>
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/icons@latest/iconfont/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>
- :root {
- /*---- EDIT HERE: VARIABLES ----*/
- --Corners:10px; /* 0px, 5px, or 10px recommended */
- --Glow:0 0 10px; /* change to 0 if you don't want the glow */
- /* replace the fonts in both places ^ if you change them */
- --BodyFont:'Quicksand';
- --TitleFont:'Montserrat Alternates';
- --FontSize:15px;
- }
- html[data-theme='light'] {
- --LightOn: flex;
- --LightOff: none;
- --ColorBackground:#eee;
- --ColorSidebar:#f8f8f8;
- --ColorPosts:#fff;
- --ColorBorders:#e5e5e5;
- --ColorTitle:#333;
- --ColorText:#5a5a5a;
- --ColorLink:#58729e;
- --ColorAccent:#3d5988;
- --ColorGradientOne:#8993b3;
- --ColorGradientTwo:#b6c0de;
- --ColorGradientText:#fff;
- --ColorGradientAccent:#edf2ff;
- --ColorOpacity: rgba(255,255,255,.1);
- --ColorReverseOpacity: rgba(0,0,0,.1);
- }
- html[data-theme='dark'] {
- --LightOn: none;
- --LightOff: flex;
- --ColorBackground:#262832;
- --ColorSidebar:#313440;
- --ColorPosts:#3a3d4b;
- --ColorBorders:#4a4e5e;
- --ColorTitle:#fcfdff;
- --ColorText:#d2d8e0;
- --ColorLink:#bac9e3;
- --ColorAccent:#d6e5ff;
- --ColorGradientOne:#96a2c3;
- --ColorGradientTwo:#b6c0de;
- --ColorGradientText:#fff;
- --ColorGradientAccent:#4c5776;
- --ColorOpacity: rgba(0,0,0,.1);
- --ColorReverseOpacity: rgba(255,255,255,.1);
- }
- 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 {
- font-family:var(--TitleFont), sans-serif;
- font-size:.9em;
- color:var(--ColorTitle);
- text-transform:lowercase;
- text-align:center;
- letter-spacing:.1em;
- background:var(--ColorPosts);
- border-radius:var(--Corners);
- margin-bottom:.5em;
- }
- /*--- SCROLLBAR ---*/
- ::-webkit-scrollbar {
- width:5px;
- height:5px;
- background:var(--ColorBackground);
- }
- ::-webkit-scrollbar-track {
- background:var(--ColorBackground);
- border-radius: 5px;
- }
- ::-webkit-scrollbar-thumb {
- background:linear-gradient(to top, var(--ColorGradientOne), var(--ColorGradientTwo));
- border-radius: 5px;
- }
- /*--- TEXT SELECTION ---*/
- ::-moz-selection { /* Code for Firefox */
- color:var(--ColorPosts);
- background:var(--ColorAccent);
- }
- ::selection {
- color:var(--ColorPosts);
- background:var(--ColorAccent);
- }
- /*--- COMMON ---*/
- body {
- font-family:var(--BodyFont), sans-serif;
- font-size:var(--FontSize);
- color: var(--ColorText);
- background-color: var(--ColorBackground);
- line-height:140%;
- word-wrap:break-word;
- letter-spacing:.04em;
- margin:0;
- }
- a {
- color:var(--ColorLink);
- text-decoration: none;
- -webkit-transition: all 0.3s;
- -moz-transition: all 0.3s;
- -ms-transition: all 0.3s;
- -o-transition: all 0.3s;
- transition: all 0.3s;
- }
- a:hover {
- color: var(--ColorAccent);
- -webkit-transition: all 0.3s;
- -moz-transition: all 0.3s;
- -ms-transition: all 0.3s;
- -o-transition: all 0.3s;
- transition: all 0.3s;
- }
- button {font-size:1em;}
- blockquote {
- border-left:2px solid var(--ColorBorders);
- padding-left:.75em;
- margin-left:1em;
- }
- li {list-style-type:circle;}
- li::marker {color:var(--ColorAccent)}
- h1, h1 a, h2, h3, h4, h5 {
- font-family:var(--TitleFont), sans-serif;
- letter-spacing:.1em;
- color:var(--ColorTitle);
- }
- h1 {font-size:1.3em;}
- h2 {font-size:1.2em;}
- h3 {font-size:1.1em; padding:0 0 .5em 0; margin:0; display:inline-block;}
- h4 {font-size:1.05em;}
- h5 {font-size:1.025em;}
- h1 a:hover {color:var(--ColorAccent);}
- h4 {margin:0 0 1em 0; text-align:center;}
- h5 {margin:0; padding:0;}
- small {font-size: 0.95em;}
- big {font-size: 1.1em;}
- hr {
- height: 1px;
- border: none;
- box-shadow: none;
- background-color: var(--ColorBorders);
- }
- pre {
- line-height: inherit;
- font-size: inherit;
- white-space: pre-wrap;
- white-space: -moz-pre-wrap;
- white-space: -pre-wrap;
- white-space: -o-pre-wrap;
- word-wrap: break-word;
- }
- b, strong {
- color:var(--ColorTitle);
- font-weight:800;
- }
- b a:hover {
- color:var(--ColorAccent);
- -webkit-transition: all 0.3s;
- -moz-transition: all 0.3s;
- -ms-transition: all 0.3s;
- -o-transition: all 0.3s;
- transition: all 0.3s;
- }
- /*--- HEADER ---*/
- header {
- position:fixed;
- top:0;
- left:0;
- right:0;
- width:calc(100% - 2em);
- height:calc(54px - 2em);
- display:flex;
- justify-content:space-between;
- align-items:center;
- gap:1em;
- padding:1em;
- background:var(--ColorSidebar);
- z-index:9999;
- }
- header:before {
- content:'';
- position:absolute;
- left:0;
- bottom:-2px;
- width:100%;
- height:2px;
- background:linear-gradient(to right, var(--ColorGradientOne), var(--ColorGradientTwo));
- }
- .topleft {
- display:flex;
- justify-content:flex-start;
- align-items:center;
- gap:.75em;
- }
- /* HEADER IMG */
- a.headerimg {
- display:flex;
- justify-content:center;
- align-items:center;
- }
- a.headerimg img {
- width:2.25em;
- height:2.25em;
- padding:2px;
- border-radius:100%;
- background:linear-gradient(to top right, var(--ColorGradientOne), var(--ColorGradientTwo));
- -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.headerimg:hover img {
- transform:scale(.95) rotate(10deg);
- }
- a.headertitle {
- display:flex;
- flex-direction:column;
- line-height:120%;
- }
- a.headertitle b {
- font-family:var(--TitleFont), sans-serif;
- font-weight:600;
- letter-spacing:.075em;
- -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.headertitle:hover b {
- color:var(--ColorAccent);
- -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.headertitle li {
- display:flex;
- justify-content:flex-start;
- align-items:center;
- gap:.25em;
- }
- a.headertitle li i {
- color:var(--ColorAccent);
- }
- a.headertitle li span {
- font-family:var(--TitleFont), sans-serif;
- font-size:.9em;
- font-style:normal;
- color:var(--ColorText);
- -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.headertitle:hover span {color:var(--ColorTitle);}
- .topright {
- display:flex;
- justify-content:flex-end;
- align-items:center;
- gap:.5em;
- }
- /* DAY/NIGHT */
- button#theme-toggle {
- outline:none;
- border:none;
- padding:0;
- background:transparent;
- display:flex;
- justify-content:center;
- align-items:center;
- }
- button#theme-toggle span {
- justify-content:center;
- align-items:center;
- cursor:help;
- -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.5em;
- color:var(--ColorTitle);
- -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:hover i {
- color:var(--ColorAccent);
- text-shadow:var(--Glow);
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- -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);
- }
- }
- /* SCROLL TO TOP */
- a#totop {
- display:flex;
- justify-content:center;
- align-items:center;
- cursor:help;
- }
- #totop i {
- font-size:1.4em;
- color:var(--ColorTitle);
- -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#totop:hover i {
- color:var(--ColorAccent);
- text-shadow:var(--Glow);
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- -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)
- }
- }
- /* TUMBLR CONTROLS */
- #controlsbutton {
- display:flex;
- justify-content:center;
- align-items:center;
- cursor:help;
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- #controlsbutton i {
- font-size:1.5em;
- color:var(--ColorTitle);
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- #controlsbutton:hover i {
- color:var(--ColorAccent);
- text-shadow:var(--Glow);
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- -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;
- }
- @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 {
- z-index:999999999!important;
- margin-top:50px;
- margin-right:-2em;
- transform:scale(.75);
- opacity:0;
- visibility:hidden;
- }
- body.controlsclick 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;
- }
- body.controlsclick #controlsbutton i {
- color:var(--ColorAccent);
- text-shadow:var(--Glow);
- }
- /*----- FOOTER ----*/
- footer {
- position:fixed;
- left:0;
- bottom:0;
- right:0;
- width:calc(100% - 2em);
- height:calc(38px - 1em);
- display:flex;
- justify-content:center;
- align-items:center;
- padding:.5em 1em .5em 1em;
- background:var(--ColorPosts);
- z-index:999999;
- }
- .footerleft {
- position:fixed;
- left:1em;
- height:38px;
- display:flex;
- justify-content:flex-start;
- align-items:center;
- gap:.5em;
- }
- /* SEARCH BAR */
- #search {
- width:100%;
- display:flex;
- justify-content:flex-start;
- align-items:center;
- gap:.25em;
- }
- #search i {
- font-size:1.3em;
- color:var(--ColorAccent);
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- #search:hover i {
- transform:scale(1.1);
- color:var(--ColorTitle);
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- .search {
- width:100%;
- }
- .search .query {
- border: 0;
- outline: 0;
- font-family:var(--TitleFont), sans-serif;
- font-size:.9em;
- width:100%;
- color:var(--ColorTitle);
- letter-spacing:.075em;
- background:transparent;
- }
- ::-webkit-input-placeholder {color: inherit; opacity:.85;}
- :-moz-placeholder {color: inherit; opacity:.85;}
- ::-moz-placeholder {color: inherit; opacity:.85;}
- :-ms-input-placeholder {color: inherit; opacity:.85;}
- input:focus::-webkit-input-placeholder {color: transparent;}
- input:focus:-moz-placeholder {color: transparent;}
- input:focus::-moz-placeholder {color: transparent;}
- input:focus:-ms-input-placeholder { color: transparent;}
- .footermid {
- display:flex;
- justify-content:center;
- align-items:center;
- gap:1em;
- }
- .footermid a {
- display:flex;
- justify-content:center;
- align-items:center;
- }
- .footermid i {
- font-size:1.35em;
- color:var(--ColorTitle);
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- .footermid a:hover i {
- color:var(--ColorAccent);
- text-shadow:var(--Glow);
- }
- .footerright {
- position:fixed;
- right:1em;
- height:38px;
- display:flex;
- justify-content:flex-end;
- align-items:center;
- gap:.75em;
- }
- /* rules button --- delete ---*/
- a.rulesbutton {
- display:flex;
- justify-content:center;
- align-items:center;
- cursor:help;
- }
- a.rulesbutton i {
- font-size:1.4em;
- color:var(--ColorTitle);
- -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.rulesbutton:hover i {
- color:var(--ColorAccent);
- text-shadow:var(--Glow);
- }
- body.rules-click a.rulesbutton i {color:var(--ColorAccent); text-shadow:var(--Glow);}
- a.sidebarbutton {
- display:none;
- justify-content:center;
- align-items:center;
- cursor:help;
- }
- a.sidebarbutton i {
- font-size:1.4em;
- color:var(--ColorTitle);
- -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.sidebarbutton:hover i {
- color:var(--ColorAccent);
- text-shadow:var(--Glow);
- }
- body.sidebar-click a.sidebarbutton i {color:var(--ColorAccent); text-shadow:var(--Glow);}
- /* CREDIT: DO NOT TOUCH */
- a.credit {
- display:flex;
- justify-content:center;
- align-items:center;
- }
- .credit i {
- font-size:1.5em;
- color:var(--ColorTitle);
- -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.credit:hover i {
- color:var(--ColorAccent);
- text-shadow:var(--Glow);
- -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 {
- display:flex;
- justify-content:center;
- flex-wrap:wrap;
- gap:1em;
- max-width:900px;
- margin-top:calc(54px + 1em);
- margin-bottom:calc(38px + 1em);
- margin-left:1em;
- margin-right:1em;
- }
- article {
- position:relative;
- width:100%;
- background:var(--ColorSidebar);
- border-radius:var(--Corners);
- }
- /* links */
- article.links {
- width:calc(50% - .5em);
- display:flex;
- flex-direction:column;
- }
- article.links.long {width:100%;}
- .links-top {
- position:sticky;
- top:0;
- width:calc(100% - 2em);
- height:calc(54px - 2em);
- display:flex;
- justify-content:space-between;
- align-items:center;
- gap:1em;
- padding:1em;
- background:var(--ColorSidebar);
- border-radius:var(--Corners);
- z-index:9999;
- }
- .links-top b {
- font-family:var(--TitleFont), sans-serif;
- font-size:1.2em;
- font-weight:600;
- letter-spacing:.075em;
- margin-top:.15em;
- }
- .links-top i {
- font-size:1.5em;
- color:var(--ColorTitle);
- }
- .links-mid {
- position:relative;
- width:calc(100% - 2em);
- height:100%;
- display:flex;
- justify-content:flex-start;
- align-items:flex-start;
- flex-wrap:wrap;
- gap:1.5em;
- padding:1em;
- background:var(--ColorPosts);
- border-radius:0 0 var(--Corners) var(--Corners);
- }
- .links-mid:after {
- content:'';
- position:absolute;
- left:0;
- top:0;
- width:100%;
- height:2px;
- background:linear-gradient(to top right, var(--ColorGradientOne), var(--ColorGradientTwo));
- }
- .links-midtitle {
- width:100%;
- font-size:1.05em;
- margin-bottom:.5em;
- }
- .linksection {
- width:calc(50% - .75em);
- display:flex;
- justify-content:flex-start!important;
- align-items:flex-start;
- flex-wrap:wrap;
- gap:.5em;
- }
- .linksection.long {width:100%;}
- .linksection.long .lslinks {width:calc(50% - .25em);}
- .linksection.long.three .lslinks {width:calc(33% - .25em);}
- .linksection .lstitle {
- position:relative;
- width:100%;
- font-family:var(--TitleFont), sans-serif;
- font-size:1.1em;
- font-weight:700;
- color:var(--ColorTitle);
- padding-bottom:.15em;
- border-bottom:1px solid var(--ColorBorders);
- }
- .linksection .lslinks {
- display:flex;
- flex-direction:column;
- gap:.25em;
- }
- .lslinks a {
- display:flex;
- justify-content:flex-start;
- align-items:center;
- gap:.5em;
- }
- .lslinks b {
- font-size:1.05em;
- font-weight:normal;
- color:var(--ColorText);
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- .lslinks a:hover b {color:var(--ColorTitle);}
- .lslinks i {
- font-size:1.2em;
- color:var(--ColorLink);
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- .lslinks a:hover i {color:var(--ColorAccent);}
- /*---- RESPONSIVENESS ---*/
- @media only screen and (max-width: 1000px) {
- section {width:650px;}
- article.links, article.links.long {width:calc(100% - 2em);}
- }
- @media only screen and (max-width: 800px) {
- a.headerimg, .tmblr-iframe-compact .tmblr-iframe--unified-controls, #controlsbutton {display:none;}
- section {width:500px;}
- .linksection.long.three .lslinks {width:calc(50% - .25em);}
- }
- @media only screen and (max-width: 600px) {
- section {width:calc(100% - .5em); margin-left:auto; margin-right:auto;}
- #search {width:100px;}
- }
- @media only screen and (max-width: 450px) {
- article.links, article.links.long {width:100%;}
- }
- {CustomCSS}
- </style>
- </head>
- <!----- HTML ----->
- <body>
- <main> <!-- main container -->
- <!-- HEADER --->
- <header>
- <div class="topleft">
- <a class="headerimg" target="_blank" href="//tumblr.com/follow/{Name}" title="follow @{Name}"><img src="{PortraitURL-128}"></a>
- <a class="headertitle" href="/">
- <b>navigation</b>
- <li><i class="ti ti-at"></i><span>{Name}</span></li>
- </a>
- </div>
- <div class="topright">
- <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"></i></span>
- </button>
- <a id="totop" title="back to top" href="#top" target="_self"><i class="ti ti-arrow-up"></i></a>
- <div title="toggle controls" id="controlsbutton"><i class="ti ti-settings"></i></div>
- </div>
- </header>
- <section><!-- section -->
- <!-- EDIT HERE: LINKS --
- - there are two options for link sections, regular and long
- REGULAR LINK SECTION FORMAT:
- <div class="linksection">
- <div class="lstitle">SUBTITLE</div>
- <div class="lslinks">
- <a href="/LINK"><i class="ti ti-ICON"></i><b>LINK NAME</b></a>
- </div>
- </div>
- - capitalized words indicate what you can change
- - copy and paste as needed, but make sure there is an even number of these or it will look weird
- LONG LINK SECTION FORMAT:
- <div class="linksection long">
- <div class="lstitle">SUBTITLE</div>
- <div class="lslinks">
- <a href="/LINK"><i class="ti ti-ICON"></i><b>LINK NAME</b></a>
- </div>
- <div class="lslinks">
- <a href="/LINK"><i class="ti ti-ICON"></i><b>LINK NAME</b></a>
- </div>
- </div>
- - capitalized words indicate what you can change
- - copy and paste as needed
- --- IF YOU WANT TO ADD A NEW SEPARATE LINK BLOCK ---
- FORMAT EXAMPLE:
- <article class="links">
- <div class="links-top">
- <b>LINK BLOCK TITLE</b>
- <i class="ti ti-ICON"></i>
- </div>
- <div class="links-mid">
- <div class="linksection">
- <div class="lstitle">SUBTITLE</div>
- <div class="lslinks">
- <a href="/LINK"><i class="ti ti-ICON"></i><b>LINK NAME</b></a>
- </div>
- </div>
- <div class="linksection long">
- <div class="lstitle">SUBTITLE</div>
- <div class="lslinks">
- <a href="/LINK"><i class="ti ti-ICON"></i><b>LINK NAME</b></a>
- </div>
- <div class="lslinks">
- <a href="/LINK"><i class="ti ti-ICON"></i><b>LINK NAME</b></a>
- </div>
- </div>
- </div>
- </article>
- - capitalized words indicate what you can change
- - copy and paste as needed
- -->
- <article class="links">
- <div class="links-top">
- <!-- change the title & icon here -->
- <b>link block title</b>
- <i class="ti ti-heart"></i>
- </div>
- <div class="links-mid">
- <div class="linksection"><!-- this is a regular link section -->
- <div class="lstitle">subtitle</div>
- <div class="lslinks">
- <a href="/"><i class="ti ti-link"></i><b>link one</b></a>
- <a href="/"><i class="ti ti-link"></i><b>link two</b></a>
- <a href="/"><i class="ti ti-link"></i><b>link three</b></a>
- </div>
- </div>
- <div class="linksection">
- <div class="lstitle">subtitle</div>
- <div class="lslinks">
- <a href="/tagged/"><i class="ti ti-tag"></i><b>tag one</b></a>
- <a href="/tagged/"><i class="ti ti-tag"></i><b>tag two</b></a>
- <a href="/tagged/"><i class="ti ti-tag"></i><b>tag three</b></a>
- </div>
- </div>
- <div class="linksection long"><!-- this is a long link section -->
- <div class="lstitle">subtitle</div>
- <div class="lslinks"><!-- these links show up on the left -->
- <a href="/"><i class="ti ti-link"></i><b>link one</b></a>
- <a href="/"><i class="ti ti-link"></i><b>link two</b></a>
- <a href="/"><i class="ti ti-link"></i><b>link three</b></a>
- </div>
- <div class="lslinks"><!-- these links show up on the right -->
- <a href="/"><i class="ti ti-link"></i><b>link four</b></a>
- <a href="/"><i class="ti ti-link"></i><b>link five</b></a>
- <a href="/"><i class="ti ti-link"></i><b>link six</b></a>
- </div>
- </div>
- </div>
- </article>
- <!-- this is separate link block -->
- <article class="links">
- <div class="links-top">
- <b>link block title</b>
- <i class="ti ti-star"></i>
- </div>
- <div class="links-mid">
- <div class="linksection long">
- <div class="lstitle">subtitle</div>
- <div class="lslinks">
- <a href="/tagged/"><i class="ti ti-tag"></i><b>tag one</b></a>
- <a href="/tagged/"><i class="ti ti-tag"></i><b>tag two</b></a>
- <a href="/tagged/"><i class="ti ti-tag"></i><b>tag three</b></a>
- </div>
- <div class="lslinks">
- <a href="/tagged/"><i class="ti ti-tag"></i><b>tag four</b></a>
- <a href="/tagged/"><i class="ti ti-tag"></i><b>tag five</b></a>
- <a href="/tagged/"><i class="ti ti-tag"></i><b>tag six</b></a>
- </div>
- </div>
- <div class="linksection">
- <div class="lstitle">subtitle</div>
- <div class="lslinks">
- <a href="/"><i class="ti ti-link"></i><b>link one</b></a>
- <a href="/"><i class="ti ti-link"></i><b>link two</b></a>
- <a href="/"><i class="ti ti-link"></i><b>link three</b></a>
- </div>
- </div>
- <div class="linksection">
- <div class="lstitle">subtitle</div>
- <div class="lslinks">
- <a href="/"><i class="ti ti-link"></i><b>link one</b></a>
- <a href="/"><i class="ti ti-link"></i><b>link two</b></a>
- <a href="/"><i class="ti ti-link"></i><b>link three</b></a>
- </div>
- </div>
- </div>
- </article>
- </section><!-- section ends -->
- <!----- FOOTER: no need to change anything here ----->
- <footer>
- <div class="footerleft">
- <!--- SEARCH BAR --->
- <div id="search">
- <i class="ti ti-search"></i>
- <form class="search" action="javascript:return false">
- <input type="text" class="query" placeholder="search">
- </form>
- </div>
- </div>
- <!-- NAVIGATION --->
- <div class="footermid">
- <a title="home" href="/"><i class="ti ti-home"></i></a>
- <a title="contact" href="/ask"><i class="ti ti-message-dots"></i></a>
- <a title="archive" href="/archive"><i class="ti ti-archive"></i></a>
- </div>
- <div class="footerright">
- <a title="toggle sidebars" class="sidebarbutton"><i class="ti ti-layout-board"></i></a>
- <!--- CREDIT: DO NOT TOUCH --->
- <a class="credit" title="page by sage" href="https://phantomcodes.tumblr.com"><i class="ti ti-ghost-2"></i></a>
- </div>
- </footer>
- </main><!-- end of main container -->
- <script>
- // tooltips
- tippy('[title]', {
- theme: 'custom',
- arrow: false,
- followCursor: true,
- delay: 100,
- placement: 'bottom',
- offset: "40, 10",
- zIndex: 9999999999,
- maxWidth: 400,
- content(reference) {
- const title = reference.getAttribute('title');
- reference.removeAttribute('title');
- return title;
- },
- });
- // searchbar
- $(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;
- });
- });
- // tumblr controls
- $(document).ready(function(){
- $('#controlsbutton').click(function(){
- $('body').toggleClass('controlsclick');
- });
- });
- // 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