Update table CSS

This commit is contained in:
Peter Desmet 2015-01-15 08:43:42 +01:00
parent 190e884fc1
commit 18710f5b54
4 changed files with 37 additions and 30 deletions

View File

@ -24,6 +24,17 @@ body {
padding-top: 20px;
}
.anchor {
display: block;
position: relative;
top: -70px;
visibility: hidden;
}
section .well h2 {
margin-top: 10px; /* On terms page */
}
.terms-sidebar {
margin-top: 40px;
}
@ -52,16 +63,12 @@ body {
text-decoration: none;
}
.anchor {
display: block;
position: relative;
top: -70px;
visibility: hidden;
}
.class-group .well h2 {
margin-top: 10px;
}
.table {
table-layout: fixed;
}
.table th {
background-color: #e7e7e7;
}
.dwc-table {
table-layout: fixed;

View File

@ -103,7 +103,7 @@
#end if
#end def
#for $group in $groups
<section class="class-group">
<section>
<a id="$group.name" class="anchor"></a>
<header class="well">
<h2>$group.name</h2>

View File

@ -79,9 +79,9 @@
<colgroup><col /><col /></colgroup>
<tbody>
<tr><td colspan="2">Decision-2009-12-07_1</td></tr>
<tr><td>Identifier</td><td>http://rs.tdwg.org/dwc/terms/decisions.html#Decision-2009-12-07_1</td></tr>
<tr><td>Description</td><td>The recommended controlled vocabulary for dcterms:type was changed from a vocabulary of Darwin Core Classes (Occurrence, Taxon, Location, Event) to the DCMI type vocabulary (PhysicalObject, Event, StillImage, MovingImage, Sound, Text, Dataset) to be consistent with the standard use of that term.</td></tr>
<tr><td>Date</td><td>2009-12-07</td></tr>
<tr><td>Identifier</td><td>http://rs.tdwg.org/dwc/terms/decisions.html#Decision-2009-12-07_1</td></tr>
<tr><td>Description</td><td>The recommended controlled vocabulary for dcterms:type was changed from a vocabulary of Darwin Core Classes (Occurrence, Taxon, Location, Event) to the DCMI type vocabulary (PhysicalObject, Event, StillImage, MovingImage, Sound, Text, Dataset) to be consistent with the standard use of that term.</td></tr>
<tr><td>Date</td><td>2009-12-07</td></tr>
</tbody>
</table>

View File

@ -91,7 +91,7 @@
<p>This page provides a list of all currently recommended terms of the Darwin Core standard and their definitions. Terms that begin with <code>dcterms:</code> are from the <a href="http://dublincore.org/documents/dcmi-terms/">Dublin Core</a>. Categories correspond to Darwin Core classes (terms that have other terms to describe them). List of these terms in various formats can be found in <a href="../resources">resources</a>.</p>
</div>
<section class="class-group">
<section>
<a id="Record-level" class="anchor"></a>
<header class="well">
<h2>Record-level</h2>
@ -406,7 +406,7 @@
</table>
</section>
<section class="class-group">
<section>
<a id="Occurrence" class="anchor"></a>
<header class="well">
<h2>Occurrence</h2>
@ -733,7 +733,7 @@
</table>
</section>
<section class="class-group">
<section>
<a id="Organism" class="anchor"></a>
<header class="well">
<h2>Organism</h2>
@ -868,7 +868,7 @@
</table>
</section>
<section class="class-group">
<section>
<a id="MaterialSample" class="anchor"></a>
<header class="well">
<h2>MaterialSample</h2>
@ -907,7 +907,7 @@
</table>
</section>
<section class="class-group">
<section>
<a id="LivingSpecimen" class="anchor"></a>
<header class="well">
<h2>LivingSpecimen</h2>
@ -930,7 +930,7 @@
</section>
<section class="class-group">
<section>
<a id="PreservedSpecimen" class="anchor"></a>
<header class="well">
<h2>PreservedSpecimen</h2>
@ -953,7 +953,7 @@
</section>
<section class="class-group">
<section>
<a id="FossilSpecimen" class="anchor"></a>
<header class="well">
<h2>FossilSpecimen</h2>
@ -976,7 +976,7 @@
</section>
<section class="class-group">
<section>
<a id="Event" class="anchor"></a>
<header class="well">
<h2>Event</h2>
@ -1239,7 +1239,7 @@
</table>
</section>
<section class="class-group">
<section>
<a id="HumanObservation" class="anchor"></a>
<header class="well">
<h2>HumanObservation</h2>
@ -1262,7 +1262,7 @@
</section>
<section class="class-group">
<section>
<a id="MachineObservation" class="anchor"></a>
<header class="well">
<h2>MachineObservation</h2>
@ -1285,7 +1285,7 @@
</section>
<section class="class-group">
<section>
<a id="Location" class="anchor"></a>
<header class="well">
<h2>Location</h2>
@ -2012,7 +2012,7 @@
</table>
</section>
<section class="class-group">
<section>
<a id="GeologicalContext" class="anchor"></a>
<header class="well">
<h2>GeologicalContext</h2>
@ -2323,7 +2323,7 @@
</table>
</section>
<section class="class-group">
<section>
<a id="Identification" class="anchor"></a>
<header class="well">
<h2>Identification</h2>
@ -2474,7 +2474,7 @@
</table>
</section>
<section class="class-group">
<section>
<a id="Taxon" class="anchor"></a>
<header class="well">
<h2>Taxon</h2>
@ -3025,7 +3025,7 @@
</table>
</section>
<section class="class-group">
<section>
<a id="ResourceRelationship" class="anchor"></a>
<header class="well">
<h2>ResourceRelationship</h2>
@ -3160,7 +3160,7 @@
</table>
</section>
<section class="class-group">
<section>
<a id="MeasurementOrFact" class="anchor"></a>
<header class="well">
<h2>MeasurementOrFact</h2>