authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-10-23 22:11:31-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-10-23 22:11:31-04:00
logb4801186b720ec8e94005a15e13e58741f4548b4
tree32d859a3042c7ad54b1b62198bbc97b8e7b3c9c9
parentd7cec5b37c6d2feeb7dd623989163df0fcd53a8d
signaturelock-open Commit is signed but in an unrecognized format.

langref: dark style. easier on the eyes


1 files changed, 26 insertions(+), 10 deletions(-)

doc/langref.html.in+26-10
...@@ -5,6 +5,14 @@...@@ -5,6 +5,14 @@
5 <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />5 <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
6 <title>Documentation - The Zig Programming Language</title>6 <title>Documentation - The Zig Programming Language</title>
7 <style type="text/css">7 <style type="text/css">
8 body{
9 background-color:#111;
10 color: #bbb;
11 }
12 a {
13 color: #88f;
14 text-decoration: none;
15 }
8 table, th, td {16 table, th, td {
9 border-collapse: collapse;17 border-collapse: collapse;
10 border: 1px solid grey;18 border: 1px solid grey;
...@@ -39,8 +47,8 @@...@@ -39,8 +47,8 @@
3947
40 overflow-x: auto;48 overflow-x: auto;
41 padding: 0.5em;49 padding: 0.5em;
42 color: #333;50 color: #ccc;
43 background: #f8f8f8;51 background: #222;
44 }52 }
45 .table-wrapper {53 .table-wrapper {
46 width: 100%;54 width: 100%;
...@@ -48,31 +56,31 @@...@@ -48,31 +56,31 @@
48 }56 }
4957
50 .tok-kw {58 .tok-kw {
51 color: #333;59 color: #eee;
52 font-weight: bold;60 font-weight: bold;
53 }61 }
54 .tok-str {62 .tok-str {
55 color: #d14;63 color: #2e5;
56 }64 }
57 .tok-builtin {65 .tok-builtin {
58 color: #0086b3;66 color: #ff894c;
59 }67 }
60 .tok-comment {68 .tok-comment {
61 color: #998;69 color: #aa7;
62 font-style: italic;70 font-style: italic;
63 }71 }
64 .tok-fn {72 .tok-fn {
65 color: #900;73 color: #e33;
66 font-weight: bold;74 font-weight: bold;
67 }75 }
68 .tok-null {76 .tok-null {
69 color: #008080;77 color: #ff8080;
70 }78 }
71 .tok-number {79 .tok-number {
72 color: #008080;80 color: #ff8080;
73 }81 }
74 .tok-type {82 .tok-type {
75 color: #458;83 color: #68f;
76 font-weight: bold;84 font-weight: bold;
77 }85 }
7886
...@@ -103,6 +111,14 @@...@@ -103,6 +111,14 @@
103 border-bottom: 1px solid grey;111 border-bottom: 1px solid grey;
104 }112 }
105 }113 }
114 h1 a, h2 a, h3 a, h4 a, h5 a {
115 text-decoration: none;
116 color: #aaa;
117 }
118 #nav a {
119 color: #aaa;
120 text-decoration: none;
121 }
106 </style>122 </style>
107 </head>123 </head>
108 <body>124 <body>