Skip to content

Commit dd3c61c

Browse files
author
tucotuco
committed
First release, Darwin's 100th birthday in the year of Darwin, 2009-02-12.
1 parent fac781b commit dd3c61c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+10170
-0
lines changed
119 Bytes
Loading

DarwinCore_files/TDWGlogo_Twiki.gif

1.8 KB
Loading

DarwinCore_files/blank.gif

958 Bytes
Loading

DarwinCore_files/default.css

+134
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
/* The Darwin Core Task Group */
2+
/* Adapted from the Dublin Core Metadata Initiative */
3+
/* http://tdwg.org/ */
4+
5+
6+
/* Note: Todd Fahrner's keyword hack for IE. */
7+
/* http://alistapart.com/stories/sizematters/ */
8+
body, body div, body p, body th, body td, body li, body dd {
9+
/* More specific to override rule in importing sheet. */
10+
font-size: x-small;
11+
/* False value for WinIE4/5. */
12+
voice-family: "\"}\"";
13+
/* Trick WinIE4/5 into thinking the rule is over. */
14+
voice-family: inherit;
15+
/* Recover from trick. */
16+
font-size: small;
17+
/* Intended value for better browsers. */
18+
}
19+
html>body, html>body div, html>body p, html>body th, html>body td, html>body li, html>body dd {
20+
font-size: small;
21+
/* Be nice to Opera. */
22+
}
23+
/* END Todd Fahrner's keyword hack for IE. */
24+
25+
/* Body */
26+
body {
27+
background: #FFF;
28+
color: #000;
29+
font-family: Verdana, Arial, "Arial Unicode MS", Helvetica, sans-serif;
30+
margin: 10px;
31+
padding: 10px;
32+
text-align: left;
33+
}
34+
35+
/* Links */
36+
a:link { color: #333; text-decoration: underline; }
37+
a:visited { color: #666; text-decoration: underline; }
38+
a:hover, a:visited:hover, a:active { color: #F60; text-decoration: underline; }
39+
40+
/* Misc */
41+
code, pre, tt { color: #000; font-family: Courier, "Courier New", "Andale Mono", Monoco, monospace; }
42+
hr { color: #CCC; height: 1px; }
43+
img { border: 0; }
44+
th, td { vertical-align: top; }
45+
46+
/* Forms */
47+
form { margin: 0; padding: 0; }
48+
input.text { font-size: 80%; }
49+
input.search { font: 11px Verdana, Arial, "Arial Unicode MS", Helvetica, sans-serif; }
50+
input.button { font: 11px Verdana, Arial, "Arial Unicode MS", Helvetica, sans-serif; margin: 0; padding: 0; }
51+
52+
/* Headings */
53+
h1 { color: #333; font: bold 135% Verdana, Arial, "Arial Unicode MS", Helvetica, sans-serif; }
54+
h2 { color: #F30; font: bold 120% Verdana, Arial, "Arial Unicode MS", Helvetica, sans-serif; }
55+
h3 { color: #000; font: bold 105% Verdana, Arial, "Arial Unicode MS", Helvetica, sans-serif; }
56+
h4 { color: #666; font: bold 100% Verdana, Arial, "Arial Unicode MS", Helvetica, sans-serif; font-style: italic; }
57+
h5 { color: #777; font: bold 80% Tahoma, Geneva, "Arial Unicode MS", Arial, Helvetica, sans-serif; }
58+
59+
/* Code/Preformatted - puts gray background behind example */
60+
code.example, pre.example { background: #EEE; line-height: 140%; }
61+
62+
/* Table used for sidebar menus on home page only */
63+
table.menuhome { width: 150px; }
64+
table.menuhome th.cat { background: #CCC; font-size: 80%; font-weight: bold; padding: 4px 6px; text-align: center; vertical-align: top; }
65+
table.menuhome td.item { background: #EEE; font-size: 80%; padding: 4px 6px 6px 6px; vertical-align: top; }
66+
67+
/* Home page elements */
68+
div.deck { color: #666; font-size: 80%; padding-bottom: 1em; }
69+
div.newsarchive { border-bottom: 1px solid #CCC; font-size: 80%; padding: 1em 0; text-align: center; }
70+
div.dates { font-size: 80%; padding: 1em 0; text-align: center; }
71+
72+
/* Table used for home page layout */
73+
table.home { width: 100%; }
74+
table.home td.sidebar { background: #EEE; padding: 0; width: 150px; }
75+
table.home td.main { padding: 0 15px; }
76+
77+
/* Table used for sidebar menus */
78+
table.menu { width: 180px; }
79+
table.menu th.cat { background: #CCC; font-size: 80%; font-weight: bold; padding: 4px 6px; text-align: center; vertical-align: top; }
80+
table.menu td.item { background: #EEE; font-size: 80%; padding: 4px 6px 8px 6px; vertical-align: top; }
81+
82+
/* Table used in Document pages - yellow background for table heads */
83+
table.docinfo { background: #FFC; width: 100%; margin-bottom: 10px; }
84+
table.docinfo th { text-align: right; padding: 4px; width: 15%; }
85+
table.docinfo td { text-align: left; padding: 4px; width: 85%; }
86+
87+
/* Table used in Working Group pages - gray background for table heads */
88+
table.wginfo { background: #EEE; width: 100%; margin-bottom: 10px; }
89+
table.wginfo th { text-align: right; padding: 4px; width: 15%; }
90+
table.wginfo td { text-align: left; padding: 4px; width: 85%; }
91+
92+
/* Specs for tables with border */
93+
table.border { border-top: 1px solid #CCC; border-left: 1px solid #CCC; margin-bottom: 10px; width: 95%; border-collapse: collapse;}
94+
table.border th { background: #EEE; font-family: Verdana, Arial, "Arial Unicode MS", Helvetica, sans-serif; }
95+
table.border td, table.border th { border-right: 1px solid #CCC; border-bottom: 1px solid #CCC; padding: .5em; }
96+
table.border caption { font-weight: bold; border-bottom: 1px solid #CCC;}
97+
98+
/* Specs for tables with no border */
99+
table.noborder { margin-bottom: 10px; }
100+
table.noborder th { background: #EEE; font-family: Verdana, Arial, "Arial Unicode MS", Helvetica, sans-serif; }
101+
table.noborder td, table.noborder th { padding: .5em; }
102+
103+
/* Header and Footer */
104+
td.crumb { font-size: 80%; }
105+
div.headerhome { padding-bottom: 1em; }
106+
div.header { border-bottom: 1px solid #CCC; margin-bottom: 1em; padding-bottom: 1em; }
107+
div.footer { border-top: 2px solid #CCC; margin-top: 1em; }
108+
div.footer p { font-size: 80%; }
109+
.small, p.small { font-size: 10px; }
110+
111+
/* Hidden DCMI name for print */
112+
div.dcmiprint { display: none; }
113+
114+
/* News items */
115+
div.rss-item { border-bottom: 1px solid #CCC; padding-bottom: 1em; padding-top: 1em; }
116+
div.rss-type { color: #F30; font-size: 80%; font-weight: bold; }
117+
div.rss-title { font-weight: bold; margin: 0; padding: 0; }
118+
div.rss-description p { margin: 0; padding: 4px 0 6px 0; }
119+
120+
/* Style for search engine (htdig) */
121+
.refineSearch { font: 11px/13px Arial, Helvetica, sans-serif; }
122+
.resultMatches { font: 12px Arial, Helvetica, sans-serif; font-weight:bold; }
123+
124+
/* New styles */
125+
#tableObsolete { width: 100%; border-style: solid; border-width: 1px; border-color: #FF6; }
126+
#tableObsolete td.colNote { padding: 5px; vertical-align: top; background: #FFC; }
127+
128+
/* THE DUBLIN CORE METADATA REGISTRY */
129+
.registry { color: #FFF; font-size: 80%; }
130+
/* Links in header */
131+
a.registry { font-size: 80%; font-weight: bold; }
132+
a.registry:link { color: #FFF; text-decoration: none; }
133+
a.registry:visited { color: #FFF; text-decoration: none; }
134+
a.registry:hover, a.registry:visited:hover, a.registry:active { color: #FFF; text-decoration: underline; }

DarwinCore_files/default.js

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
2+
// format date as dd-mmm-yy
3+
// example: 12-Jan-99
4+
5+
function date_ddmmmyy(date)
6+
{
7+
var d = date.getDate();
8+
var m = date.getMonth() + 1;
9+
var y = date.getYear();
10+
11+
// handle different year values
12+
// returned by IE and NS in
13+
// the year 2000.
14+
15+
if(y >= 2000)
16+
{
17+
y -= 2000;
18+
}
19+
if(y >= 100)
20+
{
21+
y -= 100;
22+
}
23+
24+
// could use splitString() here
25+
// but the following method is
26+
// more compatible
27+
var mmm =
28+
( 1==m)?'1':( 2==m)?'2':(3==m)?'3':
29+
( 4==m)?'4':( 5==m)?'5':(6==m)?'6':
30+
( 7==m)?'7':( 8==m)?'8':(9==m)?'9':
31+
(10==m)?'10':(11==m)?'11':'12';
32+
33+
return "" + "20" + (y<10?"0"+y:y) + "-" + mmm + "-" + (d<10?"0"+d:d);
34+
35+
}
36+
37+
38+
//
39+
// get last modified date of the
40+
// current document.
41+
//
42+
function date_lastmodified()
43+
{
44+
var lmd = document.lastModified;
45+
var s = "Unknown";
46+
var d1;
47+
48+
// check if we have a valid date
49+
// before proceeding
50+
if(0 != (d1=Date.parse(lmd)))
51+
{
52+
s = "" + date_ddmmmyy(new Date(d1));
53+
}
54+
55+
return s;
56+
}
57+

DarwinCore_files/general.js

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<!--
2+
3+
// Dreamweaver code
4+
function MM_openBrWindow(theURL,winName,features) { //v2.0
5+
window.open(theURL,winName,features);
6+
}
7+
function MM_preloadImages() { //v3.0
8+
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
9+
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
10+
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
11+
}
12+
function MM_findObj(n, d) { //v4.01
13+
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
14+
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
15+
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
16+
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
17+
if(!x && d.getElementById) x=d.getElementById(n); return x;
18+
}
19+
function MM_swapImage() { //v3.0
20+
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
21+
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
22+
}
23+
function MM_swapImgRestore() { //v3.0
24+
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
25+
}
26+
27+
//-->
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
var browserName = navigator.appName;
3+
var browserVer = parseInt(navigator.appVersion);
4+
var version = "";
5+
var msie4 = (browserName == "Microsoft Internet Explorer" && browserVer >= 4);
6+
if ((browserName == "Netscape" && browserVer >= 3) || msie4 || browserName=="Konqueror" || browserName=="Opera") {version = "n3";} else {version = "n2";}
7+
// Blurring links:
8+
function blurLink(theObject) { //
9+
if (msie4) {theObject.blur();}
10+
}
11+

0 commit comments

Comments
 (0)