Skip to content

Commit

Permalink
copy W3C stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
deniak committed May 26, 2015
1 parent 571670f commit 9224885
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data-platform-design.html
Expand Up @@ -2,7 +2,7 @@
<html>
<meta charset="utf-8">
<title>Data Platform Design</title>
<link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/base.css" />
<link rel="stylesheet" type="text/css" href="style/base.css" />
<h1>Data Platform Design</h1>
<section>
<h2 id="introduction">Introduction</h2>
Expand Down
2 changes: 1 addition & 1 deletion data-platform.html
Expand Up @@ -2,7 +2,7 @@
<html>
<meta charset="utf-8">
<title>W3C Data Platform</title>
<link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/base.css" />
<link rel="stylesheet" type="text/css" href="style/base.css" />
<h1>W3C Data Platform</h1>
<section>
<h2 id="introduction">Introduction</h2>
Expand Down
76 changes: 76 additions & 0 deletions style/base.css
@@ -0,0 +1,76 @@
/*
Copyright 1997-2003 W3C (MIT, ERCIM, Keio). All Rights Reserved.
The following software licensing rules apply:
http://www.w3.org/Consortium/Legal/copyright-software */

/* $Id: base.css,v 1.28 2014-04-22 03:27:49 ijacobs Exp $ */

body {
padding: 2em 1em 2em 70px;
margin: 0;
font-family: sans-serif;
color: black;
background: white;
background-position: top left;
background-attachment: fixed;
background-repeat: no-repeat;
}
:link { color: #00C; background: transparent }
:visited { color: #609; background: transparent }
a:active { color: #C00; background: transparent }

a:link img, a:visited img { border-style: none } /* no border on img links */

a img { color: white; } /* trick to hide the border in Netscape 4 */
@media all { /* hide the next rule from Netscape 4 */
a img { color: inherit; } /* undo the color change above */
}

th, td { /* ns 4 */
font-family: sans-serif;
}

h1, h2, h3, h4, h5, h6 { text-align: left }
/* background should be transparent, but WebTV has a bug */
h1, h2, h3 { color: #005A9C; background: white }
h1 { font: 170% sans-serif }
h2 { font: 140% sans-serif }
h3 { font: 120% sans-serif }
h4 { font: bold 100% sans-serif }
h5 { font: italic 100% sans-serif }
h6 { font: small-caps 100% sans-serif }

.hide { display: none }

div.head { margin-bottom: 1em }
div.head h1 { margin-top: 2em; clear: both }
div.head table { margin-left: 2em; margin-top: 2em }

p.copyright { font-size: small }
p.copyright small { font-size: small }

@media screen { /* hide from IE3 */
a[href]:hover { background: #ffa }
}

pre { margin-left: 2em }
/*
p {
margin-top: 0.6em;
margin-bottom: 0.6em;
}
*/
dt, dd { margin-top: 0; margin-bottom: 0 } /* opera 3.50 */
dt { font-weight: bold }

ul.toc, ol.toc {
list-style: disc; /* Mac NS has problem with 'none' */
list-style: none;
}

@media speech {
h1, h2, h3 { voice-stress: moderate; }
.hide { speak: none; }
p.copyright { voice-volume: x-soft; voice-rate: x-fast; }
dt { pause-before: 63ms; }
}

0 comments on commit 9224885

Please sign in to comment.