Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML>
- <meta charset="utf-8">
- <HTML>
- <!--
- about code by @sadthemes on tumblr
- PICK COLORS FROM IMAGE YOU USE :D
- https://imagecolorpicker.com/
- HEX COLOR TO RGBA CONVERTER
- http://hex2rgba.devoth.com/
- UPLOAD IMAGES HERE
- https://imgur.com/
- TOOLTIP LINK
- <a href="/" data-toggle="tooltip" title="TITLE">LINK</a>
- REGULAR LINK
- <a href="/">LINK</a>
- -->
- <!-- FAVICON -->
- <link rel="icon" href="https://i.imgur.com/gjJVigm.png" type="image/gif" >
- <HEAD>
- <!-- GOOGLE FONTS HERE! -->
- <!-- https://fonts.google.com/ -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
- <script type="text/javascript" src="https://static.tumblr.com/7qjmkr5/IUmmdsy41/jquery.style-my-tooltips.js"></script>
- <script>
- (function($){
- $(document).ready(function(){
- $("[title]").style_my_tooltips();
- });
- })(jQuery);
- </script>
- <!-- TITLE FOR THE PAGE -->
- <TITLE>INFO</TITLE>
- <style type="text/css">
- #s-m-t-tooltip {
- background: rgba(0, 0, 0, 0.5);
- color: #000;
- text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
- z-index: 999999999;
- Text-transform: none;
- text-align: center;
- line-height: 130%;
- transition: all 0.3s ease-out;
- -o-transition: all 0.3s ease-out;
- -webkit-transition: all 0.3s ease-out;
- -moz-transition: all 0.3s ease-out;
- max-width: 430px;
- word-wrap: break-word;
- padding: 5px 5px 5px 5px;
- display: block;
- margin:-40px 7px -2px 20px;
- z-index: 999999999999;}
- body {
- /* FONT STYLE */
- font-family: consolas;
- font-size: 18px;
- /* PAGE BACKGROUND */
- background-color: #000;
- background-image: url("URL.PNG");
- /* if you want your background covered use this instead and remove the background-image line above and the '/ *'
- background-image: url("URL.PNG") no-repeat center center fixed;
- -webkit-background-size: cover;
- -moz-background-size: cover;
- -o-background-size: cover;
- background-size: cover;
- */
- margin: 0;
- line-height: 120%;
- -webkit-font-smoothing: antialiased;
- text-rendering: optimizeLegibility;
- -moz-osx-font-smoothing: grayscale;
- }
- ::-webkit-scrollbar {
- width: 2px;
- }
- ::-webkit-scrollbar-track {
- /* SCROLL BACKGROUND */
- background: #aaa;
- }
- ::-webkit-scrollbar-thumb {
- /* SCROLL THUMB BACKGROUND */
- background: #000;
- }
- /* WHEN TEXT IS HILIGHTED [gotta edit both to same color]*/
- ::-moz-selection {
- background: #444;
- color: #fff;
- }
- ::selection {
- background: #444;
- color: #fff;
- }
- #main {
- /* STYLE FOR INFO AREA */
- border: 2px outset #ff0000;
- BACKGROUND: #aaa;
- text-align: justify;
- width: 500px;
- height: 200px;
- margin: 200px auto;
- overflow: auto;
- }
- a {
- /* CONTENT LINK COLOR [NOT FOR HOVER LINKS] */
- color: #000;
- text-decoration: underline;
- transition: 0.3s;
- }
- a:hover {
- /* HOVER OBVI LOL */
- color: #ff0000;
- transition: 0.3s;
- }
- p {
- margin: 10px 0 0 0;
- }
- h1 {
- /* STYLE FOR TITLE OF INFO [this might need some editing for whatever you'll make for the title] */
- background: #000;
- color: #000;
- text-shadow: -1px 0 #ff0000, 0 1px #ff0000, 1px 0 #ff0000, 0 -1px #ff0000;
- font-size: 28px;
- margin: 0px;
- text-align: center;
- font-weight: 700;
- padding: 20px 0 20px 0;
- text-transform: uppercase;
- }
- h2 {
- /* SUBTITLE OF INFO AREA */
- color: #ff0000;
- font-size: 26px;
- text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
- font-weight: normal;
- margin: 5px 0 5px 0;
- }
- .desc {
- padding: 0 5px;
- }
- /* this is ONLY the border for the right side of your image */
- .container img {
- border-right: 2px solid #ff0000;
- }
- /* style for hover links container */
- .ah {
- background: #000;
- border: 2px solid #ff0000;
- border-left: 0; border-top: 0;
- padding: 5px;
- }
- /* HOVER LINKS OVER IMAGE */
- .ah a {
- color: #000;
- font-size: 14px;
- text-shadow: -1px 0 #ff0000, 0 1px #ff0000, 1px 0 #ff0000, 0 -1px #ff0000;
- filter: drop-shadow(0 0 2px #9A483F);
- font-weight: 700;
- padding: 5px;
- text-decoration: none;
- }
- /* HOVER LINKS WHEN HOVERED LOL */
- .ah a:hover {
- background-color: #ff0000;
- color: #000;
- filter: drop-shadow(0 0 0);
- }
- /* IGNORE ALL OF THE REST OF THE CODE */
- .content {
- margin-left: 200px;
- }
- .left {
- bottom: 0;
- left: 0;
- position:fixed;
- z-index: -1;
- }
- .left img {
- max-width: 100%;
- max-height: 100vh;
- height: auto;
- }
- .right {
- bottom: 0;
- right: 0;
- position:fixed;
- z-index: -1;
- }
- .right img {
- max-width: 100%;
- max-height: 100vh;
- height: auto;
- }
- .container {
- position: fixed;
- }
- .image {
- opacity: 1;
- display: block;
- width: 100%;
- height: auto;
- transition: .5s ease;
- backface-visibility: hidden;
- }
- .middle {
- transition: .5s ease;
- opacity: 0;
- position: absolute;
- bottom: 4px;
- width: 100%;
- text-align: center;
- }
- .container:hover .image {
- opacity: 0.3;
- }
- .container:hover .middle {
- opacity: 1;
- }
- .text {
- font-family: inherit;
- }
- .tmblr-iframe-compact .tmblr-iframe--unified-controls {
- -webkit-filter: opacity(0);
- filter: opacity(0);
- transition: all 0.3s ease-out;
- -o-transition: all 0.3s ease-out;
- -webkit-transition: all 0.3s ease-out;
- -moz-transition: all 0.3s ease-out;
- }
- .tmblr-iframe-compact .tmblr-iframe--unified-controls:hover {
- -webkit-filter: opacity(1);
- filter: opacity(1);
- transition: all 0.3s ease-out;
- -o-transition: all 0.3s ease-out;
- -webkit-transition: all 0.3s ease-out;
- -moz-transition: all 0.3s ease-out;
- }
- </style>
- </HEAD>
- <body>
- <div id="main">
- <div class="sidenav">
- <div class="container">
- <!--IMAGE HAS TO BE 200x200 pixels! -->
- <img src="https://i.imgur.com/gWlV5AC.png">
- <div class="middle">
- <div class="text">
- <div class="ah">
- <!-- your links add as many as you want tbh -->
- <a href="/" data-toggle="tooltip" title="TITLE">ONE</a>
- <a href="/">TWO</a>
- <a href="/" data-toggle="tooltip" title="TITLE">THREE</a>
- <a href="/">FOUR</a>
- </div></div></div></div>
- </div>
- <div class="content">
- <!-- INFO TITLE -->
- <h1>TITLE</h1>
- <div class="desc">
- <!-- <P>WORDS WORDS WORDS</P> TO BREAK INTO PARAGRAPHS -->
- <p>name, age, pronouns. <a href="https://pastebin.com/R0qYrtdG">code here</a>
- </p>
- <p>
- <!-- SUB TITLES -->
- <h2>YES!</h2>
- words, and words, maybe another word!
- </P>
- <p>
- <h2>NO!</h2>
- people who are gross and like gross media.
- </p>
- <p>
- <h2>HUH</h2>
- wuh?
- </p>
- <p>
- <!-- i normally put credit to whatever image i'm using here or whatever items you are using that's not yours. or extra links! -->
- <a href="/" data-toggle="tooltip" title="CREDIT">©</a>
- <!-- don't remove this link pls :3 -->
- <a href="https://sadthemes.tumblr.com/" data-toggle="tooltip" title="about code">©</a>
- </div></div>
- <!-- these are containers for images to float on the left/right side
- if you dont want them just remove the image! -->
- <div class="left">
- <!-- use
- <img src="URL.PNG">
- -->
- </div>
- <div class="right">
- <img src="https://i.imgur.com/1lGpaEt.png">
- <!-- use
- <img src="URL.PNG">
- -->
- </div>
- </body>
- </HTML>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement