Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <style>
- body{
- background:#def;
- font:12pt verdana;
- }
- a{
- text-decoration:none;
- color:#666;
- }
- img{
- max-width:100%;
- }
- *::selection{
- background:#ddd;
- }
- #title{
- font-size:28pt;
- font-weight:bold;
- margin-bottom:20px;
- text-align:center;
- }
- #header{
- margin:auto;
- }
- #wrapper{
- max-width:800px;
- margin:auto;
- margin-top:16px;
- }
- #description{
- padding:8px;
- max-width:800px;
- margin:auto;
- }
- #pages{
- width:200px;
- }
- .whitebox{
- background:white;
- border:1px solid #ddd;
- box-shadow:0 0 6px #333;
- }
- .post{
- width:500px;
- margin-bottom:16px;
- }
- .post .title{
- padding:6px 10px;
- border-bottom:1px solid #ddd;
- font-weight:bold;
- color:#333;
- }
- .post .content{
- padding:0px 16px;
- }
- .post .foot{
- padding:6px 10px;
- border-top:1px solid #ddd;
- text-align:center;
- }
- .page{
- padding:6px 8px;
- color:#666;
- }
- .page{
- border-bottom:1px solid #ddd;
- }
- </style>
- <script type='text/javascript'>
- var box = document.createElement('div');
- box.setAttribute('style',' \
- width:50px; height:50px \
- border:2px solid white; \
- background:red; \
- ')
- function spawnBox(){
- document.body.appendChild(box)
- }
- </script>
- </head>
- <body onload='spawnBox();'>
- <div id='header'>
- <div id='title'>{Title}</div>
- </div>
- <div id='description' class='whitebox'>{Description}</div>
- <table id='wrapper'>
- <tr>
- <td>
- {Block:HasPages}
- <div id='pages' class='whitebox'>
- {Block:Pages}
- <a href='{URL}'>
- <div class='page'>{Label}</div>
- </a>
- {/Block:Pages}
- </div>
- {/Block:HasPages}
- </td>
- <td id='posts'>
- {Block:Posts}
- <div class='post whitebox'>
- {Block:Text}
- {Block:Title}
- <div class='title'>
- {Title}
- </div>
- {/Block:Title}
- <div class='content'>
- {Body}
- </div>
- {/Block:Text}
- {Block:Photo}
- <div class='title'>
- <img src='{PhotoURL-HighRes}' />
- </div>
- <div class='content'>
- {Caption}
- </div>
- {/Block:Photo}
- <div class='foot'>
- <a href='{Permalink}'>{TimeAgo}</a>
- </div>
- </div>
- {/Block:Posts}
- </td>
- </tr>
- <table>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment