Tumblr theme - removing blockquote, changing a blovkquote to a list |
Tumblr theme - removing blockquote, changing a blovkquote to a list |
xanima |
Mar 11 2012, 10:06 PM
Post
#1
|
Group: Members Posts: 1 Joined: 11-March 12 Member No.: 16,681 |
Hi, I am trying to change this tumblr theme so that the links contained within the "haspage" parameters in the following code. I am looking to change it from a blockquote format to a list to display the links more clearly.
ad> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>{Title}{block:PostSummary} - {PostSummary}{/block:PostSummary}</title> <link rel="icon" href="{Favicon}"/> <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}"/> <meta name="viewport" content="width=770"/> <!-- iPhone --> {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description} <meta name="text:Disqus Shortname" content="" /> <!-- Custom Colours --> <meta name="color:Background" content="#ffffff" /> <meta name="color:Headers" content="#59600e" /> <meta name="color:Text" content="#444444" /> <meta name="color:Sidebar Text" content="#777777" /> <meta name="color:Footer Text" content="#888888" /> <meta name="color:Links" content="#8cae26" /> <meta name="color:Header Links" content="#59600e" /> <meta name="color:Navigation Links" content="#8a9f47" /> <meta name="color:Tables" content="#f8f9db" /> <meta name="color:Blockquote Border" content="#f0f3b1" /> <style type="text/css"> /* copyright + credits { joshuaink.com: bus full of hippies edition; email: john@joshuaink.com; many-thanks: denis radenkovic for the flowers illustration: http://38one.com/ and graham bancroft for the updates made for the Creative Commons release of these templates; } tumblr port credits { christian montoya / tumblr.christianmontoya.com / christianmontoya.net; some formatting taken from nostrich: tumblr.quisby.net; } */ /* BASICS */ h2, h3, h4, h5 { margin:0.8em 0; color:{color:Headers}; } #main-content h2, #main-content h3, #main-content h4, #main-content h5 { margin:1em 0; } #main-content h2 { font-size:125%; } #main-content h3 { font-size:110%; } #main-content h4 { font-size:105%; } p { margin:0.6em 0; } ol, ul { margin:1em 0 1.3em 0; } ul { list-style-type:none; } ul li { padding-left:12px; background:transparent url(http://static.tumblr.com/djjsbfu/fsukhqwq1/bullet.gif) 0 5px no-repeat; } dd { margin:0.3em 0 0.8em 12px; } cite { font-style:normal; } blockquote { margin-left:10px; margin-right:0; padding-left:10px; padding-right:0; border-left:1px solid {color:Blockquote Border}; } small { font-size:88%; } .clear { clear:both; } /* HTML & BODY */ html, body { margin:0; padding:0; } html { font-size:100.01%; } body { background:{color:Background} url(http://static.tumblr.com/djjsbfu/WEgkhsgio/hippieback.jpg) center top no-repeat; font:1em/1.5 "Trebuchet MS", "Lucida Grande", "Bitstream Vera Sans", "Helvetica Neue", Arial, Helvetica, sans-serif; color:{color:Text}; padding-top:100px; padding-bottom:20px; } /* LAYOUT */ #wrap { width:908px; margin:0 auto; position:relative; } #theme-header { position:absolute; left:174px; top:6px; width:330px; } #main-content { padding-top:140px; width:510px; } #sub-content { float:right; margin-right:14px; padding-top:74px; width:320px; } #theme-navigation { width:300px; height:60px; position:absolute; left:560px; top:15px; z-index:10; } #foot { clear:both; margin:40px 0 25px 29px; padding-top:10px; } #theme-navigation ul { margin:0; padding:0; overflow: hidden; } #theme-navigation ul li { background-image:none !important; list-style:none; float:left; margin:0 !important; padding:0 !important; } #theme-navigation ul li a { border-right:1px solid #f4f6ed; display:block; float:left; overflow:hidden; padding:1em 12px; } #theme-navigation ul li.last a { border-right:none; padding-right:0; } input { padding:2px; } label, legend { clear:both; color:{color:Headers}; display:block; font-weight:bold; margin-right:5px; } fieldset { border:0 solid {color:Background}; margin-bottom:16px; } input, textarea { background:transparent url(http://static.tumblr.com/djjsbfu/wn4khqwov/input_back.png) 0 0 no-repeat; border-width:1px; border-style:solid; border-color:#cede96 #d6e4a7 #d6e4a7 #cede96; color:{color:Text}; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; margin:5px 0 10px 0; padding:4px 2px 4px 5px; width:200px; } textarea { width:345px !important; height:250px !important; overflow:auto; } #searchform input { margin-left:12px; } #search { width:150px; } /* TYPOGRAPHY */ #wrap { font-size:80%; } #theme-header h1, #theme-navigation { font-weight:bold; font-family:"Lucida Grande", "Bitstream Vera Sans", "Helvetica Neue", Arial, Helvetica, sans-serif; } #theme-header h1 { font-size:250%; } #theme-navigation { font-size:96%; } #theme-header h1 a, #theme-navigation ul li a { color:{color:Navigation Links} !important; text-decoration:none; } #sub-content { font-size:93%; color:{color:Sidebar Text}; } #foot { font-size:88%; } a { color:{color:Links} !important; } h2 a, #pagination a { color:{color:Header Links}; text-decoration:none; } #sub-content a { color:{color:Sidebar Links}; } #foot, #foot a { color:{color:Footer Text} !important; } /* TABLES */ caption { margin:0.8em 0; font-weight:bold; text-align:left; color:{color:Headers}; } table { margin:0.8em 0; border:1px solid {color:Tables}; padding:2px; width:90%; background:{color:Tables}; } td { padding:2px; border:1px solid {color:Tables}; background:{color:Background}; } /* SIT */ div#main-content .meta { overflow:hidden; margin-bottom:12px; } div#main-content .post { border-bottom: none; padding-bottom: 20px; margin-bottom: 40px; } div#main-content .post .date { float: left; padding: 0; margin-bottom: 0; } div#main-content .post .type { max-width: 315px; text-align: right; float: right; padding: 0; margin-bottom: 0; } div#main-content .post img { max-width: 500px; } div#main-content .post blockquote img { max-width: 150px; } /* QUOTE SPECIFIC */ /* PHOTO SPECIFIC */ div#main-content .photo img { background: {color:Background}; border: 1px solid {color:Tables}; display: block; margin-bottom: 12px; padding: 4px; } div#main-content .photo a img { border: 1px solid {color:Links}; } /* VIDEO SPECIFIC */ div#main-content .video object { margin-bottom: 12px; } /* CHAT SPECIFIC */ div#main-content .chat ul { padding: 0; margin: 0; list-style-type: none; } div#main-content .chat ul li { padding: 5px; margin: 5px 0; } /* AUDIO SPECIFIC */ div#main-content .audio embed { margin-bottom: 12px; } /* TAGS */ div#main-content .post p.tags { font-style: italic; } p.tags a { padding: 0 5px; } /* PAGINATION */ div#pagination { font-style: italic; overflow: hidden; } div#pagination a { font-weight: bold; } div#pagination #pages { float: left; } div#pagination #nav-pages { float: right; } /* NOTES */ ol.notes { padding: 0px; margin: 25px 0px; list-style-type: none; } ol.notes li.note { padding: 10px; } ol.notes li.note img.avatar { vertical-align: -4px; margin-right: 10px; width: 16px; height: 16px; border: 2px solid {color:Tables}; } ol.notes li.note span.action { font-weight: bold; } ol.notes li.note .answer_content { font-weight: normal; } ol.notes li.note blockquote { padding: 4px 10px; margin: 10px 0px 0px 25px; } {CustomCSS} </style> </head> <body> <div id="wrap"> <div id="theme-header"> <h1><a href="/">{Title}</a></h1> </div> <div id="theme-navigation"> <ul> <li><a href="/">{lang:Home}</a></li> <li><a href="/archive">{lang:Archive}</a></li> <li><a href="/random">{lang:Random}</a></li> <li class="last"><a href="{RSS}">{lang:Subscribe}</a></li> </ul> </div> <div id="sub-content" style="clear: both"> <form id="searchform" method="get" action="/search"> <p> <label for="search">{lang:Search}:<input type="text" id="search" name="q" size="20" value="{SearchQuery}" /></label><br /> </p> </form> <div> {Description} {block:HasPages} <br/><br/> {block:Pages}<a href="{URL}">{Label}</a> {/block:Pages} {/block:HasPages} {block:AskEnabled}<br/><br/><a href="/ask">{AskLabel}</a>{/block:AskEnabled} {block:SubmissionsEnabled}<br/><br/><a href="/submit">{SubmitLabel}</a>{/block:SubmissionsEnabled} </div> </div> <div id="main-content"> {block:Posts} {block:Text} <div class="post text"> <div class="meta"> {block:Date} <p class="date"><a href="{Permalink}">{DayOfMonth}{DayOfMonthSuffix} {Month} {Year}</a></p> <p class="type"> {block:Reblog} {block:IfShowPostNotes}{lang:PostTypeNoun reblogged from ReblogParentTitle with NoteCount notes 2}{/block:IfShowPostNotes} {block:IfNotShowPostNotes}{lang:PostTypeNoun reblogged from ReblogParentTitle 2}{/block:IfNotShowPostNotes} {/block:Reblog} {block:NotReblog} {block:IfShowPostNotes}{lang:PostTypeNoun with NoteCount notes 2}{/block:IfShowPostNotes} {block:IfNotShowPostNotes}{PostTypeNoun}{/block:IfNotShowPostNotes} {/block:NotReblog} {block:IfDisqusShortname} (<a href="{Permalink}#disqus_thread"></a>){block:IfDisqusShortname} </p> {/block:Date} </div> {block:Title}<h2><a href="{Permalink}">{Title}</a></h2>{/block:Title} {Body} {block:HasTags}<p class="tags">{lang:Tagged}: {block:Tags}<a href="{TagURL}">{Tag}</a>{/block:Tags}</p>{/block:HasTags} {block:ContentSource} <p class="tags">{lang:Source}: <a href="{SourceURL}">{block:SourceLogo}<img src="{BlackLogoURL}" width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" style="padding:0; border:none; display:inline-block; vertical-align:text-top;" />{/block:SourceLogo}{block:NoSourceLogo}{SourceTitle}{/block:NoSourceLogo}</a></p> {/block:ContentSource} </div> {/block:Text} {block:Photo} <div class="post photo"> <div class="meta"> {block:Date} <p class="date"><a href="{Permalink}">{DayOfMonth}{DayOfMonthSuffix} {Month} {Year}</a></p> <p class="type"> {block:Reblog} {block:IfShowPostNotes}{lang:PostTypeNoun reblogged from ReblogParentTitle with NoteCount notes 2}{/block:IfShowPostNotes} {block:IfNotShowPostNotes}{lang:PostTypeNoun reblogged from ReblogParentTitle 2}{/block:IfNotShowPostNotes} {/block:Reblog} {block:NotReblog} {block:IfShowPostNotes}{lang:PostTypeNoun with NoteCount notes 2}{/block:IfShowPostNotes} {block:IfNotShowPostNotes}{PostTypeNoun}{/block:IfNotShowPostNotes} {/block:NotReblog} {block:IfDisqusShortname} (<a href="{Permalink}#disqus_thread"></a>){block:IfDisqusShortname} </p> {/block:Date} </div> {LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}" />{LinkCloseTag} {block:Caption}<p>{Caption}</p>{/block:Caption} {block:HasTags}<p class="tags">{lang:Tagged}: {block:Tags}<a href="{TagURL}">{Tag}</a>{/block:Tags}</p>{/block:HasTags} {block:ContentSource} <p class="tags">{lang:Source}: <a href="{SourceURL}">{block:SourceLogo}<img src="{BlackLogoURL}" width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" style="padding:0; border:none; display:inline-block; vertical-align:text-top;" />{/block:SourceLogo}{block:NoSourceLogo}{SourceTitle}{/block:NoSourceLogo}</a></p> {/block:ContentSource} </div> {/block:Photo} {block:Quote} <div class="post quote"> <div class="meta"> {block:Date} <p class="date"><a href="{Permalink}">{DayOfMonth}{DayOfMonthSuffix} {Month} {Year}</a></p> <p class="type"> {block:Reblog} {block:IfShowPostNotes}{lang:PostTypeNoun reblogged from ReblogParentTitle with NoteCount notes 2}{/block:IfShowPostNotes} {block:IfNotShowPostNotes}{lang:PostTypeNoun reblogged from ReblogParentTitle 2}{/block:IfNotShowPostNotes} {/block:Reblog} {block:NotReblog} {block:IfShowPostNotes}{lang:PostTypeNoun with NoteCount notes 2}{/block:IfShowPostNotes} {block:IfNotShowPostNotes}{PostTypeNoun}{/block:IfNotShowPostNotes} {/block:NotReblog} {block:IfDisqusShortname} (<a href="{Permalink}#disqus_thread"></a>){block:IfDisqusShortname} </p> {/block:Date} </div> <blockquote>{Quote}</blockquote> <div class="source">{block:Source}— {Source}{/block:Source}</div> {block:HasTags}<p class="tags">{lang:Tagged}: {block:Tags}<a href="{TagURL}">{Tag}</a>{/block:Tags}</p>{/block:HasTags} {block:ContentSource} <p class="tags">{lang:Source}: <a href="{SourceURL}">{block:SourceLogo}<img src="{BlackLogoURL}" width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" style="padding:0; border:none; display:inline-block; vertical-align:text-top;" />{/block:SourceLogo}{block:NoSourceLogo}{SourceTitle}{/block:NoSourceLogo}</a></p> {/block:ContentSource} </div> {/block:Quote} {block:Link} <div class="post link"> <div class="meta"> {block:Date} <p class="date"><a href="{Permalink}">{DayOfMonth}{DayOfMonthSuffix} {Month} {Year}</a></p> <p class="type"> {block:Reblog} {block:IfShowPostNotes}{lang:PostTypeNoun reblogged from ReblogParentTitle with NoteCount notes 2}{/block:IfShowPostNotes} {block:IfNotShowPostNotes}{lang:PostTypeNoun reblogged from ReblogParentTitle 2}{/block:IfNotShowPostNotes} {/block:Reblog} {block:NotReblog} {block:IfShowPostNotes}{lang:PostTypeNoun with NoteCount notes 2}{/block:IfShowPostNotes} {block:IfNotShowPostNotes}{PostTypeNoun}{/block:IfNotShowPostNotes} {/block:NotReblog} {block:IfDisqusShortname} (<a href="{Permalink}#disqus_thread"></a>){block:IfDisqusShortname} </p> {/block:Date} </div> <h2><a href="{URL}" {Target}>{Name} →</a></h2> {block:Description}<p>{Description}</p>{/block:Description} {block:HasTags}<p class="tags">{lang:Tagged}: {block:Tags}<a href="{TagURL}">{Tag}</a>{/block:Tags}</p>{/block:HasTags} {block:ContentSource} <p class="tags">{lang:Source}: <a href="{SourceURL}">{block:SourceLogo}<img src="{BlackLogoURL}" width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" style="padding:0; border:none; display:inline-block; vertical-align:text-top;" />{/block:SourceLogo}{block:NoSourceLogo}{SourceTitle}{/block:NoSourceLogo}</a></p> {/block:ContentSource} </div> {/block:Link} {block:Chat} <div class="post chat"> <div class="meta"> {block:Date} <p class="date"><a href="{Permalink}">{DayOfMonth}{DayOfMonthSuffix} {Month} {Year}</a></p> <p class="type"> {block:Reblog} {block:IfShowPostNotes}{lang:PostTypeNoun reblogged from ReblogParentTitle with NoteCount notes 2}{/block:IfShowPostNotes} {block:IfNotShowPostNotes}{lang:PostTypeNoun reblogged from ReblogParentTitle 2}{/block:IfNotShowPostNotes} {/block:Reblog} {block:NotReblog} {block:IfShowPostNotes}{lang:PostTypeNoun with NoteCount notes 2}{/block:IfShowPostNotes} {block:IfNotShowPostNotes}{PostTypeNoun}{/block:IfNotShowPostNotes} {/block:NotReblog} {block:IfDisqusShortname} (<a href="{Permalink}#disqus_thread"></a>){block:IfDisqusShortname} </p> {/block:Date} </div> {block:Title}<h2>{Title}</h2>{/block:Title} <ul> {block:Lines}<li>{block:Label}<strong>{Label}</strong>{/block:Label} {Line}</li>{/block:Lines} </ul> {block:HasTags}<p class="tags">{lang:Tagged}: {block:Tags}<a href="{TagURL}">{Tag}</a>{/block:Tags}</p>{/block:HasTags} {block:ContentSource} <p class="tags">{lang:Source}: <a href="{SourceURL}">{block:SourceLogo}<img src="{BlackLogoURL}" width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" style="padding:0; border:none; display:inline-block; vertical-align:text-top;" />{/block:SourceLogo}{block:NoSourceLogo}{SourceTitle}{/block:NoSourceLogo}</a></p> {/block:ContentSource} </div> {/block:Chat} {block:Audio} <div class="post audio"> <div class="meta"> {block:Date} <p class="date"><a href="{Permalink}">{DayOfMonth}{DayOfMonthSuffix} {Month} {Year}</a></p> <p class="type"> {block:Reblog} {block:IfShowPostNotes}{lang:PostTypeNoun reblogged from ReblogParentTitle with NoteCount notes 2}{/block:IfShowPostNotes} {block:IfNotShowPostNotes}{lang:PostTypeNoun reblogged from ReblogParentTitle 2}{/block:IfNotShowPostNotes} {/block:Reblog} {block:NotReblog} {block:IfShowPostNotes}{lang:PostTypeNoun with NoteCount notes 2}{/block:IfShowPostNotes} {block:IfNotShowPostNotes}{PostTypeNoun}{/block:IfNotShowPostNotes} {/block:NotReblog} - {Played PlayCount times} {block:IfDisqusShortname} (<a href="{Permalink}#disqus_thread"></a>){block:IfDisqusShortname} </p> {/block:Date} </div> {AudioPlayerGrey} {block:Caption}<p>{Caption}</p>{/block:Caption} {block:HasTags}<p class="tags">{lang:Tagged}: {block:Tags}<a href="{TagURL}">{Tag}</a>{/block:Tags}</p>{/block:HasTags} {block:ContentSource} <p class="tags">{lang:Source}: <a href="{SourceURL}">{block:SourceLogo}<img src="{BlackLogoURL}" width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" style="padding:0; border:none; display:inline-block; vertical-align:text-top;" />{/block:SourceLogo}{block:NoSourceLogo}{SourceTitle}{/block:NoSourceLogo}</a></p> {/block:ContentSource} </div> {/block:Audio} {block:Video} <div class="post video"> <div class="meta"> {block:Date} <p class="date"><a href="{Permalink}">{DayOfMonth}{DayOfMonthSuffix} {Month} {Year}</a></p> <p class="type"> {block:Reblog} {block:IfShowPostNotes}{lang:PostTypeNoun reblogged from ReblogParentTitle with NoteCount notes 2}{/block:IfShowPostNotes} {block:IfNotShowPostNotes}{lang:PostTypeNoun reblogged from ReblogParentTitle 2}{/block:IfNotShowPostNotes} {/block:Reblog} {block:NotReblog} {block:IfShowPostNotes}{lang:PostTypeNoun with NoteCount notes 2}{/block:IfShowPostNotes} {block:IfNotShowPostNotes}{PostTypeNoun}{/block:IfNotShowPostNotes} {/block:NotReblog} {block:IfDisqusShortname} (<a href="{Permalink}#disqus_thread"></a>){block:IfDisqusShortname} </p> {/block:Date} </div> {Video-500} {block:Caption}<p>{Caption}</p>{/block:Caption} {block:HasTags}<p class="tags">{lang:Tagged}: {block:Tags}<a href="{TagURL}">{Tag}</a>{/block:Tags}</p>{/block:HasTags} {block:ContentSource} <p class="tags">{lang:Source}: <a href="{SourceURL}">{block:SourceLogo}<img src="{BlackLogoURL}" width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" style="padding:0; border:none; display:inline-block; vertical-align:text-top;" />{/block:SourceLogo}{block:NoSourceLogo}{SourceTitle}{/block:NoSourceLogo}</a></p> {/block:ContentSource} </div> {/block:Video} {block:IfDisqusShortname} {block:Permalink} <div id="disqus_thread"></div> <script type="text/javascript" src="http://disqus.com/forums/{text:Disqus Shortname}/embed.js"></script> <noscript><a href="http://{text:Disqus Shortname}.disqus.com/?url=ref">{lang:View the discussion thread}</a></noscript> {/block:Permalink} {/block:IfDisqusShortname} {Block:PostNotes} {PostNotes} {/Block:PostNotes} {/block:Posts} {block:Pagination} <div id="pagination"> <div id="nav-pages"> <p> {block:NextPage}<a href="{NextPage}">← {lang:Previous page}</a>{/block:NextPage} • {block:PreviousPage}<a href="{PreviousPage}">{lang:Next page} →</a>{/block:PreviousPage} </p> </div> <div id="pages"> <p>{lang:Page CurrentPage of TotalPages}</p> </div> </div> {/block:Pagination} {block:PermalinkPagination} <div id="pagination"> <div id="nav-pages"> <p> {block:NextPost}<a href="{NextPost}">← {lang:Previous post}</a>{/block:NextPost} • {block:PreviousPost}<a href="{PreviousPost}">{lang:Next post} →</a>{/block:PreviousPost} </p> </div> </div> {/block:PermalinkPagination} </div> <div id="foot"> <!-- YOU MUST LEAVE THE FOLLOWING CREDITS AND CREATIVE COMMONS NOTICES IN PLACE IF YOU USE THIS DESIGN. YOU CAN DELETE THIS COMMENT THOUGH! --> <p> Original design by <a href="http://mrandmrsok.com/" title="visit John's site">John Oxton</a> | Illustration by <a href="http://www.38one.com">Denis Radenkovic</a> | Modified for Tumblr by <a href="http://tumblr.christianmontoya.com">Christian Montoya</a> | This design is released under a <a href="http://creativecommons.org/licenses/by-nc/2.5/" title="view the licence for this design">Creative Commons license</a> </p> </div> </div> {block:IfDisqusShortname} <script type="text/javascript"> //<![CDATA[ (function() { var links = document.getElementsByTagName('a'); var query = '?'; for(var i = 0; i < links.length; i++) { if(links[i].href.indexOf('#disqus_thread') >= 0) { query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&'; } } document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/{text:Disqus Shortname}/get_num_replies.js' + query + '"></' + 'script>'); })(); //]]> </script> {/block:IfDisqusShortname} </body> </html> |
Lo-Fi Version | Time is now: 17th April 2024 - 10:31 PM |