Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- - about page 'youth' by skye southcodes.tumblr.com
- - modify as you please but please do not touch the credit
- - any errors? need help? have questions? let me know!
- southcodes.tumblr.com/inbox
- - normalize css by https://github.com/necolas
- - fonts by google
- - icon font by https://fontawesome.com/
- -->
- <!DOCTYPE html>
- <html>
- <head>
- <title>{title}</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="shortcut icon" href="{favicon}">
- <meta name="description" content="{MetaDescription}"/>
- <!-- fonts -->
- <link rel="preconnect" href="https://fonts.googleapis.com">
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="https://fonts.googleapis.com/css2?family=Corinthia:wght@400;700&family=Karla:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap" rel="stylesheet">
- <!-- normalize -->
- <link href="https://necolas.github.io/normalize.css/7.0.0/normalize.css" rel="stylesheet">
- <style>
- :root {
- --background:#ffffff;
- --text:#333333;
- --links: pink;
- --links-hover: #78368c;
- --borders:#eeeeee;
- --icons: pink
- }
- .tmblr-iframe {margin:.7rem;opacity:.6;-ms-transform: scale(0.85);-webkit-transform: scale(0.85); /* Safari */transform: scale(0.85);}
- .tmblr-iframe:hover {opacity:.8;}
- ::-webkit-scrollbar-thumb:vertical {border-left:2px solid var(--borders);}
- ::-webkit-scrollbar {width:6px}
- ::-webkit-scrollbar-track-piece{margin:5px 0;}
- pre {font-family:consolas;
- white-space: pre-wrap; /* css-3 */
- white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
- white-space: -pre-wrap; /* Opera 4- */
- white-space: -o-pre-wrap; /* Opera 7 */
- word-wrap: break-word;} /* Internet Explorer 5.5+ */
- * {box-sizing: border-box;}
- body, figure{margin:0;padding:0}
- html{font: 14px 'Karla', sans-serif;}
- body {font-size:14px;color:var(--text);background:var(--background);}
- a {text-decoration: none;color:var(--links);word-break:break-word;}
- a:hover {color:var(--links-hover);}
- blockquote {margin:0;padding:0;}
- img {max-width:100%;height: auto;display: block;margin: .7rem 0}
- hr {border:0;border-top:1px solid var(--borders);margin:0;}
- /* wrappers */
- main {
- width:50rem;
- max-width: 90vw;
- margin:5rem auto;
- }
- #header-wrapper {
- display: flex;
- flex-flow: row wrap;
- justify-content: space-evenly;
- align-items: center;
- margin: 5rem auto 0;
- max-width: 90vw;
- }
- /* page title */
- #page-title {
- /* title font size */
- font-size: 5.5rem;
- padding: 1rem 4rem 1rem 1rem;
- text-align: right;
- font-weight: 400;
- font-family:'Corinthia', cursive;
- width: calc(50% - 15rem / 2);
- }
- /* header image */
- figure.header-image {
- border: 12px solid transparent;
- outline: 1px solid var(--borders);
- width:15rem;
- height: 15rem;
- max-width: 90vw;
- border-radius: 100%;
- }
- img.header-image {
- display: block;
- margin: 0;
- width: 100%;
- height: 100%;
- border-radius: 100%;
- object-fit: cover;
- }
- /* icons navigation */
- #navigation {
- list-style: none;
- padding: 1rem;
- width: calc(50% - 15rem / 2);
- }
- #navigation ul,#navigation li {list-style-type:none;margin:0;padding:0;}
- #navigation ul {
- display: flex;
- flex-flow: row wrap;
- justify-content: space-around;
- max-width: 15rem;
- }
- #navigation li{display: inline-block;}
- #navigation .fa-solid {font-size: 1.3rem; color:var(--icons)}
- #navigation .fa-solid:hover {color: var(--links-hover);}
- /* details */
- #details {
- margin-top: 4rem;
- text-align: center;
- font-weight: 600;
- line-height: 200%;
- }
- #details li {
- list-style: none;
- display: inline-block;
- margin:0 1rem;
- vertical-align: middle;
- }
- #details li:before {
- content:'\f111';
- font-family: 'Font Awesome 5 Free';
- font-weight: 900;
- font-size: .6rem;
- color:var(--icons);
- margin-right: 1rem;
- vertical-align: middle;
- }
- /* description */
- #text {
- margin: 4rem auto 0;
- background-color: #fafafa;
- border: 1px solid var(--borders);
- padding:2rem;
- max-width: 40rem;
- line-height: 160%;
- }
- /* links and socials */
- #links-wrapper {
- margin-top: 4rem;
- display: flex;
- flex-flow: row wrap;
- justify-content: space-around;
- text-align: center;
- line-height: 170%;
- }
- #links,#socials {
- width: 50%;
- flex-grow: 1;
- }
- #links li{
- list-style:none;
- margin: 1rem 1.5rem;padding: 0;
- display: inline-block;
- }
- #links a {
- color:var(--text);
- font-weight: 600;
- border-bottom: 1px solid var(--links)
- }
- #links a:hover {color:var(--links-hover);}
- #socials i {
- margin:1rem 1.5rem;
- font-size: 1.3rem;
- }
- /* MEDIA */
- @media only screen and (min-width:0px) and (max-width:800px) {
- #header-wrapper {
- display: flex;
- flex-flow: column wrap;
- justify-content: space-evenly;
- align-items: center;
- }
- #page-title {
- width:100%;
- margin:0 0 2rem;
- padding: 0;
- text-align: center;
- }
- figure.header-image {
- margin-bottom: 2rem;
- }
- #navigation {
- list-style: none;
- width:100%;
- max-width: 20rem;
- }
- #navigation ul {
- max-width:20rem;
- }
- #links-wrapper {
- flex-direction: column;
- }
- #links,#socials {
- width: 100%;
- }
- #socials {
- margin-top: 4rem;
- }
- }
- </style>
- </head>
- <body>
- <header id="header-wrapper">
- <!-- page title -->
- <h1 id="page-title">title</h1>
- <!-- header image -->
- <figure class="header-image"><img src="IMAGE URL" alt="" class="header-image"></figure>
- <nav id="navigation"><ul>
- <li><a href="/"><i class="fa-solid fa-home"></i></a></li>
- <li><a href="/ask"><i class="fa-solid fa-envelope"></i></a></li>
- <li><a href="LINK URL"><i class="fa-solid fa-bars"></i></a></li>
- </ul></nav>
- </header>
- <main>
- <section id="details">
- <li>name</li>
- <li>age</li>
- <li>location</li>
- <li>pronouns</li>
- </section>
- <section id="text">
- text
- </section>
- <section id="links-wrapper">
- <article id="links">
- <li><a href="">#link 1</a></li>
- <li><a href="">link 2</a></li>
- </article>
- <article id="socials">
- <!-- find more icons at https://fontawesome.com/icons -->
- <a href=""><i class="fa-brands fa-twitter"></i></a>
- <a href=""><i class="fa-brands fa-instagram"></i></a>
- <a href=""><i class="fa-brands fa-paypal"></i></a>
- <a href=""><i class="fa-brands fa-facebook"></i></a>
- </article>
- </section>
- </main>
- <!-- do not touch -->
- <div style="position:fixed;bottom:2rem;right:2rem;z-index:999999999999999999999!important;font-size:.9rem;letter-spacing:.03rem;"><a href="https://southcodes.tumblr.com" title="coded by southcodes" target="_blank">SC</a></div>
- <!-- icon font -->
- <script src="https://kit.fontawesome.com/0993e30c04.js" crossorigin="anonymous"></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement