Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE xhtml>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <!--
- Page #1: Facts and Figures by @laighlin
- (http://linthm.tumblr.com)
- Note:
- 1. The sidebar image is 250px by 400px.
- 2. The personal data icon is 70px square.
- 3. The friend's icon is 65px square.
- The placeholder artwork is the property of Mizushiro Setona.
- -->
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <!--Replace favicon-url.png with {Favicon} to just use your blog icon-->
- <link rel="shortcut icon" href="favicon-url.png">
- <!--If changing any of the default fonts, make sure to change their names here as well-->
- <link href="https://fonts.googleapis.com/css?family=Roboto+Slab:700|Oswald:700|Karla" rel="stylesheet">
- <!--Page title, will show up as tab label in the browser-->
- <title>Page #1: Facts and Figures</title>
- <style>
- * {
- transition:.2s all ease;
- }
- body {
- /*main background color*/
- background-color:#c3c1b9;
- /*see note near the top about changing fonts*/
- font:13px 'Karla', sans-serif;
- overflow:hidden;
- margin:0; padding:0;
- }
- /*Description scrollbar*/
- ::-webkit-scrollbar {
- width:5px;
- }
- ::-webkit-scrollbar-thumb {
- background:#000 padding-box;
- border:1px solid transparent;
- }
- ::-webkit-scrollbar-track {
- background:#aaa padding-box;
- border:2px solid transparent;
- }
- /* Please do not make any fundamental changes here */
- main {
- height:535px;
- width:500px;
- padding:15px;
- position:fixed;
- top:calc(50% - 280px);
- left:calc(50% - 265px);
- }
- main:before, main:after {
- content:'';
- position:absolute;
- border-radius:2px;
- }
- /* This section onward can be changed */
- main:before {
- /*BG image for the crooked container beneath the main one*/
- background:url('http://static.tumblr.com/xwoxjom/xzXp05udq/stripes.png') repeat;
- background-color:#444;
- transform:rotate(-1.5deg);
- top:-6px; left:-3px; bottom:-8px; right:-5px;
- /*low z-index value so it stays below everything else*/
- z-index:-5;
- }
- main:after {
- /*background of the main container*/
- background-color:#fff;
- transform:rotate(.5deg);
- top:0; left:0; bottom:0; right:0;
- border-radius:5px;
- /*low z-index value so it stays below everything else*/
- z-index:-4;
- }
- main:after, #icon, #friendicon {
- border:2px solid #555;
- }
- p { margin:5px 0; }
- a {
- /*link color*/
- color:#444;
- text-decoration:none;
- outline:none;
- }
- #top {
- margin-top:-25px;
- }
- /*Navigation links*/
- .links {
- background:#222;
- font-size:15px;
- color:#ddd;
- text-transform:uppercase;
- padding:5px 7px;
- margin-right:7px;
- }
- .links:hover {
- color:#f0f0f0;
- }
- /*Title bar*/
- #title, #title:after {
- background-color:#111;
- }
- #title {
- margin:0;
- font:bold 20px 'Roboto Slab';
- margin-top:15px;
- margin-left:-11px;
- width:300px;
- color:#fff;
- line-height:1em;
- padding:10px;
- font-variant:small-caps;
- position:relative;
- }
- #title:before, #title:after {
- content:'';
- position:absolute;
- bottom:0;
- left:320px;
- z-index:-1;
- }
- #title:before {
- height:0;
- width:0;
- border:20px solid;
- border-color:transparent transparent #111 #111;
- bottom:0;
- }
- #title:after {
- width:207px;
- height:10px;
- }
- /*Data block*/
- #data, #sidebar {
- top:73px;
- position:absolute;
- }
- #data {
- /*remove the line below to get rid of the light stripes in the personal data block*/
- background:url('https://i.imgur.com/fl0oxz5.png') repeat;
- background-color:#eee;
- border:3px solid #555;
- margin-left:-3px;
- width:222px;
- height:374px;
- padding:10px;
- }
- #icon {
- float:left;
- height:70px;
- margin-right:5px;
- }
- /* "Personal Data" label */
- #pd {
- color:#222;
- /* changing the font here is not recommended, since it is very precisely packed in next to the icon */
- font:bold 34px 'Oswald', sans-serif;
- line-height:1.1em;
- margin:0;
- margin-top:-2px;
- margin-right:-13px;
- text-transform:uppercase;
- text-shadow:1px 1px 2px;
- }
- #desc {
- display:block;
- margin-top:8px;
- padding-right:10px;
- line-height:1.35em;
- height:120px;
- overflow-y:scroll;
- overflow-x:hidden;
- }
- /*Stats section*/
- #stat { margin-top:12px; }
- #stat h3 { margin-bottom:6px; }
- /* Overall stat bar colors */
- .bar, .grade {
- background:#222;
- color:#fff;
- }
- .bar {
- margin:3px 0 7px;
- border-radius:2px;
- position:relative;
- padding:5px;
- line-height:14px;
- }
- /* Stat labels */
- .lbl {
- font:12px 'Karla', sans-serif;
- text-transform:uppercase;
- width:50px;
- margin-top:-2px;
- float:left;
- display:inline-block;
- }
- .br {
- /*the color of the levels in each stat bar*/
- background:#fff;
- display:inline-block;
- height:11px;
- }
- /*
- Stat bar levels -
- Each block corresponds to the level of one stat bar, with b1 controlling the first bar, b2 the second, and so on.
- The numeric value of the width can be set to any number between 0 (an empty bar) and 140 (a full bar).
- */
- .b1 { width:120px; }
- .b2 { width:40px; }
- .b3 { width:140px; }
- .b4 { width:110px; }
- .b5 { width:80px; }
- .grade {
- font:bold 13px 'Oswald', sans-serif;
- border-radius:5px;
- position:absolute;
- padding:3px 6px;
- width:15px;
- text-align:center;
- right:0;
- top:0;
- text-transform:uppercase;
- }
- /* Sidebar image - changing dimensions not advised */
- #sidebar {
- width:250px;
- height:400px;
- right:11px;
- }
- /* "Words from a friend" section */
- #words {
- position:absolute;
- bottom:13px;
- margin-left:-3px;
- }
- h3 {
- font:bold 17px 'Oswald';
- color:#333;
- margin:0;
- line-height:1em;
- margin-top:5px;
- text-transform:uppercase;
- }
- #friendicon, #bubbl {
- /*the border around the friend's icon and their speech bubble*/
- border:3px solid;
- border-color:#111;
- }
- #friendicon {
- height:65px;
- width:65px;
- margin-right:7px;
- margin-top:2px;
- border-radius:50%;
- float:left;
- }
- /* Url leading to the friend's blog */
- #friendurl {
- color:#aaa;
- text-transform:lowercase;
- }
- #friendurl:hover {
- color:#777;
- }
- #words h3 {
- margin-top:0;
- }
- /* The "words from a friend" label */
- h3 div {
- color:#fff;
- background:#666;
- font:normal 10px 'Karla', sans-serif;
- /* remove this line if you don't want the rounded corners */
- border-radius:10px;
- position:relative;
- margin-top:1px;
- margin-right:5px;
- padding:2px 4px;
- float:left;
- }
- /*Friend's speech bubble*/
- #bubbl {
- background:#ddd;
- border-radius:10px;
- width:405px;
- padding:5px 7px;
- margin-left:78px;
- margin-top:6px;
- line-height:1.35em;
- position:relative;
- }
- /* Do not change this section! It controls the small arrow attached to the speech bubble */
- #bubbl:before, #bubbl:after {
- content:'';
- position:absolute;
- height:0;
- width:0;
- border:10px solid;
- bottom:6px;
- }
- #bubbl:before {
- /*change this part too if changing the bubble's border color*/
- border-color:#111 #111 transparent transparent;
- left:-20px;
- }
- #bubbl:after {
- /*change this part too if changing the bubble's bg color*/
- border-color:#ddd #ddd transparent transparent;
- left:-13px;
- bottom:3px;
- }
- /*DO NOT TOUCH THIS*/
- .clear {
- clear:both;
- }
- </head></style>
- <body>
- <main>
- <!--Sidebar image goes here-->
- <img id="sidebar" src="https://i.imgur.com/tdbibGi.png">
- <!--Navigation links go here - add more by copy-pasting the last line!-->
- <nav id="top">
- <a class="links" href="/">Index</a>
- <a class="links" href="/ask">Ask</a>
- <a class="links" href="http://tumblr.com/dashboard">Dash</a>
- <a class="links" href="http://linthm.tumblr.com/thm">Credit</a>
- <a class="links" href="link destination">Link 5</a>
- </nav>
- <!--Main title-->
- <h1 id="title">Page #1: Facts and Figures</h1>
- <div id="data">
- <!--Personal data icon-->
- <img id="icon" src="https://i.imgur.com/iyrbRIu.png">
- <h2 id="pd">Personal Data</h2>
- <div class="clear"></div>
- <!--Description-->
- <aside id="desc">
- Custom info goes in this section. It scrolls if it gets too long, so put in as much as you'd like.
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
- </aside>
- <!--Stat block-->
- <div id="stat">
- <h3>Hero's Stats</h3>
- <div class="bar">
- <!--Stat label-->
- <div class="lbl">power</div>
- <div class="br b1"></div>
- <!--Stat grade-->
- <div class="grade">B</div>
- </div>
- <div class="bar">
- <div class="lbl">speed</div>
- <div class="br b2"></div>
- <div class="grade">E</div>
- </div>
- <div class="bar">
- <div class="lbl">tech</div>
- <div class="br b3"></div>
- <div class="grade">A</div>
- </div>
- <div class="bar">
- <div class="lbl">int</div>
- <div class="br b4"></div>
- <div class="grade">B</div>
- </div>
- <div class="bar">
- <div class="lbl">co-op</div>
- <div class="br b5"></div>
- <div class="grade">C</div>
- </div>
- </div>
- </div>
- <!--Words from a friend-->
- <footer id="words">
- <!--Friend's icon-->
- <img src="https://i.imgur.com/HCEAgJm.png" id="friendicon">
- <h3>
- <div>Words From a Friend</div>
- Friend Name
- <!--Remove the following line if you don't want the blog link-->
- <a id="friendurl" href="http://EXAMPLE-FRIEND-BLOG-URL.tumblr.com">@blog-url</a>
- </h3>
- <!--Friend's speech bubble-->
- <div id="bubbl">
- You can put a sort of testimonial here! It doesn't scroll, though, so be mindful of the length.
- </div>
- </footer>
- </main>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement