Skip to content

Commit

Permalink
[2375] Add banner support to the media element
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed Jun 5, 2012
1 parent b64b0e2 commit b1517fa
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions ckan/public/base/less/media.less
Expand Up @@ -65,3 +65,20 @@ ol.media-grid {
.media-grid .first {
clear: left;
}

// Banner

.banner {
position: absolute;
top: 15px;
right: -35px;
width: 80px;
background: #707070;
color: #fff;
padding: 1px 20px;
font-size: 11px;
text-align: center;
text-transform: uppercase;
-webkit-transform: rotate(45deg);
-webkit-transform-origin: center center;
}

0 comments on commit b1517fa

Please sign in to comment.