Advertisement
yuukithemes

base code

Jun 1st, 2013
11,474
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.74 KB | None | 0 0
  1. <!-- base code by creamsofa, you can use this code to build your own themes. if you are going to make the smallest changes or use it as it is, then please leave the credit. however, if you're going to make huge changes then remove it and call it your own!
  2.  
  3. if you'd like to show me your finished product i'd love to see it!!
  4.  
  5. for theme help check my /tagged/coding
  6.  
  7. google is amazing okay, ettudis also has great tutorials and help -->
  8.  
  9. <html>
  10. <head>
  11.  
  12.  
  13.  
  14. <link rel="shortcut icon" href="{Favicon}" />
  15. <link rel="alternate" type="application/rss+xml" href="{RSS}" />
  16. <title>{Title}</title>
  17. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  18.  
  19. <!-- DEFAULTS, this it the area that you can add color, images, if show captions, stuff like that -->
  20.  
  21. <meta name="color:background" content="#ffffff">
  22. <meta name="color:text" content="#c0bdb8" />
  23. <meta name="color:link hover" content="#fdfdfd" />
  24. <meta name="color:link" content="#c0bdb8" />
  25. <meta name="color:Bold" content="#777777" />
  26. <meta name="color:Italic" content="#bbbbbb"/>
  27.  
  28. <meta name="image:sidebar" content=""/>
  29.  
  30. <meta name="text:link1" content="url" />
  31. <meta name="text:name1" content="link" />
  32. <meta name="text:link2" content="url" />
  33. <meta name="text:name2" content="link" />
  34. <meta name="text:link3" content="url" />
  35. <meta name="text:name3" content="link" />
  36. <meta name="text:link4" content="url" />
  37. <meta name="text:name4" content="link" />
  38.  
  39.  
  40. </head>
  41.  
  42. <!-- from here on, you creat class and id DIV's; class looks like: .something id's being #something, you use here to stylize how your theme looks, what color, backgrounds, borders, fonts, texts, padding, margins all of that cool stuff -->
  43.  
  44. <style type="text/css">
  45.  
  46. body {color:{color:text}; background-color:{color:background}; font-family:verdana; font-size:11px; line-height:17px; text-align:justify}
  47.  
  48. a:link, a:active, a:visited{color: {color:link}; text-decoration:none}
  49.  
  50. a:hover {
  51. color:{color:link hover};-webkit-transition: all 0.2s linear; -moz-transition: all 0.2s linear; transition: all 0.2s linear;}
  52.  
  53. small{font-size:auto}
  54.  
  55. big{font-size:auto}
  56.  
  57. b, strong{color:{color:bold}}
  58.  
  59. h1 {font-size:15px;}
  60.  
  61. i, em {color:{color:italic}}
  62.  
  63. p{margin-top:6px; margin-bottom:6px}
  64.  
  65. blockquote {padding:0px; padding-left:10px; margin:8px; border-left:2px solid {color:text}}
  66.  
  67. img a{border:none; width:100%;}
  68.  
  69. #container {background-color:transparent; width: 400px; margin: 0 auto -10px auto}
  70.  
  71. /* the overall entries container and position of it */
  72.  
  73. #entries {margin-left:500px; text-align: justify;}
  74.  
  75. /* here are your posts to customize!! */
  76.  
  77. #posts {margin: 70px 0 0px 0; width: 400px;text-align: justify; padding: 10px;border: 1px solid #aaa; background-color:#ffffff;}
  78.  
  79. #posts img {max-width:100%;}
  80.  
  81. #sidebar{ position:fixed; width:200px; background:white; border:1px solid #aaa; padding:7px; overflow:hidden;left:150px; top:140px;
  82. }
  83.  
  84. h2 {
  85. font-family:helvetica; font-weight:100; line-height:17px;
  86. }
  87.  
  88. #pagination {font-family:calibri; text-align:center; font-size:24px; margin-bottom:2px;}
  89.  
  90. #credit{position:fixed; bottom:10px; left:10px; font-size:11px; font-family:calibri;color:{color:text}; text-transform:uppercase;letter-spacing: 0px; font-style:normal; background:white; border:1px solid #aaa; padding:3px;}
  91.  
  92. #info{padding-top:5px; display:block; padding-bottom:5px; width:auto; font-size:10px; font-family:verdana; text-transform:uppercase;}
  93.  
  94. .audio{background-color:black; display:block}
  95.  
  96. /* this is your chats, you can stylize however you want */
  97.  
  98. .user_1 .label {color:{color:link}; font-weight:bold}
  99. .user_2 .label {color:{color:text}; font-weight:italic}
  100. .user_3 .label {color:{color:link}; font-weight:text}
  101.  
  102.  
  103. ul.chat, .chat ol, .chat li {list-style:none; margin:0px; padding:0px}
  104.  
  105. .notes img{width:10px; position:relative; top:1px}
  106. ol.notes, .notes li{width:490px; list-style:none; margin:0px 0 -1px 5px; padding:0px}
  107.  
  108.  
  109. </style>
  110.  
  111. <!-- this is the area where everything comes to life and you have to code all the stuff you stylized. so i already got you like 10% started. or something, maybe more. i was never good at math anyway. -->
  112.  
  113. <body>
  114. <div id="sidebar">
  115. <a href="/"><img src="{image:sidebar}" style="width:190px;position:inline;
  116. padding:5px;"></a>
  117. <center>
  118. {description}<p>
  119. <a href="/">home</a> /
  120. <a href="/ask">ask</a> /
  121. <a href="{text:link1}">{text:name1}</a> /
  122. <a href="{text:link2}">{text:name2}</a> /
  123. <a href="{text:link3}">{text:name3}</a> /
  124. <a href="{text:link4}">{text:name4}</a>
  125. <div id="pagination">{block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">«</a>{/block:PreviousPage} {block:NextPage}<a href="{NextPage}">»</a><br />{/block:NextPage}{/block:Pagination}</div>
  126. </div>
  127. </center>
  128.  
  129. <!-- here is the credit, you can add your own in here! if you're not changing much to this theme, then leave it! -->
  130. <div id="credit"><a href="http://creamsofa.tumblr.com/" title="theme credit">THEME</a></div>
  131.  
  132. <div id="entries">
  133. {block:posts}
  134.  
  135. <div id="posts">
  136. {block:Text}{block:Title}<h1>{Title}</h1>{/block:Title}{Body}{/block:Text}
  137.  
  138.  
  139. {block:Quote}<h2>“{Quote}” — {Source}</h2><br>{/block:Quote}
  140.  
  141. {block:Link}<a href="{URL}"><h1>{Name}</h1></a>
  142. {block:Description}<p>{Description}</p>{/block:Description}{/block:Link}
  143.  
  144. {block:Photo}<center><img src="{PhotoURL-400}"/></center>
  145. {block:Caption}{Caption}{/block:Caption}{/block:Photo}
  146.  
  147. {block:Photoset}<center>{Photoset-400}</center>
  148. {block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  149.  
  150. {block:Chat}<ul class="chat">{block:Lines}<li class="user_{UserNumber}">{block:Label}<span class="label">{Label}</span>{/block:Label}&nbsp;{Line}</li>{/block:Lines}</ul>{/block:Chat}
  151.  
  152. {block:Video}{Video-400}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  153.  
  154. {block:Answer}{Asker} whispered: {Question}<br>{Answer}{/block:Answer}
  155.  
  156.  
  157. {block:Audio}{AudioPlayerWhite}<br>
  158. {block:Caption}{Caption}{/block:Caption} {/block:Audio}
  159.  
  160. <center><div id="info">{block:Date}<a href="{Permalink}"> <a href="{ReblogURL}" target="_blank" class="details"> +Reblog</a><a href="{ReblogParentURL}"> {TimeAgo}</a>{/block:Date}{block:NoteCount} <i>with</i> <a href="{Permalink}">{NoteCountWithLabel}</a>{/block:NoteCount}{block:RebloggedFrom}<br><i>reblogged from</i> <a href="{ReblogParentURL}">{ReblogParentName}</a> - {/block:RebloggedFrom}{block:ContentSource} <i>originally from</i> <a href="{SourceURL}">{SourceLink}</a>{/block:ContentSource}</center><p>
  161.  
  162. <center>{block:HasTags}<u>filed under:</u>{block:Tags} # <a href="{TagURL}">{Tag} </a> {/block:Tags}{/block:HasTags}
  163. <br /></div>
  164.  
  165. {/block:Posts}
  166.  
  167. {block:PostNotes}{PostNotes}{/block:PostNotes}<br />
  168. </div>
  169. </div>
  170.  
  171. </body>
  172. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement