Advertisement
celephais

html 2

Apr 28th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.75 KB | None | 0 0
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <title>{TITLE}</title>
  5. <link rel="shortcut icon" href="{Favicon}" />
  6. <link rel="alternate" type="application/rss+xml" href="{RSS}" />
  7.  
  8. <!-- Booleans -->
  9. <meta name="if:Avatar" content="1" />
  10. <meta name="if:LinkOne" content="1" />
  11. <meta name="if:LinkTwo" content="1" />
  12. <meta name= "if:Underline" content="0" />
  13.  
  14. <!-- Header -->
  15. <div class="topnav" id="myTopnav">
  16. <a href="#home">Home</a>
  17. <a href="#news">Ask</a>
  18. <a href="#contact">Contact</a>
  19. <a href="#about">About</a>
  20. </div>
  21.  
  22.  
  23. <!-- Custom Text -->
  24. <meta name="text:Link One Url" content="/" />
  25. <meta name="text:Link One Text" content="Link One" />
  26. <meta name="text:Link Two Url" content="/" />
  27. <meta name="text:Link Two Text" content="Link Two" />
  28. <meta name="text:Ask Text" content="Ask" />
  29.  
  30. <!-- Images -->
  31. <meta name="image:avatar" content="" />
  32. <meta name="image:background" content="" />
  33.  
  34.  
  35.  
  36. <!-- Colors -->
  37. <meta name="color:background" content="#F5F6F7" />
  38. <meta name="color:text" content="#171717" />
  39. <meta name="color:content" content="#FFF" />
  40. <meta name="color:sidebar" content="#FFF" />
  41. <meta name="color:links" content="#171717" />
  42. <meta name="color:hover" content="#FF0000" />
  43.  
  44. <style>
  45. *{
  46. margin: 0;
  47. padding: 0;
  48. }
  49. body{
  50. background: url('{image:background}') {color:background};
  51. color: {color:text};
  52. }
  53. a:link, a:visited {
  54. color: {color:links};
  55. text-decoration: {block:ifUnderline}underline{/block:ifUnderline} none;
  56. }
  57. a:hover{
  58. color: {color:hover};
  59. transition: all 0.5s ease-out;
  60. }
  61.  
  62.  
  63.  
  64. #wrap{
  65. position: relative;
  66. margin: 110px auto;
  67. width: 500px;
  68. left: 10%;
  69. }
  70. #content{
  71. background: {color:content};
  72. width: 500px;
  73. padding: 10px;
  74. box-shadow: 1px 2px 1px 1px #ccc;
  75. margin: 10px;
  76. }
  77. #sidebar{
  78. background: {color:sidebar};
  79. position: absolute;
  80. left: 5%;
  81. top: 100px;
  82. width: 250px;
  83. height: 270px;
  84. min-height: 500px;
  85. box-shadow: 1px 2px 1px 1px #ccc;
  86. }
  87. .wrap{
  88. padding: 10px 25px 10px;
  89. width: auto;
  90. height: auto;
  91. }
  92. .wrap h2{
  93. text-align: center;
  94. font-size: 30px;
  95. font-weight: bold;
  96. }
  97. .nav{
  98. position: absolute;
  99. bottom: 5px;
  100. }
  101. .topnav {
  102. background-color: #5fd7fe ;
  103. overflow: hidden;
  104. opacity: 0.3;
  105. }
  106. /* Style the links inside the navigation bar */
  107. .topnav a {
  108. float: left;
  109. display: block;
  110. color: #000000 ;
  111. text-align: center;
  112. padding: 14px 16px;
  113. text-decoration: none;
  114. font-size: 17px;
  115. }
  116. </style>
  117. </head>
  118. <body>
  119. <div id="sidebar">
  120. <div class="wrap">
  121. {block:ifAvatar}
  122. <a href="{BlogURL}"><img src="{image:avatar}" width="200px" alt="Avatar"></a>
  123. {/block:ifAvatar}
  124. <h2>{TITLE}</h2>
  125. <p>{Description}</p>
  126.  
  127. {block:ifLinkOne}
  128. <a href="{text:Link One Url}">{text:Link One Text}</a> <br />
  129. {/block:ifLinkOne}
  130.  
  131. {block:ifLinkTwo}
  132. <a href="{text:Link Two Url}">{text:Link Two Text}</a> <br />
  133. {/block:ifLinkTwo}
  134.  
  135. {block:AskEnabled}
  136. <a href="{BlogURL}ask">{text:Ask Text}</a><br />
  137. {/block:AskEnabled}
  138.  
  139. <div class="nav">
  140. {block:PreviousPage}
  141. <a href="{PreviousPage}">Preious</a>
  142. {/block:PreviousPage}
  143. {block:NextPage}
  144. <a href="{NextPage}">Next</a>
  145. {/block:NextPage}
  146. </div>
  147. </div>
  148. </div>
  149. <div id="wrap">
  150. {block:Posts}
  151. <div id="content">
  152.  
  153. {block:Text}
  154.  
  155. {block:Title}
  156. <h3><a href="{Permalink}">{Title}</a></h3>
  157. {/block:Title}{Body}
  158.  
  159. {/block:Text}
  160. {block:Photo}
  161. <a href="{Permalink}">
  162. <img src="{PhotoURL-500}" alt="{PhotoAlt}" width="100%"></a>
  163.  
  164. {/block:Photo}
  165.  
  166. {block:Panorama}
  167.  
  168. {LinkOpenTag}
  169. <img src="{PhotoURL-Panorama}" alt="{PhotoAlt}"/>
  170. {LinkCloseTag}
  171.  
  172. {/block:Panorama}
  173.  
  174. {block:Photoset}
  175.  
  176. {Photoset-500}
  177. {/block:Photoset}
  178.  
  179. {block:Quote}
  180. <p><b style="font-size: 30px;">"</b>{Quote}<b style="font-size: 30px;">"</b></p>
  181. <center>
  182. {block:Source} - {Source}{/block:Source}
  183. </center>
  184. {/block:Quote}
  185.  
  186. {block:Link}
  187. <a href="{URL}" {Target}>{Name}</a>
  188. {/block:Link}
  189.  
  190. {block:Chat}
  191. <h3>{Title}</h3>
  192. <ul class="chat">
  193. {block:Lines}
  194. <li>
  195. {block:Label}
  196. {Label}
  197. {/block:Label}
  198. {Line}
  199. </li>
  200. {/block:Lines}
  201. </ul>
  202. {/block:Chat}
  203.  
  204. {block:Video}
  205. {Video-500}
  206. {block:Caption}
  207. {Caption}
  208. {/block:Caption}
  209. {/block:Video}
  210.  
  211. {block:Audio}
  212. {block:Artist}
  213. <p>Artist: {Artist}</p>
  214. <p>Song:{block:TrackName}{TrackName}{/block:TrackName}</p>
  215. <p>{block:Album}Album: {Album}{/block:Album}</p>
  216. {AudioPlayerWhite}
  217. {/block:Artist}
  218. {block:Caption}{Caption}{/block:Caption}
  219. {/block:Audio}
  220. </div>
  221. {/block:Posts}
  222. </div>
  223. </body>
  224. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement