Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <head>
- <!--
- Guava
- astrocodes @ tumblr.com
- Inspiration: https://dribbble.com/shots/6608047-Workout-App
- -->
- <link href="https://fonts.googleapis.com/css?family=Overpass:400,400i,600,600i,700,700i|Karla:400,400i,700,700i|Roboto+Mono:400,400i,700,700i|Chivo:400,400i,700,700i|IBM+Plex+Sans:400,400i,700,700i&display=swap" rel="stylesheet">
- <script src="https://kit.fontawesome.com/c2d255a331.js" crossorigin="anonymous"></script>
- <style>
- /*
- CUSTOMIZATION GUIDE
- Colors:
- > #FA6566 is the red color; it corresponds to the 'About me' card and the arrow nav link. Its RGB equivalent is 'rgba(239,91,91,0.2)' in the code; this is the background color for the arrow nav link.
- > #50BC74 is the green color; it corresponds to the 'Tags' card and the calendar nav link. Its RBG equivalent is 'rgba(80,188,116,0.2)' in the code; this is the background color for the calendar nav link.
- > #585AEC is the purple color; it corresponds to the 'Links' card and the pencil bubble nav link. Its RBG equivalent is 'rgba(88,90,236,0.2)' in the code; this is the background color for the pencil bubble nav link.
- > #1AD0D2 is the blue color; it corresponds to the 'FAQ' card and the laptop code nav link. Its RBG equivalent is 'rgba(26,208,210,0.2)' in the code; this is the background color for the laptop code nav link.
- > #FC72A4 is the pink color; it only corresponds to the 'Social' card.
- To get different RBG values, head to https://htmlcolorcodes.com/color-picker/.
- Choose a color from the color picker. It will automatically give you both a HEX value and an RBG value.
- Match the HEX values with every nth-of-type(1), nth-of-type(2), and so on. These will either be for the 'background-color', or just the 'color'.
- Of course, if you want to change the colors completely and have them not match, that's okay too.
- ---
- That's just for the colors. There are several notes in the code to help you with other parts of the customization.
- Knowledge of HTML/CSS is recommended, but I've tried my best to make the notes as easy to understand as possible! If something isn't clear, please feel free to send me a message and I'll help you out!
- */
- * { box-sizing: border-box; }
- body {
- background-color:#114CA6; /* background color for the entire page */
- font-family:'Chivo'; /* font for the entire page */
- }
- a {
- text-decoration:none;
- transition:.2s;
- }
- a:hover {
- transition:.2s;
- }
- ::-webkit-scrollbar {
- display:none;
- }
- b, strong {
- font-weight:700;
- }
- ::selection {
- background-color:rgba(255,255,255,0.15);
- }
- /* ---- wrapper ---- */
- .wrapper {
- margin-left:250px;
- margin-top:80px;
- }
- .wrapper:after {
- content: '';
- display: block;
- clear: both;
- }
- /* ---- CARDS ---- */
- .card {
- width:460px; /* you can play around with the height to suit your preferences */
- height:380px; /* you can play around with the width to suit your preferences */
- padding:30px; /* don't adjust this */
- float: left;
- margin:20px; /* the space between each one */
- background: #fff; /* background color for the tag groups */
- border-radius:25px; /* change how rounded the corners are */
- transition:.3s ease-in-out;
- text-align:left;
- color:#fff;
- overflow:auto;
- }
- /* about me card*/
- .card:hover:nth-of-type(1) {
- transform:translateY(-10px); /* the effect when you hover over a card */
- transition:.3s ease-in-out;
- }
- /* tags card */
- .card:hover:nth-of-type(2) {
- transform:translateY(-10px);
- transition:.3s;
- }
- /* links card */
- .card:hover:nth-of-type(3) {
- transform:translateY(-10px);
- transition:.3s;
- }
- /* faq card */
- .card:hover:nth-of-type(4) {
- transform:translateY(-10px);
- transition:.3s;
- }
- /* social card*/
- .card:hover:nth-of-type(5) {
- transform:translateY(-10px);
- transition:.3s;
- }
- /* card icons */
- .fa-address-card, .fa-tags, .fa-link, .fa-comments-alt, .fa-smile {
- font-size:23px;
- background-color:rgba(255,255,255,0.15);
- padding:12px;
- border-radius:100%;
- width:49px;
- text-align:center;
- vertical-align:middle;
- margin-bottom:15px;
- box-shadow: inset 0px 0px 0px 3px rgba(255,255,255,0.15);
- color:#fff;
- }
- /* ---- FIRST CARD (ABOUT ME) ---- */
- .card:nth-of-type(1) {
- background-color:#FA6566;
- }
- /* ---- SECOND CARD (TAGS) ---- */
- .card:nth-of-type(2) {
- background-color:#50BC74;
- }
- /* ---- THIRD CARD (LINKS) ---- */
- .card:nth-of-type(3) {
- background-color:#585AEC;
- }
- /* ---- FOURTH CARD (FAQ) ---- */
- .card:nth-of-type(4) {
- background-color:#1AD0D2;
- }
- /* ---- FIFTH CARD (SOCIAL) ---- */
- .card:nth-of-type(5) {
- background-color:#FC72A4;
- }
- .card-name {
- font-weight:700;
- font-size:23px;
- letter-spacing:0.5px;
- }
- .card-content {
- margin-top:20px;
- font-size:13px;
- letter-spacing:0.3px;
- line-height:23px;
- }
- /* content for the tags card specifically */
- .tags-card-content {
- margin-top:20px;
- font-size:13px;
- letter-spacing:0.3px;
- line-height:23px;
- }
- .tags-card-content a {
- display:inline-block;
- background:rgba(255,255,255,0.15);
- padding-left:15px;
- padding-right:15px;
- border-radius:20px;
- color:#fff;
- text-align:center;
- margin-right:3px;
- margin-bottom:7px;
- transition:.3s;
- padding-top:3px;
- padding-bottom:3px;
- }
- .tags-card-content a:hover {
- background:none;
- box-shadow: inset 0px 0px 0px 3px rgba(255,255,255,0.2);
- transition:.3s;
- }
- /* ---- SOCIAL CARD ---- */
- /* these are the social icons you can choose from */
- /* if you want to add more, go to https://fontawesome.com/icons?d=gallery&s=brands, find the icon you want, and add .fa-[icon name] to the list of icons below. make sure to separate them with a comma */
- .fa-discord, .fa-playstation, .fa-instagram, .fa-steam, .fa-twitter, .fa-twitch, .fa-skype, .fa-snapchat-ghost, .fa-reddit-alien, .fa-xbox, .fa-youtube, .fa-tumblr, .fa-lastfm, .fa-github-alt {
- padding-top:35px;
- border-radius:5px;
- text-align:center;
- vertical-align:middle;
- font-size:25px;
- }
- .flip-card {
- background-color: transparent;
- width: 126px;
- height: 100px;
- perspective: 1100px;
- border-radius:10px;
- display:inline-block;
- margin-right:5px;
- }
- .flip-card-inner {
- position: relative;
- width: 100%;
- height: 100%;
- text-align: center;
- transition: transform 0.8s;
- transform-style: preserve-3d;
- }
- .flip-card:hover .flip-card-inner {
- transform: rotateY(180deg);
- cursor:pointer;
- }
- .flip-card-front, .flip-card-back {
- position: absolute;
- width: 100%;
- height: 100%;
- backface-visibility: hidden;
- }
- .flip-card-front {
- background-color:rgba(255,255,255,0.2);
- color:#fff;
- border-radius:10px;
- vertical-align:middle;
- }
- .flip-card-back {
- background-color:rgba(255,255,255,0.4);
- color:white;
- transform: rotateY(180deg);
- border-radius:10px;
- padding-top:40px;
- }
- /* ---- SIDEBAR ---- */
- .sidebar {
- height:calc(100% - 100px);
- width:200px;
- background:#fff;
- text-align:center;
- position:fixed;
- bottom:0;
- border-top-right-radius:25px;
- overflow:hidden;
- left:0;
- }
- .sidebar-nav {
- font-size:23px;
- }
- .sidebar-nav a {
- display:block;
- padding:10px;
- padding-top:100px;
- padding-bottom:100px;
- text-transform:uppercase;
- font-weight:700;
- letter-spacing:1px;
- text-align:center;
- width:210px;
- margin-right:-7px;
- margin-left:-7px;
- transition:.3s;
- }
- .sidebar-nav a:hover {
- color:#fff;
- opacity:1;
- }
- /* --- FIRST NAV LINK (ARROW) ---- */
- .sidebar-nav a:nth-of-type(1) {
- color:#FA6566;
- }
- .sidebar-nav a:hover:nth-of-type(1) {
- color:#FA6566;
- background:rgba(250,101,102,0.2);
- }
- .sidebar-nav a:hover:nth-of-type(1) .fa-reply {
- transform:scale(1.2);
- transition:.3s;
- }
- /* ---- SECOND NAV LINK (CALENDAR) ---- */
- .sidebar-nav a:nth-of-type(2) {
- color:#50BC74;
- }
- .sidebar-nav a:hover:nth-of-type(2) {
- color:#50BC74;
- background:rgba(80,188,116,0.2);
- }
- .sidebar-nav a:hover:nth-of-type(2) .fa-calendar-day {
- transform:scale(1.2);
- transition:.3s;
- }
- /* ---- THIRD NAV LINK (PENCIL BUBBLE) ---- */
- .sidebar-nav a:nth-of-type(3) {
- color:#585AEC;
- }
- .sidebar-nav a:hover:nth-of-type(3) {
- color:#585AEC;
- background:rgba(88,90,236,0.2);
- }
- .sidebar-nav a:hover:nth-of-type(3) .fa-comment-alt-edit {
- transform:scale(1.2);
- transition:.3s;
- }
- /* ---- FOURTH NAV LINK (LAPTOP CODE) ---- */
- .sidebar-nav a:nth-of-type(4) {
- color:#1AD0D2;
- }
- .sidebar-nav a:hover:nth-of-type(4) {
- color:#1AD0D2;
- background:rgba(26,208,210,0.2);
- }
- .sidebar-nav a:hover:nth-of-type(4) .fa-laptop-code {
- transform:scale(1.2);
- transition:.3s;
- }
- /* ---- NAV ICONS ---- */
- .fa-reply, .fa-calendar-day, .fa-comment-alt-edit, .fa-laptop-code {
- vertical-align:middle;
- transition:.3s;
- }
- </style>
- <body>
- <div align="center">
- <div class="sidebar">
- <div class="sidebar-nav">
- <a href="/"><i class="far fa-reply"></i></a>
- <a href="/archive"><i class="fal fa-calendar-day"></i></a>
- <a href="/ask"><i class="far fa-comment-alt-edit"></i></a>
- <a href="https://astrocodes.tumblr.com"><i class="far fa-laptop-code"></i></a>
- </div>
- </div>
- </div>
- <div class="wrapper" data-masonry='{ "itemSelector": ".card", "columnWidth": 160 }'>
- <!----- ABOUT ME CARD ------------------------------------------------------->
- <!-- to make a new card, copy the code from here... -->
- <div class="card">
- <i class="fal fa-address-card"></i><br>
- <span class="card-name">About me</span>
- <div class="card-content">
- <b>Name:</b> Kay<br> <!-- your name; only replace 'Kay' -->
- <b>Age:</b> 22 years young<br> <!-- your age; only replace the '22 years young' -->
- <b>Pronouns</b> She/her<br> <!-- your pronouns; only replace the 'She/her' -->
- <b>Location:</b> ATX <!-- your location (optional) -->
- <br><br>
- <!-- replace the text below with more info about you -->
- i'm an aspiring psychiatrist, and coding is a hobby of mine. i really like IKEA, just in general. i want to move to Sweden someday. i'm into tiny versions of regular-sized objects. orange chicken is my favorite food, but only if it's done right. my go-to starbucks order is one of the tea lemonades, or a doubleshot on ice with extra sweet cream.
- </div>
- </div>
- <!-- ...to here, and paste it -->
- <!---- END OF ABOUT ME CARD ------------------------------------------------->
- <!----- TAGS CARD ----------------------------------------------------------->
- <div class="card">
- <i class="fal fa-tags"></i><br>
- <span class="card-name">Tags</span>
- <div class="tags-card-content">
- <h4>Tag category 1</h4>
- <a href="#">tag one</a> <!-- replace '#' with your url, and 'tag one' with your tag's name -->
- <a href="#">tag two</a>
- <a href="#">tag three</a>
- <a href="#">tag four</a>
- <a href="#">tag five</a>
- <a href="#">tag six</a>
- <h4>Tag category 2</h4>
- <a href="#">tag one</a>
- <a href="#">tag two</a>
- <a href="#">tag three</a>
- <a href="#">tag four</a>
- </div>
- </div>
- <!----- END OF TAGS CARD ---------------------------------------------------->
- <!----- LINKS CARD ---------------------------------------------------------->
- <div class="card">
- <i class="fal fa-link"></i><br>
- <span class="card-name">Links</span>
- <div class="card-content">
- <div class="tags-card-content">
- <a href="#">link one</a> <!-- replace '#' with your url, and 'tag one' with your link's name -->
- <a href="#">link two</a>
- <a href="#">link three</a>
- <a href="#">link four</a>
- <a href="#">link five</a>
- <a href="#">link six</a>
- </div>
- </div>
- </div>
- <!----- END OF LINKS CARD --------------------------------------------------->
- <!----- FAQ CARD ------------------------------------------------------------>
- <div class="card">
- <i class="fal fa-comments-alt"></i><Br>
- <span class="card-name">FAQ</span>
- <div class="card-content">
- <!-- to add a new Q/A, copy from here... -->
- <b><span style="color:rgba(255,255,255,0.6);">Q: What is your name, sir?</span></b><br>
- <span style="padding-bottom:10px;">A: My name is Bill Buttlicker.</span>
- <!-- ...to here, and paste -->
- <br><br> <!-- make sure these are between every Q/A -->
- <b><span style="color:rgba(255,255,255,0.6);">Q: Really? That's your real name?</span></b><br>
- <span style="padding-bottom:10px;">A: How dare you.</span>
- </div>
- </div>
- <!----- END OF FAQ CARD ----------------------------------------------------->
- <!----- SOCIAL CARD --------------------------------------------------------->
- <div class="card">
- <i class="fal fa-smile"></i><Br>
- <span class="card-name">Social</span>
- <div class="card-content">
- <!-- start of social media card -->
- <!-- to add a new social media card, copy from here... -->
- <div class="flip-card">
- <div class="flip-card-inner">
- <div class="flip-card-front">
- <i class="fab fa-discord"></i> <!-- social icon; replace 'fa-discord' with one of the social icons from line 225 in the code -->
- </div>
- <div class="flip-card-back">
- @username <!-- social username; replace this with your username -->
- </div>
- </div>
- </div>
- <!-- ...to here, and paste -->
- <!-- end of social media card -->
- <!-- start of social media card -->
- <div class="flip-card">
- <div class="flip-card-inner">
- <div class="flip-card-front">
- <i class="fab fa-instagram"></i> <!-- social icon -->
- </div>
- <div class="flip-card-back">
- @username <!-- social username -->
- </div>
- </div>
- </div>
- <!-- end of social media card -->
- <!-- start of social media card -->
- <div class="flip-card">
- <div class="flip-card-inner">
- <div class="flip-card-front">
- <i class="fab fa-twitter"></i> <!-- social icon -->
- </div>
- <div class="flip-card-back">
- @username <!-- social username -->
- </div>
- </div>
- </div>
- <!-- end of social media card -->
- <!-- start of social media card -->
- <div class="flip-card">
- <div class="flip-card-inner">
- <div class="flip-card-front">
- <i class="fab fa-steam"></i> <!-- social icon -->
- </div>
- <div class="flip-card-back">
- @username <!-- social username -->
- </div>
- </div>
- </div>
- <!-- end of social media card -->
- <!-- start of social media card -->
- <div class="flip-card">
- <div class="flip-card-inner">
- <div class="flip-card-front">
- <i class="fab fa-twitch"></i> <!-- social icon -->
- </div>
- <div class="flip-card-back">
- @username <!-- social username -->
- </div>
- </div>
- </div>
- <!-- end of social media card -->
- <!-- start of social media card -->
- <div class="flip-card">
- <div class="flip-card-inner">
- <div class="flip-card-front">
- <i class="fab fa-reddit-alien"></i> <!-- social icon -->
- </div>
- <div class="flip-card-back">
- @username <!-- social username -->
- </div>
- </div>
- </div>
- <!-- end of social media card -->
- </div>
- </div>
- <!----- END OF SOCIAL CARD -------------------------------------------------->
- </div> <!-- don't delete this guy -->
- <!-- don't delete (or edit) these boys either -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="https://static.tumblr.com/twte3d7/H8Glm663z/masonry.js"></script>
- </body>
- </head>
Add Comment
Please, Sign In to add comment