Skip to content
This repository has been archived by the owner on Jun 24, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:benschwarz/w3c-spec-styles
Browse files Browse the repository at this point in the history
Conflicts:
	docs/css/master.css
  • Loading branch information
kolber committed May 14, 2010
2 parents d13a41c + 8209b4c commit 26d73e9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
8 changes: 5 additions & 3 deletions docs/css/master.css
Expand Up @@ -53,12 +53,14 @@ strong { text-shadow: 1px 1px 1px #fff; }

ol li { color: #9cc; }

ul.toc { list-style: none; }

ul.toc { list-style: none; }
div.subtoc { background: transparent; border: 0em; }
body .toc, body .subtoc { background: transparent; border: 0em; }

div.section h2, div.section h3, div.section h4, div.section h5 { position: relative; }
div.section span.tocnum { background-color: #9cc; color: #fff; border-radius: 3px; -webkit-border-radius: 3px; position: absolute; top: 0.7em; left: -6em; font-weight: bold; font-size: 11px; padding: 3px 6px; font-family: helvetica, sans-serif; text-align: right; letter-spacing: 0.1em; }
h2, h3, h4, h5, h6 { position: relative; }
div.section span.tocnum, .secno { background-color: #9cc; color: #fff; border-radius: 3px; -webkit-border-radius: 3px; position: absolute; top: 0.7em; left: -6em; font-weight: bold; font-size: 11px; padding: 3px 6px; font-family: helvetica, sans-serif; text-align: right; letter-spacing: 0.1em; }
a .secno { background-color: transparent; color: #9cc; border-radius: 0px; -webkit-border-radius: 0px; position: static; font-weight: normal; font-size: 1em; padding: 0px; font-family: inherit; text-align: left; letter-spacing: 0em; }
div.section h3 span.tocnum { top: 0.2em; }

div.section { margin: 2em 0em 0em; }
Expand Down
17 changes: 10 additions & 7 deletions userscript.js
@@ -1,12 +1,15 @@
// ==UserScript==
// @name W3C Specification styles
// @description An alternate stylesheet for the typographically concerned.
// @namespace AB+C
// @include http://www.w3.org/TR/*
// @name W3C Specification styles
// @description An alternate stylesheet for the typographically concerned.
// @namespace AB+C
// @include http://www.w3.org/TR/*/*
// @include http://dev.w3.org/*
// @exclude http://www.w3.org/TR/tr-date-all
// @version 0.0.3
// @contributor benschwarz
// @exclude http://www.w3.org/TR/tr-date-all*
// @exclude http://w3.org/TR/tr-date-all*
// @exclude http:/www.w3.org/TR/
// @exclude http://w3.org/TR/
// @version 0.0.4
// @contributor benschwarz
// ==/UserScript==

var W3C = function(){
Expand Down

0 comments on commit 26d73e9

Please sign in to comment.