Merge branch '2.0'
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / js / 3rdParty / codemirror / mode / css / index.html
1 <!doctype html>
2
3 <title>CodeMirror: CSS mode</title>
4 <meta charset="utf-8"/>
5 <link rel=stylesheet href="../../doc/docs.css">
6
7 <link rel="stylesheet" href="../../lib/codemirror.css">
8 <script src="../../lib/codemirror.js"></script>
9 <script src="css.js"></script>
10 <style>.CodeMirror {background: #f8f8f8;}</style>
11 <div id=nav>
12 <a href="http://codemirror.net"><img id=logo src="../../doc/logo.png"></a>
13
14 <ul>
15 <li><a href="../../index.html">Home</a>
16 <li><a href="../../doc/manual.html">Manual</a>
17 <li><a href="https://github.com/marijnh/codemirror">Code</a>
18 </ul>
19 <ul>
20 <li><a href="../index.html">Language modes</a>
21 <li><a class=active href="#">CSS</a>
22 </ul>
23 </div>
24
25 <article>
26 <h2>CSS mode</h2>
27 <form><textarea id="code" name="code">
28 /* Some example CSS */
29
30 @import url("something.css");
31
32 body {
33 margin: 0;
34 padding: 3em 6em;
35 font-family: tahoma, arial, sans-serif;
36 color: #000;
37 }
38
39 #navigation a {
40 font-weight: bold;
41 text-decoration: none !important;
42 }
43
44 h1 {
45 font-size: 2.5em;
46 }
47
48 h2 {
49 font-size: 1.7em;
50 }
51
52 h1:before, h2:before {
53 content: "::";
54 }
55
56 code {
57 font-family: courier, monospace;
58 font-size: 80%;
59 color: #418A8A;
60 }
61 </textarea></form>
62 <script>
63 var editor = CodeMirror.fromTextArea(document.getElementById("code"), {});
64 </script>
65
66 <p><strong>MIME types defined:</strong> <code>text/css</code>, <code>text/x-scss</code> (<a href="scss.html">demo</a>), <code>text/x-less</code> (<a href="less.html">demo</a>).</p>
67
68 <p><strong>Parsing/Highlighting Tests:</strong> <a href="../../test/index.html#css_*">normal</a>, <a href="../../test/index.html#verbose,css_*">verbose</a>.</p>
69
70 </article>