- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 16 Aug 2011 23:43:32 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css-module In directory hutz:/tmp/cvs-serv15031 Modified Files: default.css Log Message: Switch to consistently using tabs for indenting. >_< Index: default.css =================================================================== RCS file: /sources/public/csswg/css-module/default.css,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- default.css 16 Aug 2011 23:39:47 -0000 1.3 +++ default.css 16 Aug 2011 23:43:30 -0000 1.4 @@ -6,27 +6,27 @@ @media print { - /* the following doesn't work for now, - instead we rely on a patched version of html2ps which has this built-in */ - .dlink { display: none } + /* the following doesn't work for now, + instead we rely on a patched version of html2ps which has this built-in */ + .dlink { display: none } - /* the following doesn't work for now, - instead we rely on a patched version of html2ps which has this built-in */ - div.navbar { - display: none; - } + /* the following doesn't work for now, + instead we rely on a patched version of html2ps which has this built-in */ + div.navbar { + display: none; + } - html { margin: 0 !important } - body { font-family: serif } - th, td { font-family: inherit } - a { color: inherit !important } - div.example:before { font-family: serif !important } - pre.example:before { font-family: serif !important } - a:link, a:visited { text-decoration: none !important } - a:link:after, a:visited:after { /* create a cross-ref "see..." */ } + html { margin: 0 !important } + body { font-family: serif } + th, td { font-family: inherit } + a { color: inherit !important } + div.example:before { font-family: serif !important } + pre.example:before { font-family: serif !important } + a:link, a:visited { text-decoration: none !important } + a:link:after, a:visited:after { /* create a cross-ref "see..." */ } } @page { - margin: 1.5cm 1.1cm; + margin: 1.5cm 1.1cm; } /* html body { margin-left: 8.5em } /* Overrides 70px in base.css */ @@ -49,53 +49,53 @@ h4 { margin-top: 4em; } p, div.note { - text-indent: 0; - margin-bottom: 0; - margin-top: 1em + text-indent: 0; + margin-bottom: 0; + margin-top: 1em } dd > p:first-child, li > p:first-child, .note > p:first-child { - margin-top: 0 + margin-top: 0 } pre { - text-align: left; /* fixes justification in Mac IE 5 */ - text-indent: 0; /* fixes indent in Mac Netscape 6 */ - margin-top: 1em; - margin-bottom: 1em; - font-size: 90% /*smaller*/; + text-align: left; /* fixes justification in Mac IE 5 */ + text-indent: 0; /* fixes indent in Mac Netscape 6 */ + margin-top: 1em; + margin-bottom: 1em; + font-size: 90% /*smaller*/; } img { - border-style: none; - color: white; + border-style: none; + color: white; } .toc { - text-indent: 0; + text-indent: 0; } @media all { /* NS < 6 doesn't like borders around inline elements... */ - body { - line-height: 1.5; - } + body { + line-height: 1.5; + } - a:link, a:visited { - color: inherit; - text-decoration: underline; - } + a:link, a:visited { + color: inherit; + text-decoration: underline; + } - a.logo:link, a.logo:visited { - padding: 0; - border-style: none; - } + a.logo:link, a.logo:visited { + padding: 0; + border-style: none; + } - /* Hmm, this seems to confuse many browsers... */ - dl dd { margin: 0 0 1em 2em } - .head dd { margin-bottom: 0; } - ul, ol { margin-left: 0; padding-left: 2em; } - li { margin: 0.25em 2em 0.5em 0; padding-left: 0 } + /* Hmm, this seems to confuse many browsers... */ + dl dd { margin: 0 0 1em 2em } + .head dd { margin-bottom: 0; } + ul, ol { margin-left: 0; padding-left: 2em; } + li { margin: 0.25em 2em 0.5em 0; padding-left: 0 } } ul.indexlist { margin-left: 0; /*column-width: 13em; columns: 13em*/ } @@ -105,31 +105,31 @@ /* Examples */ .example { - counter-increment: exampleno; + counter-increment: exampleno; } div.example:before { - content: "Example"; - content: "Example " counter(exampleno); - min-width: 7.5em; - text-transform: uppercase; + content: "Example"; + content: "Example " counter(exampleno); + min-width: 7.5em; + text-transform: uppercase; } pre.example:before { - content: "Example"; - content: "Example " counter(exampleno); - min-width: 7.5em; - text-transform: uppercase; + content: "Example"; + content: "Example " counter(exampleno); + min-width: 7.5em; + text-transform: uppercase; } div.example, div.illegal-example, div.html, div.illegal-html, div.xml, div.illegal-xml, pre.example, pre.illegal-example, pre.html, pre.illegal-html, pre.xml, pre.illegal-xml { - padding: 0.5em; - margin: 1em 0; - position: relative; - clear: both; + padding: 0.5em; + margin: 1em 0; + position: relative; + clear: both; } pre.example, pre.illegal-example, pre.html, pre.illegal-html, pre.xml, pre.illegal-xml { - padding-top: 1.5em; + padding-top: 1.5em; } pre.illegal-example { color: red } div.illegal-example { color: red } @@ -164,26 +164,26 @@ /* Open issue / editorial remark; not intended for a final publication */ p.issue, p.note, div.note, div.example { - border-left: 0.5em solid #E05252; - padding: 0.5em; - background: #FBE9E9; + border-left: 0.5em solid #E05252; + padding: 0.5em; + background: #FBE9E9; } p.issue { counter-increment: issue; } p.issue:before { - content: "Issue " counter(issue); - padding-right: 1em; - text-transform: uppercase; - color: #E05252; + content: "Issue " counter(issue); + padding-right: 1em; + text-transform: uppercase; + color: #E05252; } span.issue { color: red; } /* Class note is a non-normative note. May be inline or a P or DIV */ p.note, div.note { - border: 0; - background: #F1FDF1; + border: 0; + background: #F1FDF1; } span.note { color: green; } @@ -194,8 +194,8 @@ /* Example box */ div.example { - border: 0; - background: #FCFAEE; + border: 0; + background: #FCFAEE; } div.example:before { color: #B9AB2D; } @@ -216,53 +216,53 @@ @media all { /* NS4 doesn't align the floats properly :-( */ - /* Section numbers in a column of their own */ - ul.toc span.secno {margin-right: 1em} /* workaround for Opera6 */ - ul.toc span.secno {float: left; width: 4em; margin-left: -5em} - ul.toc ul ul span.secno { margin-left: -7em; } - /*ul.toc span.secno {text-align: right}*/ - ul.toc li {clear: both} - ul.toc {margin-left: 5em} - /* If we had 'tab', floats would not be needed here: - ul.toc span.secno {tab: 5em right; margin-right: 1em} - ul.toc li {text-indent: 5em hanging} - The second line in case items wrap - */ + /* Section numbers in a column of their own */ + ul.toc span.secno {margin-right: 1em} /* workaround for Opera6 */ + ul.toc span.secno {float: left; width: 4em; margin-left: -5em} + ul.toc ul ul span.secno { margin-left: -7em; } + /*ul.toc span.secno {text-align: right}*/ + ul.toc li {clear: both} + ul.toc {margin-left: 5em} + /* If we had 'tab', floats would not be needed here: + ul.toc span.secno {tab: 5em right; margin-right: 1em} + ul.toc li {text-indent: 5em hanging} + The second line in case items wrap + */ } ul.index { - list-style: disc; /* Mac NS has problem with 'none' */ - list-style: none; + list-style: disc; /* Mac NS has problem with 'none' */ + list-style: none; } s, del {text-decoration: line-through; color: red} u, ins {text-decoration: underline; background: #bfa} div.figure, div.sidefigure { - text-align: center; - margin: 2.5em 0; + text-align: center; + margin: 2.5em 0; } div.sidefigure { - float: right; - width: 50%; - margin: 0 0 0.5em 0.5em + float: right; + width: 50%; + margin: 0 0 0.5em 0.5em } div.figure img, div.sidefigure img { - display: block; - margin: auto; - max-width: 100% + display: block; + margin: auto; + max-width: 100% } p.caption, caption { - text-align: center; - font-style: italic; - font-size: 90%; + text-align: center; + font-style: italic; + font-size: 90%; } p.caption:before { - content: "Figure " counter(figure) ". "; - font-weight: bold; + content: "Figure " counter(figure) ". "; + font-weight: bold; } p.caption { - counter-increment: figure; + counter-increment: figure; } /* DL list is indented, but figure inside it is not */ @@ -270,8 +270,8 @@ dd div.figure { margin-left: -2em } sup { - vertical-align: super; - font-size: 80% + vertical-align: super; + font-size: 80% } /* "Equations" (not real MathML, but simple HTML) are put in a @@ -280,16 +280,16 @@ number there. */ blockquote { - margin: 0.5em 4em 0.5em 2em; - text-indent: 0; + margin: 0.5em 4em 0.5em 2em; + text-indent: 0; } .eqno { - text-align: right; - float: right; - width: 3em; - margin: 0 -4em 0 0; - font-weight: bold; - /* background: silver; color: black; padding: 0.1em */ + text-align: right; + float: right; + width: 3em; + margin: 0 -4em 0 0; + font-weight: bold; + /* background: silver; color: black; padding: 0.1em */ } table.equiv-table { border-spacing: 0; margin: 0.5em 0 } @@ -303,32 +303,32 @@ /* Style for table of properties */ table.proptable { - font-size: small; - border-collapse: collapse; - border-spacing: 0; - text-align: left; - margin: 1em 0; + font-size: small; + border-collapse: collapse; + border-spacing: 0; + text-align: left; + margin: 1em 0; } table.proptable td, table.proptable th { - padding: 0.4em; - text-align: center; + padding: 0.4em; + text-align: center; } table.proptable tr:hover td { - background: #DEF; + background: #DEF; } /* Style for table that defines a property or a descriptor */ table.propdef, table.propdef-extra, table.descdef { - border-spacing: 0; - padding: 0 1em 0.5em; - width: 100%; - table-layout: fixed; - background: #DEF; - margin: 1.2em 0; - border-left: 0.5em solid #8CCBF2; + border-spacing: 0; + padding: 0 1em 0.5em; + width: 100%; + table-layout: fixed; + background: #DEF; + margin: 1.2em 0; + border-left: 0.5em solid #8CCBF2; } /* Since Jan 2008, some CSS modules use <th> instead of <td> in the @@ -338,14 +338,14 @@ table.propdef td, table.propdef-extra td, table.descdef td, table.propdef th, table.propdef-extra th, table.descdef th { - padding: 0.5em; - vertical-align: baseline; - border-bottom: 1px solid #bbd7e9; + padding: 0.5em; + vertical-align: baseline; + border-bottom: 1px solid #bbd7e9; } /* table.propdef dfn, table.propdef-extra dfn, table.descdef dfn { - font-weight: bold; - font-style: normal + font-weight: bold; + font-style: normal } */ table.propdef td:first-child, @@ -354,10 +354,10 @@ table.propdef th:first-child, table.propdef-extra th:first-child, table.descdef th:first-child { - font-style: italic; - font-weight: normal; - width: 8.3em; - padding-left: 1em; + font-style: italic; + font-weight: normal; + width: 8.3em; + padding-left: 1em; } table.propdef td[colspan]:first-child, table.propdef-extra td[colspan]:first-child, @@ -365,12 +365,12 @@ table.propdef th[colspan]:first-child, table.propdef-extra th[colspan]:first-child, table.descdef th[colspan]:first-child { - font-style: inherit + font-style: inherit } table.propdef tr:first-child, table.propdef-extra tr:first-child, table.descdef tr:first-child { - + } table.propdef tr:last-child th, @@ -379,7 +379,7 @@ table.propdef tr:last-child td, table.propdef-extra tr:last-child td, table.descdef tr:last-child td { - border-bottom: 0; + border-bottom: 0; } table.propdef tr:first-child th, @@ -388,17 +388,17 @@ table.propdef tr:first-child td, table.propdef-extra tr:first-child td, table.descdef tr:first-child td { - padding-top: 1em; + padding-top: 1em; } /* A footnote at the bottom of a propdef */ table.propdef td.footnote {padding-top: 0.6em; width: auto} table.propdef td.footnote:before { - content: " "; - display: block; - height: 0.6em; - width: 4em; - border-top: thin solid; + content: " "; + display: block; + height: 0.6em; + width: 4em; + border-top: thin solid; } /* table.propdef tr:first-child td { padding-top: 0.1em; padding-bottom: 0.1em } */ @@ -412,9 +412,9 @@ */ table.proptable td .property { - display: block; - text-align: left; - font-weight: bold; + display: block; + text-align: left; + font-weight: bold; } /* CSS modules typically don't use MUST, SHOULD etc. from RFC 2119, @@ -423,117 +423,117 @@ uppercase in the source. */ em.rfc2119 { - text-transform: lowercase; - font-variant: small-caps; - font-style: normal + text-transform: lowercase; + font-variant: small-caps; + font-style: normal } /* In Profile specs, a table of required features: */ table.features th { - background: #00589f; - color: #fff; - text-align: left; - padding: 0.2em 0.2em 0.2em 0.5em; + background: #00589f; + color: #fff; + text-align: left; + padding: 0.2em 0.2em 0.2em 0.5em; } table.features td { - vertical-align: top; - border-bottom: 1px solid #ccc; - padding: 0.3em 0.3em 0.3em 0.7em; + vertical-align: top; + border-bottom: 1px solid #ccc; + padding: 0.3em 0.3em 0.3em 0.7em; } /* Style for data tables (and properly marked-up proptables) */ - .data, .proptable { - margin: 1em auto; - border-collapse: collapse; - width: 100%; - border: hidden; - } - .data caption { - width: 100%; - text-align: center; - } - - .data td, .data thx, - .proptable td, .proptable thx { - padding: 0.5em; - text-align: center; - border-top: 1px dotted; - } - - .data thead td:empty { - padding: 0; - border: 0; - } - - .data thead th[scope="row"], - .proptable thead th[scope="row"] { - text-align: right; - color: inherit; - } - - .data thead, - .proptable thead, - .data tbody, - .proptable tbody { - color: inherit; - border-bottom: 1px solid; - } - - .data colgroup { - border-left: 1px solid; - } - - .data tbody th:first-child, - .proptable tbody th:first-child , - .data tbody td[scope="row"]:first-child, - .proptable tbody td[scope="row"]:first-child { - text-align: right; - color: inherit; - border-right: 1px solid; - border-top: 1px dotted; - padding-right: 1em; - } - - .data tbody th[rowspan], - .proptable tbody th[rowspan], - .data tbody td[rowspan], - .proptable tbody td[rowspan]{ - border-left: 1px dotted; - } - - .data tbody th[rowspan]:first-child, - .proptable tbody th[rowspan]:first-child, - .data tbody td[rowspan]:first-child, - .proptable tbody td[rowspan]:first-child{ - border-left: 0; - border-right: 1px dotted; - } - - .complex.data th, - .complex.data td { - border: 1px dotted; - } +.data, .proptable { + margin: 1em auto; + border-collapse: collapse; + width: 100%; + border: hidden; +} +.data caption { + width: 100%; + text-align: center; +} + +.data td, .data thx, +.proptable td, .proptable thx { + padding: 0.5em; + text-align: center; + border-top: 1px dotted; +} +.data thead td:empty { + padding: 0; + border: 0; +} - .data img { - vertical-align: middle; - } +.data thead th[scope="row"], +.proptable thead th[scope="row"] { + text-align: right; + color: inherit; +} - table.propdef { - table-layout: auto; - } - .propdef th { - font-style: italic; - font-weight: normal; - text-align: left; - width: 3em; - } - dt dfn code { - font-size: inherit; - } +.data thead, +.proptable thead, +.data tbody, +.proptable tbody { + color: inherit; + border-bottom: 1px solid; +} + +.data colgroup { + border-left: 1px solid; +} + +.data tbody th:first-child, +.proptable tbody th:first-child , +.data tbody td[scope="row"]:first-child, +.proptable tbody td[scope="row"]:first-child { + text-align: right; + color: inherit; + border-right: 1px solid; + border-top: 1px dotted; + padding-right: 1em; +} + +.data tbody th[rowspan], +.proptable tbody th[rowspan], +.data tbody td[rowspan], +.proptable tbody td[rowspan]{ + border-left: 1px dotted; +} + +.data tbody th[rowspan]:first-child, +.proptable tbody th[rowspan]:first-child, +.data tbody td[rowspan]:first-child, +.proptable tbody td[rowspan]:first-child{ + border-left: 0; + border-right: 1px dotted; +} + +.complex.data th, +.complex.data td { + border: 1px dotted; +} + + +.data img { + vertical-align: middle; +} + +table.propdef { + table-layout: auto; +} +.propdef th { + font-style: italic; + font-weight: normal; + text-align: left; + width: 3em; +} +dt dfn code { + font-size: inherit; +} /* This is mostly to make the list inside the CR exit criteria more compact. */ ol.inline, ol.inline li {display: inline; padding: 0; margin: 0}
Received on Tuesday, 16 August 2011 23:43:33 UTC