Skip to content

Commit

Permalink
badge style
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Bichel Lindegaard committed Nov 5, 2010
1 parent 672f4df commit c13b3e0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
22 changes: 19 additions & 3 deletions django/issuer/media/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -280,15 +280,31 @@ div.status_update {
display: block;
text-align: left;
padding:10px;

height:125px;
border:1px solid #ccc;
-moz-border-radius:6px;
background:-moz-linear-gradient(top, #fff 20%, #ddd 100%);
-moz-box-shadow: 0px 2px 0 #666;
margin: 8px auto;
}

.badge .pic {float: left;}

.badge .title {
font-size: 1.6em;
}

h4.issuer {
font-size:16px;
}

.badge h3.title {
line-height:40px;
}


.badge .info {
float: left;
.badge .info {
float:left;
margin-left:15px;
width: 250px;
}
4 changes: 2 additions & 2 deletions django/issuer/templates/badges/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ <h3>You have been awarded:</h3>

<div class='badge'>
<div class='pic'>
<img src='' alt='badge' />
<img src='/media/images/openweb01.png' alt='badge' />
</div>

<div class='info'>
<h3 class='title'>{{ badge.title }}</h3>
<h4 class='issuer'><a href='#' title=''>{{ badge.issuer }}</a></h4>
<h4 class='issuer'><a href='#' title=''>Mozilla Drumbeat Festival 2010</a></h4>
</div>
</div>
<br />
Expand Down

0 comments on commit c13b3e0

Please sign in to comment.