Skip to content

Commit

Permalink
update tags css
Browse files Browse the repository at this point in the history
  • Loading branch information
trivektor committed Jan 9, 2012
1 parent 3f0ed37 commit 0cefd3e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 45 deletions.
Binary file added public/css/images/tag.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 2 additions & 21 deletions public/css/master.css
Expand Up @@ -254,27 +254,8 @@ ol.notes li {

.tags_section {
margin-top: 20px;
overflow: hidden; }
.tags_section h3 {
color: #ed7248;
font-weight: normal;
margin-bottom: 10px;
font-size: 16px;
float: left;
margin-right: 15px; }
.tags_section .tags_list {
float: left; }
.tags_section .tags_list .tag {
float: left;
background: url(images/tag_bg.png) repeat-x #94c626 left bottom;
padding: 2px 6px;
border-radius: 4px;
border: 1px solid #48580a;
color: #fff;
display: inline-block;
box-shadow: 0 1px 0 #f0ffd2 inset;
margin: 0 10px 10px 0;
font-size: 11px; }
background: url(images/tag.png) no-repeat;
padding-left: 24px; }

.AUDIO_info_float {
margin-top: 10px; }
Expand Down
20 changes: 3 additions & 17 deletions public/css/master.scss
Expand Up @@ -302,23 +302,9 @@ ol.notes {
}

.tags_section {
margin-top:20px; overflow:hidden;
h3 { color:#ed7248; font-weight:normal; margin-bottom:10px; font-size:16px; float:left; margin-right:15px }
.tags_list {
float:left;
.tag {
float:left;
background:url(images/tag_bg.png) repeat-x #94c626 left bottom;
padding:2px 6px;
border-radius:4px;
border:1px solid #48580a;
color:#fff;
display:inline-block;
box-shadow:0 1px 0 #f0ffd2 inset;
margin:0 10px 10px 0;
font-size:11px;
}
}
margin-top:20px;
background:url(images/tag.png) no-repeat;
padding-left:24px
}

.AUDIO_info_float {
Expand Down
13 changes: 6 additions & 7 deletions public/tumblr.html
Expand Up @@ -73,13 +73,13 @@ <h1 class='title'>
<div class="month">{ShortMonth}</div>
<div class="day">{DayOfMonthWithZero}</div>
</div>
<div class="post_type_icon">
<img src="http://red-green-tumblr.heroku.com/css/images/{PostType}_icon.png" />
</div>

{block:NoteCount}
<a class="note_count" href="{Permalink}#notes">{NoteCount}</a>
<a class="note_count" href="{Permalink}#notes" title="{NoteCountWithLabel}">{NoteCount}</a>
{/block:NoteCount}

</div>
Expand Down Expand Up @@ -203,11 +203,10 @@ <h3><span>A:</span> {Answer}</h3>

{block:HasTags}
<div class="tags_section">
<div class="tags_list">
{block:Tags}
<a class="tag" href="{TagURL}">{Tag}</a>
{/block:Tags}
</div>
Tags:
{block:Tags}
<a class="tag" href="{TagURL}">{Tag}</a>,
{/block:Tags}
</div>
{/block:HasTags}

Expand Down

0 comments on commit 0cefd3e

Please sign in to comment.