From 18710f5b540cf565c9fa977a197669bb754dc8cb Mon Sep 17 00:00:00 2001 From: Peter Desmet Date: Thu, 15 Jan 2015 08:43:42 +0100 Subject: [PATCH] Update table CSS --- assets/main.css | 27 +++++++++++++++++---------- build/terms.tmpl | 2 +- terms/decisions.html | 6 +++--- terms/index.html | 32 ++++++++++++++++---------------- 4 files changed, 37 insertions(+), 30 deletions(-) diff --git a/assets/main.css b/assets/main.css index 7992283..82136bc 100644 --- a/assets/main.css +++ b/assets/main.css @@ -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; diff --git a/build/terms.tmpl b/build/terms.tmpl index 283cd9e..45788bc 100644 --- a/build/terms.tmpl +++ b/build/terms.tmpl @@ -103,7 +103,7 @@ #end if #end def #for $group in $groups -
+

$group.name

diff --git a/terms/decisions.html b/terms/decisions.html index 6c625c1..8dcda50 100644 --- a/terms/decisions.html +++ b/terms/decisions.html @@ -79,9 +79,9 @@ Decision-2009-12-07_1 - Identifierhttp://rs.tdwg.org/dwc/terms/decisions.html#Decision-2009-12-07_1 - DescriptionThe 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. - Date2009-12-07 + Identifierhttp://rs.tdwg.org/dwc/terms/decisions.html#Decision-2009-12-07_1 + DescriptionThe 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. + Date2009-12-07 diff --git a/terms/index.html b/terms/index.html index e2daa06..a5485ba 100644 --- a/terms/index.html +++ b/terms/index.html @@ -91,7 +91,7 @@

This page provides a list of all currently recommended terms of the Darwin Core standard and their definitions. Terms that begin with dcterms: are from the Dublin Core. 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 resources.

-
+

Record-level

@@ -406,7 +406,7 @@
-
+

Occurrence

@@ -733,7 +733,7 @@
-
+

Organism

@@ -868,7 +868,7 @@
-
+

MaterialSample

@@ -907,7 +907,7 @@
-
+

LivingSpecimen

@@ -930,7 +930,7 @@
-
+

PreservedSpecimen

@@ -953,7 +953,7 @@
-
+

FossilSpecimen

@@ -976,7 +976,7 @@
-
+

Event

@@ -1239,7 +1239,7 @@
-
+

HumanObservation

@@ -1262,7 +1262,7 @@
-
+

MachineObservation

@@ -1285,7 +1285,7 @@
-
+

Location

@@ -2012,7 +2012,7 @@
-
+

GeologicalContext

@@ -2323,7 +2323,7 @@
-
+

Identification

@@ -2474,7 +2474,7 @@
-
+

Taxon

@@ -3025,7 +3025,7 @@
-
+

ResourceRelationship

@@ -3160,7 +3160,7 @@
-
+

MeasurementOrFact