Skip to content
This repository has been archived by the owner on Jul 29, 2021. It is now read-only.
/ dbpedialite Public archive

Commit

Permalink
Added a Creative Commons badge to the site (with RDFa)
Browse files Browse the repository at this point in the history
  • Loading branch information
njh committed Jul 27, 2010
1 parent 09da2c2 commit df77bf7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
7 changes: 2 additions & 5 deletions public/css/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,5 @@ a img { border: none; padding: 0; margin: 0; }
background: #000;
}

.valid-badge
{
float: right;
}

.badges { float: right; }
.badges img { padding-left: 10px; }
12 changes: 8 additions & 4 deletions views/layout.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@
<%= yield %>

<div id="footer">
<div class="valid-badge" about=""
resource="http://www.w3.org/TR/rdfa-syntax"
rel="dc:conformsTo" xmlns:dc="http://purl.org/dc/terms/">
<a href="http://validator.w3.org/check?uri=referer"><img
<div class="badges">
<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/"
><img alt="Creative Commons License" style="border-width:0"
src="http://i.creativecommons.org/l/by-sa/3.0/88x31.png" /></a>

<a about="" resource="http://www.w3.org/TR/rdfa-syntax"
rel="dc:conformsTo" xmlns:dc="http://purl.org/dc/terms/"
href="http://validator.w3.org/check?uri=referer"><img
src="/images/valid-xhtml-rdfa.png"
alt="Valid XHTML + RDFa" height="31" width="88" /></a>
</div>
Expand Down

0 comments on commit df77bf7

Please sign in to comment.