Created
April 19, 2012 16:44
-
-
Save Lambdanaut/2422224 to your computer and use it in GitHub Desktop.
An old tumblr layout I wrote with simplicity in mind.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <title>{Title}</title> | |
| <link rel="shortcut icon" href="{Favicon}"> | |
| <link rel="alternate" type="application/rss+xml" href="{RSS}"> | |
| {block:Description} | |
| <meta name="description" content="{MetaDescription}" /> | |
| {/block:Description} | |
| <style> | |
| body { | |
| font-family: Arial; | |
| color: #403C35; | |
| background-color: #FCFADE | |
| } | |
| a { | |
| color: #ffffff; | |
| text-decoration: none; | |
| } | |
| a:hover{color: #ffffff;} | |
| blockquote{ | |
| border-left: 1px dashed #403C35; | |
| padding-left: 5px; | |
| } | |
| #header { | |
| position: absolute; | |
| background-color: #403C35; | |
| left: 0px; | |
| right: 0px; | |
| top: 0px; | |
| height: 8px; | |
| color: #ffffff; | |
| } | |
| #header a { | |
| color: #ffffff; | |
| } | |
| #header a:hover{ | |
| color: #ffffff; | |
| } | |
| #header:active { | |
| background-color: #F15922; | |
| } | |
| #header h1 { | |
| width: 260px; | |
| padding: 10px 50px 10px 50px; | |
| margin: auto; | |
| background-color: inherit; | |
| border-radius: 0px 0px 8px 8px; | |
| letter-spacing:1px; | |
| } | |
| #header div { | |
| position: absolute; | |
| top: 0px; | |
| left: 10px; | |
| background-color: #403C35; | |
| padding: 0px 5px 2px 5px; | |
| border-radius: 0px 0px 8px 8px; | |
| } | |
| #header img { | |
| border-radius: 8px; | |
| margin-top: 6px; | |
| } | |
| #header a {background-color: inherit;} | |
| #description { | |
| text-align: center; | |
| margin-top:70px; | |
| } | |
| .post { | |
| background-color: #ffffff; | |
| margin: 35px 50px 5px 20px; | |
| padding: 50px; | |
| border-radius: 8px; | |
| border: solid 1px #403C35; | |
| background-image: url('https://github.com/Lambdanaut/Art/raw/master/Pixel/headernaut.png'); | |
| background-repeat:no-repeat; | |
| background-position: 99% 10px; | |
| } | |
| #posts { | |
| list-style-type: none; | |
| } | |
| #posts a { | |
| color: #F15922; | |
| text-decoration:none; | |
| outline:none; | |
| } | |
| #posts a:hover { | |
| background-color: #F15922; | |
| color: #FCFADE; | |
| } | |
| .footnotes { | |
| font-size: 12px; | |
| } | |
| .footnotes:before{ | |
| content: "Footnotes: "; | |
| } | |
| #footer { | |
| background-color: #403C35; | |
| color: #ffffff; | |
| padding: 5px 10px 5px 10px; | |
| border-radius: 8px; | |
| } | |
| #footer a { | |
| text-decoration: underline; | |
| } | |
| #ask { | |
| position: absolute; | |
| left: 10px; | |
| top: 20px; | |
| z-index: 100; | |
| } | |
| #aboutMe { | |
| position:absolute; | |
| left: 10px; | |
| top: 65px; | |
| } | |
| .button { | |
| background-color: #403C35; | |
| border-radius: 8px; | |
| padding: 10px 15px 10px 15px; | |
| -moz-user-select: -moz-none; | |
| -khtml-user-select: none; | |
| -webkit-user-select: none; | |
| user-select: none; | |
| } | |
| .button:hover { | |
| background-color: #F15922; | |
| } | |
| .extra { | |
| font-size: 12px; | |
| margin-left: 75px; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div id="header"> | |
| <a href="/"><h1>{title}</h1></a> | |
| </div> | |
| {block:Description} | |
| <h3 id="description">{Description}</h3> | |
| {/block:Description} | |
| {block:AskEnabled} | |
| <a href="/ask" id="ask" class="button"><b>{AskLabel}</b></a> | |
| {/block:AskEnabled} | |
| <a href="/post/18117361711/meta" id="aboutMe" class="button"><b>About Me</b></a> | |
| <ol id="posts"> | |
| {block:Posts} | |
| {block:Text} | |
| <li class="post text"> | |
| {block:Title} | |
| <h3><a href="{Permalink}">{Title}</a></h3> | |
| {/block:Title} | |
| {Body} | |
| </li> | |
| {/block:Text} | |
| {block:Photo} | |
| <li class="post photo"> | |
| {block:Title} | |
| <h3><a href="{Permalink}">{Title}</a></h3> | |
| {/block:Title} | |
| <a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"></a> | |
| {block:Caption} | |
| <div class="caption">{Caption}</div> | |
| {/block:Caption} | |
| </li> | |
| {/block:Photo} | |
| {block:Photoset} | |
| <li class="post photoset"> | |
| {block:Title} | |
| <h3><a href="{Permalink}">{Title}</a></h3> | |
| {/block:Title} | |
| {Photoset-500} | |
| {block:Caption} | |
| <div class="caption">{Caption}</div> | |
| {/block:Caption} | |
| </li> | |
| {/block:Photoset} | |
| {block:Quote} | |
| <li class="post quote"> | |
| "{Quote}" | |
| {block:Source} | |
| <div class="source">{Source}</div> | |
| {/block:Source} | |
| </li> | |
| {/block:Quote} | |
| {block:Link} | |
| <li class="post link"> | |
| <a href="{URL}" class="link" {Target}>{Name}</a> | |
| {block:Description} | |
| <div class="description">{Description}</div> | |
| {/block:Description} | |
| </li> | |
| {/block:Link} | |
| {block:Chat} | |
| <li class="post chat"> | |
| {block:Title} | |
| <h3><a href="{Permalink}">{Title}</a></h3> | |
| {/block:Title} | |
| <ul class="chat"> | |
| {block:Lines} | |
| <li class="{Alt} user_{UserNumber}"> | |
| {block:Label} | |
| <span class="label">{Label}</span> | |
| {/block:Label} | |
| {Line} | |
| </li> | |
| {/block:Lines} | |
| </ul> | |
| </li> | |
| {/block:Chat} | |
| {block:Video} | |
| <li class="post video"> | |
| {Video-500} | |
| {block:Caption} | |
| <div class="caption">{Caption}</div> | |
| {/block:Caption} | |
| </li> | |
| {/block:Video} | |
| {block:Audio} | |
| <li class="post audio"> | |
| {AudioPlayerBlack} | |
| {block:Caption} | |
| <div class="caption">{Caption}</div> | |
| {/block:Caption} | |
| </li> | |
| {/block:Audio} | |
| {block:RebloggedFrom} | |
| <div class="extra"> - Reblogged via <a href="{ReblogParentURL}">{ReblogParentTitle}</a></div> | |
| {/block:RebloggedFrom} | |
| {block:NoteCount} | |
| <div class="extra"> - <a href="{permalink}">{NoteCountWithLabel}</a> </div> | |
| {/block:NoteCount} | |
| {block:Date} | |
| <div class="extra"> - <a href="{permalink}">Posted {Month} {DayOfMonth}{DayOfMonthSuffix}, {Year} @ {12Hour}:{Minutes} {CapitalAmPm}</a></div> | |
| {/block:Date} | |
| {block:PostNotes}{PostNotes}{/block:PostNotes} | |
| {/block:Posts} | |
| </ol> | |
| <div id="footer"> | |
| <div style="float:right;"> | |
| Everything © Josh Thomas {CopyrightYears} | |
| </div> | |
| <a href="/archive">Archive</a> | | |
| <a href="/post/18117361711/meta">About Me</a> | |
| {block:PreviousPage} | |
| <a href="{PreviousPage}">« Previous</a> | | |
| {/block:PreviousPage} | |
| {block:NextPage} | |
| <a href="{NextPage}">Next »</a> | |
| {/block:NextPage} | |
| </div> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment