Skip to content

Commit

Permalink
Merge branch 'issue/13' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
cdchapman committed Oct 25, 2016
2 parents 680b628 + bfcf6ce commit b76430a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
16 changes: 16 additions & 0 deletions items/assets/stylesheets/specifications.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,19 @@

@import "partials/nonsemantic";
@import "partials/print";

dl.terms dt {
float: left;
clear: left;
width: 17vw;
margin-top: 0;
}

dl.terms dd:after {
content: '';
display: block;
clear: both;
margin-bottom: 5px;
}

table.rdfs-definition td { vertical-align: top; }
13 changes: 0 additions & 13 deletions layouts/specifications/vocabulary.haml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,6 @@
%title
= ont["rdfs:label"].first['@value']
%link{rel: "stylesheet", href: "/css/specifications.css"}
:css
dl.terms dt {
float: left;
clear: left;
width: 17vw;
}
dl.terms dd:after {
content: '';
display: block;
clear: both;
margin-bottom: 5px;
}
table.rdfs-definition td {vertical-align: top;}
- pfx = RDF::Vocabulary.find(ont['@id']).__name__.split(':').last.downcase
- pfxs = prefixes.inject([]) {|m, (k,v)| m << "#{k}: #{v}"}.join(' ')
- typeof = ont['@type'].map {|t| RDF::URI(t).pname}.join(' ')
Expand Down

0 comments on commit b76430a

Please sign in to comment.