Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- ★ STAR CHARMS - - - - ★
- ★ a free-to-use code - -★
- ★ by werebear - - - -★
- RULES
- Please don't remove my credit.
- Feel free to edit as you please.
- - This includes frankensteining, referencing, whatnot.
- If you're feeling kind, I'd appreciate a fave and would love to see if you've used this.
- NOTES
- Not WYSIWYG friendly, keep it off.
- Should be relatively mobile-friendly.
- The charms will hide on xs displays, as they would otherwise display in a single, very long line.
- Available in custom colors and bootstrap colors.
- CUSTOMIZATION
- Colors -
- text-primary:
- Name, name decor, quote source, info accent, charms
- text-secondary:
- Details below name, quote, info box text
- text-light:
- Main text body.
- bg-dark:
- Main container background
- bg-light:
- Info box background.
- Use ctrl+F and replace all to change these icons easily.
- Icons -
- Name Moon: fad fa-moon-stars
- Name Star: fad fa-stars
- Quotes -
- Left: fad fa-quote-left
- Right: fad fa-quote-right
- Likes: fas fa-heart
- If you're changing this one, change dislikes first.
- If you're not changing dislikes, too, you'll need to change them by hand or it will break the dislikes.
- Dislikes: fas fa-heart-broken
- Charm strands: fad fa-circle
- Charms: fad fa-star
- If you are changing this icon, either change the name one first or fix it after replacing them.
- You can remove the animation by deleting fa-pulse from each.
- If you want a smoother animation, change fa-pulse to fa-spin.
- ★ Enjoy! ★
- -->
- <!-- Top text begin -->
- <div class="container mx-auto w-70" style="max-width:800px">
- <div class="row mx-auto text-primary" style="font-variant:small-caps;text-align:center">
- <div class="col-sm-6"> <span style="font-size:250%">
- <!-- Name, pronouns, traits! -->
- <i class="fad fa-moon-stars"></i>
- Name
- <i class="fad fa-stars"></i>
- </span>
- <br> <span class="text-secondary" style="font-size:100%">
- Pro/noun
- ∙∙
- Trait
- ∙∙
- Trait
- ∙∙
- Trait
- </span>
- </div>
- <!-- Quote! --!>
- <!-- If it's too long, it will look weird. -->
- <!-- if you want no quote, delete from here to the next </div>
- and your left side text will appear in the middle, then -->
- <div class="col-sm-6 text-secondary"> <i class="fad fa-quote-left" style="float:left"></i>
- Quotation, n: The act of repeating erroneously the words of another. <i class="fad fa-quote-right" style="float:right"></i>
- <br> <span class="text-primary" style="font-size:80%">
- - <i>Ambrose Bierce</i>
- </span>
- </div>
- </div>
- </div>
- <!-- Main box -->
- <div class="container mx-auto w-70 h-50 bg-dark text-light" style="border-radius:40px;max-width:800px;padding:2%">
- <!-- Details box -->
- <div class="row no-gutters bg-light text-secondary" style="border-radius:20px;height:50%;padding:2%">
- <!-- Info form -->
- <!-- If you add any extra lines, you may need to tweak the other parts of this box to prevent it from looking unbalanced. -->
- <div class="col-sm-4" style="padding-top:2%">
- <span class="text-primary" style="font-weight:bold;padding-right:4px">
- Full Name:
- </span>
- ?????
- <br> <span class="text-primary"style="font-weight:bold;padding-right:4px">
- Nickname:
- </span>
- ?????
- <br> <span class="text-primary" style="font-weight:bold;padding-right:4px">
- Species:
- </span>
- ?????
- <br> <span class="text-primary" style="font-weight:bold;padding-right:4px">
- Age:
- </span>
- ?????
- <br> <span class="text-primary" style="font-weight:bold;padding-right:4px">
- Birthday:
- </span>
- ?????
- <br> <span class="text-primary" style="font-weight:bold;padding-right:4px">
- Gender:
- </span>
- ?????
- <br> <span class="text-primary" style="font-weight:bold;padding-right:4px">
- Orientation:
- </span>
- ?????
- <br> <span class="text-primary" style="font-weight:bold;padding-right:4px">
- Height:
- </span>
- ?????
- <br> <span class="text-primary" style="font-weight:bold;padding-right:4px">
- Alignment:
- </span>
- ?????
- <br> <span class="text-primary" style="font-weight:bold;padding-right:4px">
- Job:
- </span>
- ?????
- </div>
- <div class="col-sm-4">
- <div class="short-div" style="margin:15px">
- <!-- Likes -->
- <!-- Again, may require some fiddling with other elements in the box if you make these much longer. -->
- <i class="fas fa-heart text-primary"></i> ?????
- <br> <i class="fas fa-heart text-primary"></i> ?????
- <br> <i class="fas fa-heart text-primary"></i> ?????
- <br> <i class="fas fa-heart text-primary"></i> ?????
- <br>
- </div>
- <i class="fas fa-star" style="font-size:75%;margin-right:6px"></i><i class="fas fa-star"></i><i class="fas fa-star" style="font-size:75%;margin-left:6px"></i>
- <div class="short-div" style="margin:15px">
- <!-- Dislikes -->
- <i class="fas fa-heart-broken text-primary"></i> ?????
- <br> <i class="fas fa-heart-broken text-primary"></i> ?????
- <br> <i class="fas fa-heart-broken text-primary"></i> ?????
- <br> <i class="fas fa-heart-broken text-primary"></i> ?????
- <br>
- </div>
- </div>
- <div class="col-sm-4">
- <!-- Credit! You may relocate and change how it looks, but please leave it intact. --> <span style="position:float;float:right">
- <a href="" class="text-muted" style="text-decoration:none"><i class="fas fa-code fa-sm"></i></a>
- </span>
- <!-- Image -->
- <!-- This looks best with an image with a center focus. -->
- <img src="https://i.imgur.com/eVggWn5.png" class="rounded-circle" style="max-height:225px;padding-top:8%">
- </div>
- </div>
- <!-- Text area -->
- <!-- This will expand to fit your text and looks best if you keep it fairly short. -->
- <div class="row">
- <div class="col-xs-12" style="padding:2%">
- <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus hendrerit. Pellentesque aliquet nibh nec urna. In nisi neque, aliquet vel, dapibus id, mattis vel, nisi. Sed pretium, ligula sollicitudin laoreet viverra, tortor libero sodales leo, eget blandit nunc tortor eu nibh. Nullam mollis. Ut justo. Suspendisse potenti.</p>
- <p>Sed egestas, ante et vulputate volutpat, eros pede semper est, vitae luctus metus libero eu augue. Morbi purus libero, faucibus adipiscing, commodo quis, gravida id, est. Sed lectus. Praesent elementum hendrerit tortor. Sed semper lorem at felis. Vestibulum volutpat, lacus a ultrices sagittis, mi neque euismod dui, eu pulvinar nunc sapien ornare nisl. Phasellus pede arcu, dapibus eu, fermentum et, dapibus sed, urna.</p>
- <p>Morbi interdum mollis sapien. Sed ac risus. Phasellus lacinia, magna a ullamcorper laoreet, lectus arcu pulvinar risus, vitae facilisis libero dolor a purus. Sed vel lacus. Mauris nibh felis, adipiscing varius, adipiscing in, lacinia vel, tellus. Suspendisse ac urna. Etiam pellentesque mauris ut lectus. Nunc tellus ante, mattis eget, gravida vitae, ultricies ac, leo. Integer leo pede, ornare a, lacinia eu, vulputate vel, nisl.</p>
- </div>
- </div>
- </div>
- <!-- ★ Now the charms! ★ -->
- <!-- These are easily changed out for different ones, see header text for details. -->
- <!-- They will auto-hide on extra small displays as they can't display properly there. -->
- <div class="container mx-auto hidden-xs-down w-70" style="max-width:800px;text-align:center">
- <div class="row no-gutters text-primary">
- <div class="col-sm-1"> <span style="font-size:85%">
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- </span>
- <span style="font-size:170%">
- <i class="fad fa-star fa-pulse" style="animation-duration: 7.8s"></i>
- </span>
- </div>
- <div class="col-sm-1"> <span style="font-size:85%">
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- </span>
- <span style="font-size:170%">
- <i class="fad fa-star fa-pulse" style="font-size:25px;animation-duration: 7.3s;animation-direction:reverse;"></i>
- </span>
- </div>
- <div class="col-sm-1"> <span style="font-size:85%">
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- </span>
- <span style="font-size:170%">
- <i class="fad fa-star fa-pulse" style="font-size:25px;animation-duration: 6.8s"></i>
- </span>
- </div>
- <div class="col-sm-1 offset-sm-1"> <span style="font-size:85%">
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- </span>
- <span style="font-size:170%">
- <i class="fad fa-star fa-pulse" style="font-size:25px;animation-duration: 7.5s;animation-direction:reverse;"></i>
- </span>
- </div>
- <div class="col-sm-1 offset-sm-1"> <span style="font-size:85%">
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- </span>
- <span style="font-size:170%">
- <i class="fad fa-star fa-pulse" style="font-size:25px;animation-duration: 5.5s;animation-direction:reverse;"></i>
- </span>
- </div>
- <div class="col-sm-1"> <span style="font-size:85%">
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- </span>
- <span style="font-size:170%">
- <i class="fad fa-star fa-pulse" style="font-size:25px;animation-duration: 6.5s;"></i>
- </span>
- </div>
- <div class="col-sm-1"> <span style="font-size:85%">
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- </span>
- <span style="font-size:170%">
- <i class="fad fa-star fa-pulse" style="font-size:25px;animation-duration: 7s;animation-direction:reverse;"></i>
- </span>
- </div>
- <div class="col-sm-1 offset-sm-1"> <span style="font-size:85%">
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- </span>
- <span style="font-size:170%">
- <i class="fad fa-star fa-pulse" style="font-size:25px;animation-duration: 8s;"></i>
- </span>
- </div>
- <div class="col-sm-1"> <span style="font-size:85%">
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- <i class="fad fa-circle"></i><br>
- </span>
- <span style="font-size:170%">
- <i class="fad fa-star fa-pulse" style="font-size:25px;animation-duration: 6s;"></i>
- </span>
- </div>
- </div>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement