Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- - character page #2 'art is the weapon' by skye southcodes.tumblr.com
- - modify as you please but please do not touch the credit
- - any errors? need help? have questions? let me know!
- southcodes.tumblr.com/inbox
- - normalize css by https://github.com/necolas
- - fonts by google
- -->
- <!DOCTYPE html>
- <html>
- <head>
- <title>{title}</title>
- <link rel="shortcut icon" href="{favicon}">
- <meta name="description" content="{MetaDescription}"/>
- <!-- normalize css -->
- <link href="https://necolas.github.io/normalize.css/7.0.0/normalize.css" rel="stylesheet">
- <!-- fonts -->
- <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,600|Montserrat:500,600" rel="stylesheet">
- <style type="text/css">
- body, figure{margin: 0;padding: 0}
- html{font-size: 14px}
- body {font: 1rem 'Open Sans', sans-serif;
- background: var(--background-color);}
- a {text-decoration: none;}
- b {font-weight: 600}
- /* quick color customization */
- :root {
- --background-color:#fcfcfc;
- --borders-and-accents-color:#eeeeee;
- --containers-background:#ffffff;
- }
- body {
- color:#333 /*text color*/
- }
- a {
- color: #ccc; /*links color*/
- }
- a:hover {
- color:#36608c; /*links hover color*/
- }
- .tmblr-iframe {margin:.7rem;opacity:.6;-ms-transform: scale(0.85); /* IE 9 */-webkit-transform: scale(0.85); /* Safari */transform: scale(0.85);}
- .tmblr-iframe:hover {opacity:.8;}
- ::-webkit-scrollbar-thumb:vertical {border-left:2px solid var(--borders-and-accents-color);}
- ::-webkit-scrollbar {width:6px}
- ::-webkit-scrollbar-track-piece{margin:5px 0;}
- /* header */
- header,#navi {
- background:var(--containers-background);
- width:95%;
- max-width:500px;
- margin: 8rem auto 0;
- box-sizing: border-box;
- padding: 1rem;
- border: 1px solid var(--borders-and-accents-color);
- position: relative;}
- #himg {
- width: 5rem;
- height: 5rem;
- object-fit: cover;
- border-radius: 100%;
- position: absolute;
- top:-2.5rem;left:-2.5rem;}
- #btitle {
- margin: 1rem 0 0;
- font:600 1.8rem 'Montserrat', sans-serif;
- text-transform: uppercase;
- box-shadow: inset 0 -14px var(--borders-and-accents-color);
- }
- #subtitle {
- margin: .7rem 0 1.5rem;
- letter-spacing: .05rem;
- font:600 .9rem 'Open Sans', sans-serif;
- line-height: 170%
- }
- #desc {
- font:400 .95rem 'Open Sans', sans-serif;
- font-style: italic;
- line-height: 180%;
- letter-spacing: .05rem;
- text-align: center;
- color:#666;
- }
- /* nav */
- #navi ul,#navi li {list-style-type:none;margin:0;padding:0;}
- #navi li {display: inline-block;margin-right: 1rem;line-height: 250%}
- #navi {
- margin: 1rem auto;
- font:500 1.1rem 'Montserrat',sans-serif;
- text-transform: uppercase;
- }
- #navi ul {
- display: flex;
- flex-flow: row wrap;
- justify-content: space-around;}
- #navi a {
- color:#000;
- border-bottom: 4px solid var(--borders-and-accents-color);padding-bottom: .3rem
- }
- /* characters */
- .char {
- width:95%;
- max-width:500px;
- margin:0rem auto 7rem;
- border-top: 1px solid var(--borders-and-accents-color);
- padding-top: 7rem;}
- .char:first-of-type {border:0;margin-top: 0}
- .char * {box-sizing:border-box;}
- .charimg {
- width:10rem;
- height:10rem;
- display:inline-block;
- object-fit:cover;
- vertical-align:middle;
- border:12px solid var(--borders-and-accents-color);
- padding:0;
- margin:0 1rem 0 0;
- background: var(--borders-and-accents-color)
- }
- .char .name {
- font:500 1.2rem 'Montserrat', sans-serif;
- margin:0;
- display:inline-block;
- vertical-align:middle;
- width:calc(100% - 11.5rem);
- }
- .char .name:first-letter {
- font:600 1.3rem 'Montserrat', sans-serif;
- padding:.2rem .5rem;
- background:var(--borders-and-accents-color);
- margin-right:.2rem;
- }
- .asl {
- margin-top: 2rem;
- font:600 .9rem 'Open Sans',sans-serif;
- letter-spacing: .07rem;
- text-transform: uppercase;
- }
- .bio {
- padding:1rem;
- border:1px solid var(--borders-and-accents-color);
- margin:1rem 0;
- line-height: 180%;
- letter-spacing: .04rem;
- background: var(--containers-background)}
- .bio p {margin:1.5rem 0;}
- .bio p:first-of-type {margin-top: 0}
- .bio p:last-of-type {margin-bottom: 0}
- .dtitle {
- text-transform: uppercase;
- font:600 .95rem 'Open Sans', sans-serif;
- letter-spacing: .04rem;
- border-bottom: 1px solid var(--borders-and-accents-color);
- padding-bottom: .2rem;
- margin-right: .5rem
- }
- .bio hr {
- border:0;
- border-top: 1px solid var(--borders-and-accents-color);
- margin:2rem 0;
- }
- .gallery {
- display:flex;
- flex-flow: row nowrap;
- justify-content: space-around;
- background:var(--borders-and-accents-color);
- }
- .quote {
- padding: 1rem;
- margin-top: 1rem;
- background:var(--borders-and-accents-color);
- font-size: .95rem;
- letter-spacing: .04rem;
- font-style: italic;
- }
- .galimg {
- width: calc(100% / 5 - 2rem);
- margin:1rem .5rem;
- height:100%}
- .galimg:first-of-type {margin-left: 1rem}
- .galimg:last-of-type {margin-right: 1rem}
- .charlinks {
- margin-top: 1rem;
- border:1px solid var(--borders-and-accents-color);
- padding: 1rem;
- text-transform: uppercase;
- font-size: .9rem;
- letter-spacing: .05rem;
- background: var(--containers-background);
- line-height: 200%
- }
- .charlinks a {
- margin-right: 1.6rem;
- word-break:break-word
- }
- /* DONT TOUCH */
- #sc {z-index:9999;position:fixed;bottom:1.5rem;right:2rem;line-height:0%;padding:1rem .5rem;font-size:.8rem;background:white;font-family:'Open Sans', sans-serif;color:#777;}
- </style>
- </head>
- <body>
- <header>
- <img id="himg" src="HEADER IMAGE URL"/>
- <h1 id="btitle">
- page title
- </h1>
- <h2 id="subtitle">
- <!-- please wrap your paragraphs around <p></p> -->
- <p>page subtitle.</p>
- </h2>
- <div id="desc">
- <!-- please wrap your paragraphs around <p></p> -->
- <p>page description.</p>
- </div>
- </header>
- <nav id="navi"><ul>
- <li><a href="link url">link 1</a></li>
- <li><a href="link url">link 2</a></li>
- <li><a href="link url">link 3</a></li>
- </ul></nav>
- <main>
- <!-- CHARACTERS START -->
- <!-- character one -->
- <section class="char">
- <img class="charimg" src="ICON IMAGE URL"/>
- <h2 class="name">
- NAME SURNAME
- <div class="asl">
- ## | ##/## | ##
- </div>
- </h2>
- <article class="bio">
- <div class="details">
- <!-- add as many as you want -->
- <p><span class="dtitle">field:</span> value</p>
- <p><span class="dtitle">field:</span> value</p>
- </div>
- <hr> <!-- line division between biography and details -->
- <!-- biography start
- please wrap your paragraphs around <p></p> -->
- <p>Etiam nulla purus, tempor nec dui ac, condimentum feugiat orci. Duis egestas ultricies dictum. In eu semper mi. Vivamus sit amet nisl ipsum.</p>
- <p>Etiam nulla purus, tempor nec dui ac, condimentum feugiat orci. Duis egestas ultricies dictum. In eu semper mi. Vivamus sit amet nisl ipsum.</p>
- <article class="quote">
- <p>ยซ Etiam nulla purus, tempor nec dui ac, condimentum feugiat orci. Duis egestas ultricies dictum. In eu semper mi. Vivamus sit amet nisl ipsum. ยป</p>
- </article>
- </article>
- <article class="gallery">
- <!-- gallery images
- add up to FIVE images all of the SAME HEIGHT -->
- <img class="galimg" src="IMAGE URL"/>
- <img class="galimg" src="IMAGE URL"/>
- <img class="galimg" src="IMAGE URL"/>
- <img class="galimg" src="IMAGE URL"/>
- <img class="galimg" src="IMAGE URL"/>
- </article>
- <article class="charlinks">
- <!-- character links, add as many as you want -->
- <a class="clink" href="#">#character tag</a>
- <a class="clink" href="#">#character tag</a>
- <a class="clink" href="#">#character tag</a>
- </article>
- </section> <!-- character end -->
- </main>
- <!-- DONT TOUCH -->
- <a id="sc" href="https://southcodes.tumblr.com" target="_blank" title="southcodes">SC</a>
- </body>
- </html>
Add Comment
Please, Sign In to add comment