- From: Steven Faulkners via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 14 Mar 2012 13:23:07 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/alt-techniques In directory hutz:/tmp/cvs-serv27165 Modified Files: Overview.html Log Message: ready for pub? try 4 Index: Overview.html =================================================================== RCS file: /sources/public/html5/alt-techniques/Overview.html,v retrieving revision 1.91 retrieving revision 1.92 diff -u -d -r1.91 -r1.92 --- Overview.html 14 Mar 2012 13:19:54 -0000 1.91 +++ Overview.html 14 Mar 2012 13:23:05 -0000 1.92 @@ -95,7 +95,7 @@ .note p:first-child, .warning p:first-child { margin-top: 0; } .warning:before { font-style: normal; } - p.note:before { content: 'Note: '; } + p.warning:before { content: '\26A0 Warning! '; } @@ -178,7 +178,7 @@ font-size: large; } .warning { - font-size: x-large; + font-size: large; font-weight: normal; color: #900; } @@ -539,23 +539,9 @@ padding: 3px 1em; } -.note { - margin: 1em 0em 0em; - padding: 1em; - border: 2px solid #cff6d9; - background: #e2fff0; -} -.note::before { - content: "Note"; - display: block; - width: 150px; - margin: -1.5em 0 0.5em 0; - font-weight: bold; - border: 1px solid #cff6d9; - background: #fff; - padding: 3px 1em; -} + + /* --- Best Practices --- */ div.practice { @@ -589,8 +575,103 @@ margin: 1.5em 0.5em -1em 1em; } +/* --- SYNTAX HIGHLIGHTING --- */ +pre.sh_sourceCode { + background-color: white; + color: black; + font-style: normal; + font-weight: normal; +} +pre.sh_sourceCode .sh_keyword { color: #005a9c; font-weight: bold; } /* language keywords */ +pre.sh_sourceCode .sh_type { color: #666; } /* basic types */ +pre.sh_sourceCode .sh_usertype { color: teal; } /* user defined types */ +pre.sh_sourceCode .sh_string { color: red; font-family: monospace; } /* strings and chars */ +pre.sh_sourceCode .sh_regexp { color: orange; font-family: monospace; } /* regular expressions */ +pre.sh_sourceCode .sh_specialchar { color: #ffc0cb; font-family: monospace; } /* e.g., \n, \t, \\ */ +pre.sh_sourceCode .sh_comment { color: #A52A2A; font-style: italic; } /* comments */ +pre.sh_sourceCode .sh_number { color: purple; } /* literal numbers */ +pre.sh_sourceCode .sh_preproc { color: #00008B; font-weight: bold; } /* e.g., #include, import */ +pre.sh_sourceCode .sh_symbol { color: blue; } /* e.g., *, + */ +pre.sh_sourceCode .sh_function { color: black; font-weight: bold; } /* function calls and declarations */ +pre.sh_sourceCode .sh_cbracket { color: red; } /* block brackets (e.g., {, }) */ +pre.sh_sourceCode .sh_todo { font-weight: bold; background-color: #00FFFF; } /* TODO and FIXME */ +/* Predefined variables and functions (for instance glsl) */ +pre.sh_sourceCode .sh_predef_var { color: #00008B; } +pre.sh_sourceCode .sh_predef_func { color: #00008B; font-weight: bold; } + +/* for OOP */ +pre.sh_sourceCode .sh_classname { color: teal; } + +/* line numbers (not yet implemented) */ +pre.sh_sourceCode .sh_linenum { display: none; } + +/* Internet related */ +pre.sh_sourceCode .sh_url { color: blue; text-decoration: underline; font-family: monospace; } + +/* for ChangeLog and Log files */ +pre.sh_sourceCode .sh_date { color: blue; font-weight: bold; } +pre.sh_sourceCode .sh_time, pre.sh_sourceCode .sh_file { color: #00008B; font-weight: bold; } +pre.sh_sourceCode .sh_ip, pre.sh_sourceCode .sh_name { color: #006400; } + +/* for Prolog, Perl... */ +pre.sh_sourceCode .sh_variable { color: #006400; } + +/* for LaTeX */ +pre.sh_sourceCode .sh_italics { color: #006400; font-style: italic; } +pre.sh_sourceCode .sh_bold { color: #006400; font-weight: bold; } +pre.sh_sourceCode .sh_underline { color: #006400; text-decoration: underline; } +pre.sh_sourceCode .sh_fixed { color: green; font-family: monospace; } +pre.sh_sourceCode .sh_argument { color: #006400; } +pre.sh_sourceCode .sh_optionalargument { color: purple; } +pre.sh_sourceCode .sh_math { color: orange; } +pre.sh_sourceCode .sh_bibtex { color: blue; } + +/* for diffs */ +pre.sh_sourceCode .sh_oldfile { color: orange; } +pre.sh_sourceCode .sh_newfile { color: #006400; } +pre.sh_sourceCode .sh_difflines { color: blue; } + +/* for css */ +pre.sh_sourceCode .sh_selector { color: purple; } +pre.sh_sourceCode .sh_property { color: blue; } +pre.sh_sourceCode .sh_value { color: #006400; font-style: italic; } + +/* other */ +pre.sh_sourceCode .sh_section { color: black; font-weight: bold; } +pre.sh_sourceCode .sh_paren { color: red; } +pre.sh_sourceCode .sh_attribute { color: #006400; } +figure {margin:0px;} +figcaption {padding-bottom: 1em;} + +</style><link charset="utf-8" type="text/css" rel="stylesheet" href="http://www.w3.org/StyleSheets/TR/W3C-ED"> +<style type="text/css"> + +.note { font-weight: bolder; + font-style: italic; + color: #900; + font-size: medium; + margin: 0.5em 0em 0em; + padding: 0.5em; + border: 1px dashed #FF0000; + background: #f5f5f5; +} +.note1 {color: green; background: transparent; font-family: sans-serif; } +.note1 { font-weight: bolder; + font-style: italic; + color: #900; + font-size: large; +} +.note1 {font-weight: bolder; + font-style: italic; + color: #900; + font-size: medium; + margin: 0.5em 0em 0em; + padding: 0.5em; + border: 1px dashed #FF0000; + background: #f5f5f5; +} </style><link charset="utf-8" type="text/css" rel="stylesheet" href="http://www.w3.org/StyleSheets/TR/W3C-WD"> <style type="text/css"> .note1 {color: green; background: transparent; font-family: sans-serif; }
Received on Wednesday, 14 March 2012 13:23:18 UTC