Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- page angèle by amboise n.n
- important:
- - i left one too many notes on this code so it may look disorganized and even unfinished but it's all for the sake of helping you.
- - i wouldn't recommend changing sizes of any kind (only font size) so if you really want to do it i won't provide you help with it.
- - responsiveness cannot be removed.
- - make sure you follow the terms of use.
- -->
- <!DOCTYPE html>
- <head>
- <title>angèle</title> <!-- window 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">
- <!-- font -->
- <link href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700,700i" rel="stylesheet">
- <!-- css customization -->
- <style type="text/css">
- /* tumblr controls by@cyantists */
- iframe.tmblr-iframe {
- z-index:999!important;
- top:19px!important;
- right:17.5px!important;
- opacity:0;
- padding-right:38px;
- /* delete invert(1) from here */
- filter:invert(1) contrast(150%);
- -webkit-filter:invert(1) contrast(150%);
- -o-filter:invert(1) contrast(150%);
- -moz-filter:invert(1) contrast(150%);
- -ms-filter:invert(1) contrast(150%);
- /* to here if your blog has a dark background */
- transform:scale(0.65);
- transform-origin:100% 0;
- -webkit-transform:scale(0.65);
- -webkit-transform-origin:100% 0;
- -o-transform:scale(0.65);
- -o-transform-origin:100% 0;
- -moz-transform:scale(0.65);
- -moz-transform-origin:100% 0;
- -ms-transform:scale(0.65);
- -ms-transform-origin:100% 0;
- }
- iframe.tmblr-iframe:hover {
- opacity:0.6!important;
- }
- .hcontrols {
- position:fixed;
- top:21px!important;
- right:17.5px!important;
- z-index:999;
- }
- .hcontrols svg {
- width:14px;
- height:14px;
- padding:9px;
- color:#000; /* tumblr controls icon color */
- }
- /* scrollbar */
- ::-webkit-scrollbar {
- width:.4em;
- }
- ::-webkit-scrollbar,
- ::-webkit-scrollbar-thumb {
- overflow:visible;
- border-radius:4px;
- }
- ::-webkit-scrollbar-thumb {
- background:#f8f8f8; /* scrollbar color */
- }
- /* main structure */
- body {
- color:#000; /* text color excluding sidebar */
- line-height:1.5em;
- font-size:13px; /* font size */
- font-weight:400;
- font-family: 'PT Sans', sans-serif; /* font */
- letter-spacing:.75px;
- word-wrap:break-word;
- text-align:left;
- margin:0;
- background:#f8f8f8; /* background color */
- -moz-osx-font-smoothing:grayscale;
- -webkit-font-smoothing:antialiased;
- font-smoothing:antialiased;
- }
- b, strong {
- font-weight:700;
- }
- a {
- color:inherit;
- text-decoration:none;
- transition:all .3s linear;
- -webkit-transition:all .3s linear;
- -o-transition:all .3s linear;
- -moz-transition:all .3s linear;
- }
- a, a img {
- cursor:pointer;
- }
- a:hover {
- text-decoration:none;
- }
- img {
- opacity:1;
- border:0;
- text-decoration:none;
- max-width:100%;
- height:auto;
- display:block;
- }
- section {
- width:100%;
- margin:0 auto;
- }
- /* title on top of the square */
- .title {
- font-weight:700;
- font-size:14px;
- text-align:center;
- margin:7.5px auto -15px auto;
- overflow:hidden;
- white-space:nowrap;
- text-overflow:ellipsis;
- }
- /* sidebar image */
- .side {
- color:white; /* sidebar text color - includes text and icons */
- background-size:cover;
- background-color:#bdd6de; /* sidebar background */
- background-image:url('url of you image goes here'); /* sidebar img */
- background-repeat:no-repeat;
- background-position:center;
- }
- /* square */
- .square {
- border:2px solid;
- border-color:white; /* sidebar square color */
- position:relative;
- top:25px;
- margin:0 25px 25px 25px;
- }
- /* icons bellow square */
- .heart {
- display:inline-block;
- }
- .heart svg {
- fill:red; /* heart icons color */
- }
- .icons {
- margin:35px 0 0 25px;
- }
- .icons svg {
- width:18px;
- height:18px;
- margin-right:10px;
- }
- .icons .i-r {
- float:right;
- right:0;
- }
- .icons .i-r svg {
- margin:0 -6px 0 0;
- }
- /* text below icons */
- .like {
- margin:5px 0 0 25px;
- max-width:100%;
- overflow:hidden;
- white-space:nowrap;
- text-overflow:ellipsis;
- }
- /* post */
- .post {
- background:white; /* post background */
- border:1px solid;
- border-color:#eee; /* post border */
- position:absolute;
- top:50%;
- transform:translate(0,-50%);
- left:50%;
- }
- /* icon */
- .avatar {
- width:25px;
- height:25px;
- overflow:hidden;
- border-radius:50%;
- border:1px solid;
- border-color:#eee; /* your avatar border */
- background-color:#bdd6de; /* your avatar background */
- background-image:url('url of you icon goes here'); /* your avatar img */
- }
- .avatar {
- margin:25px;
- }
- .post h1 {
- margin:-50px 25px 25px 70px;
- font-size:13px;
- }
- .info a {
- border-bottom:2px solid #bdd6de; /* links */
- }
- /* follow button */
- .follow {
- float:right;
- margin:-44px 25px;
- color:#a4a3a3;
- }
- .line {
- border-top:1px solid;
- border-color:#eee;
- width:100%;
- height:1px;
- }
- .info {
- margin:25px;
- -webkit-overflow-scrolling: touch;
- }
- .info h2 {
- font-size:13px;
- margin-top:0;
- }
- .info p {
- margin-top:0px;
- }
- .links {
- color:#a4a3a3;
- text-align:right;
- }
- .links a {
- margin-left:10px;
- }
- /* media queries - don't touch this unless you really know what you're doing */
- @media (min-width:901px) {
- .side {
- width:350px;
- height:425px;
- color:white;
- position:absolute;
- top:50%;
- transform:translate(0,-50%);
- left:calc(50% - 350px);
- }
- .square {
- width:296px;
- height:296px;
- }
- .icons, .like, .title {
- width:296px;
- }
- .post {
- width:348px;
- height:422px;
- }
- .info {
- height:227px;
- overflow:hidden;
- padding-right:5px;
- }
- .info:hover {
- overflow-y:scroll;
- }
- .links {
- position:absolute;
- right:25px;
- bottom:30px;
- }
- }
- @media (max-width:900px) {
- iframe.tmblr-iframe, .hcontrols {display:none!important;}
- section {
- padding-bottom:100px;
- min-height:100%;
- }
- .side {
- width:540px;
- height:615px;
- position:absolute;
- top:100px;
- transform:translate(-50%,0);
- left:50%;
- }
- .square {
- width:486px;
- height:486px;
- }
- .icons, .like, .title {
- width:486px;
- }
- .post {
- width:538px;
- min-height:225px;
- position:absolute;
- top:715px;
- transform:translate(-50%,0);
- left:50%;
- margin-bottom:100px;
- }
- .info {
- min-height:25px;
- margin-bottom:25px;
- }
- .links {
- margin:20px 25px 25px 25px;
- }
- }
- @media (max-width:568px) {
- .title {
- width:85%;
- margin:15px auto -30px auto;
- }
- .side {
- width:100%;
- height:100%;
- top:0;
- }
- .square {
- top:7.5%;
- left:7.5%;
- margin:0;
- width:calc(85% - 4px);
- padding-top:calc(85% - 4px);
- height:0;
- }
- .icons {
- margin:15% 7.5% 0 7.5%;
- width:calc(85% - 4px);
- }
- .like {
- width:85%;
- margin-left:7.5%;
- }
- .post {
- width:calc(100% - 2px);
- top:100%;
- margin-bottom:0;
- }
- }
- </style>
- </head>
- <body>
- <section>
- <!-- sidebar begins -->
- <div class="side">
- <!-- title on top of square - keep it short -->
- <div class="title">short and sweet or it'll overflow </div>
- <!-- don't touch -->
- <div class="square"></div>
- <!-- change icons if you wish -->
- <div class="icons">
- <div class="heart"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-heart"><path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path></svg> </div>
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-message-circle"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path></svg>
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-send"><line x1="22" y1="2" x2="11" y2="13"></line><polygon points="22 2 15 22 11 13 2 9 22 2"></polygon></svg>
- <!-- right icon -->
- <div class="i-r"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bookmark"><path d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"></path></svg> </div>
- </div>
- <!-- icons end -->
- <!-- keep it short, one line long -->
- <div class="like">
- whoever liked this keep it short and sweet or it'll overflow
- </div>
- </div>
- <!-- sidebar end -->
- <!-- post begins -->
- <div class="post">
- <div class="avatar"></div>
- <h1>the other title</h1> <!-- title next to icon -->
- <!-- if you don't want this to show you can delete it-->
- <div class="follow">
- <!-- replace name with your username -->
- <a href="https://tumblr.com/follow/name">follow</a>
- </div>
- <!-- don't touch -->
- <div class="line"></div>
- <!-- your text goes here, write as much as you like
- don't keep it to short -->
- <div class="info">
- <h2>a small title</h2>
- <p>a small paragraph<br>
- with some space in between
- </p>
- <p>a link looks like <a href="your-link">this</a> <br>
- something <b>bold</b> for the brave<br>
- or <i>italic</i> for the fancy<br>
- plenty of options so you may as well just google it my friendo.</p>
- </div>
- <!-- don't touch -->
- <div class="line"></div>
- <!-- your links go here, don't add too many -->
- <div class="links">
- <a href="/">home</a>
- <a href="/ask">msg</a>
- <a href="https://wwww.tumblr.com/dashboard">exit</a>
- <!-- follow my terms of use and don't (re) move credit please -->
- <a href="https://amboise.tumblr.com/">credit.</a>
- </div>
- </div>
- <!-- post end -->
- </section>
- <!-- icon for tumblr controls - change if you wish -->
- <div class="hcontrols"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement