Advertisement
ettudisthemes

tutorial series part 3 base

Mar 8th, 2012
1,641
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.33 KB | None | 0 0
  1. <!-- base code by Ans @ Ettudis-->
  2.  
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  5. <head>
  6. <title>{Title}{block:PostTitle} - {PostTitle}{/block:PostTitle}</title>
  7. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  8. <link rel="shortcut icon" href="{Favicon}" />
  9.  
  10. <meta name="color:background" content="#FFFFFF" />
  11. <meta name="color:post background" content="#FFFFFF" />
  12. <meta name="color:post link" content="#999999" />
  13. <meta name="color:post text" content="#565656" />
  14. <meta name="color:sidebar background" content="#000000" />
  15. <meta name="color:sidebar text" content="#FFFFFF" />
  16. <meta name="color:sidebar title" content="#FFFFFF" />
  17. <meta name="color:sidebar title hover" content="#333333" />
  18. <meta name="color:sidebar link border" content="#eeff2e" />
  19. <meta name="color:sidebar link border hover" content="#FFFFFF" />
  20. <meta name="image:background" content="http://subtlepatterns.com/patterns/noise_pattern_with_crosslines.png"/>
  21. <meta name="image:post backround" content=""/>
  22. <meta name="image:sidebar background" content=""/>
  23. <meta name="image:sidebar" content="http://static.tumblr.com/38tkyuw/ovxm0ksqi/48e4e038t6xgldh1.png"/>
  24. <meta name="if:showportrait" content="0"/>
  25.  
  26. <style type="text/css">
  27. body{
  28. margin:0px;
  29. padding:0px;
  30. background:{color:background} url('{image:background}') fixed;
  31. }
  32. #sidebar {
  33. position: fixed;
  34. left: 150px;
  35. top: 30px;
  36. width: 150px;
  37. margin:0px;
  38. padding:5px;
  39. font: 11px Consolas, Geneva, Arial, Helvetica, sans-serif;
  40. color: {color:sidebar text};
  41. background:{color:sidebar background} url('{image:sidebar background}');
  42. }
  43. #sidebar img{
  44. max-width:150px;
  45. }
  46. #title a{
  47. display: block;
  48. font-style: italic;
  49. text-decoration: none;
  50. text-transform: uppercase;
  51. color: {color:sidebar title};
  52. border-bottom: 1px solid {color:sidebar title};
  53. }
  54. #title a:hover {
  55. color: {color:sidebar title hover};
  56. }
  57. #description a{
  58. display:block;
  59. padding:0px 3px;
  60. margin:1px;
  61. text-align:right;
  62. text-decoration: none;
  63. text-transform: lowercase;
  64. color: {color:sidebar text};
  65. border-right: 7px solid {color:sidebar link border};
  66. }
  67. #description a:hover{
  68. border-right: 15px solid {color:sidebar link border hover};
  69. }
  70. #post {
  71. width: 400px;
  72. padding:5px;
  73. margin-left:330px!important;
  74. margin:5px;
  75. font: 11px Consolas, Arial, Helvetica, sans-serif;
  76. color: {color:post text};
  77. background: {color:post background} url('{image:post background}');
  78. }
  79. #post a{
  80. color: {color:post link};
  81. }
  82. h1 {
  83. font: italic 16px Georgia, "Times New Roman", Times, serif;
  84. text-align: center;
  85. }
  86. h1 a{
  87. color: {color:post link};
  88. text-decoration: none;
  89. }
  90. #quote{
  91. font: italic 16px Georgia, "Times New Roman", Times, serif;
  92. text-align: center;
  93. display: block;
  94. }
  95. #audio {
  96. background: #000000;
  97. width: 400px;
  98. display: block;
  99. }
  100. </style>
  101. <body>
  102. <div id="sidebar">
  103. {block:ifsidebarimage}<img src="{image:sidebar}" />{/block:ifsidebarimage}
  104. <div id="title"><a href="/">{title}</a></div>
  105. <div id="description">
  106. {block:ifshowportrait}<img src="{PortraitURL-30}" style="margin:3px;float:left;"/>{/block:ifshowportrait}
  107. {block:description}{description}{/block:description}
  108. <p>
  109. <a href="/archive">archives</a><a href="/ask">message</a><a href="http://ettudis.three-words.net">theme</a>
  110. </p>
  111. </div>
  112. </div>
  113.  
  114. {block:Posts}
  115. <div id="post">
  116.  
  117.  
  118. {block:Text}
  119. {block:Title}<h1>{Title}</h1>{/block:Title}
  120. {Body}
  121. {/block:Text}
  122.  
  123. {block:Photo}
  124. <img src="{PhotoURL-400}" />
  125. {/block:Photo}
  126.  
  127. {block:Photoset}
  128. {Photoset-400}
  129. {/block:Photoset}
  130.  
  131. {block:Quote}
  132. <div id="quote">{Quote}</div>
  133. {block:Source}<div align="center">- {Source}</div>{/block:Source}
  134. {/block:Quote}
  135.  
  136. {block:Link}
  137. <h1><a href="{URL}" target="{Target}">{Name}</a></h1>
  138. {block:Description}{Description}{/block:Description}
  139. {/block:Link}
  140.  
  141. {block:Chat}
  142. {block:Title<h1>{Title}</h1>{/block:Title}
  143. {block:Lines}{block:Label}<b>{Label}</b>{/block:Label} {Line}<br>{/block:Lines}
  144. {/block:Chat}
  145.  
  146. {block:Audio}
  147. <div id="audio">{AudioPlayerBlack}</div>
  148. {/block:Audio}
  149.  
  150. {block:Video}
  151. {Video-400}
  152. {/block:Video}
  153.  
  154. {block:Answer}
  155. {Asker} asked: {Question}
  156. <p>{Answer}</p>
  157. {/block:Answer}
  158.  
  159. </div>
  160. {/block:Posts}
  161. </body>
  162. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement