Skip to content

Commit 4aabfc4

Browse files
committed
Update stylesheet
Add Solarized theme. Set link colors to solarized colors.
1 parent 79e8d53 commit 4aabfc4

File tree

2 files changed

+164
-66
lines changed

2 files changed

+164
-66
lines changed

css/default.css

Lines changed: 74 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ article, header, section, footer {
2525
/* Colors */
2626

2727
a, .header a:visited {
28-
color: #26ADE4;
28+
color: #268bd2;
2929
text-decoration: none;
3030
}
3131

3232
a:hover {
3333
text-decoration: underline;
34-
text-shadow: 0 0 0 #DCEEF5;
34+
text-shadow: 0 0 0 #2aa198;
3535
}
3636

3737
footer {
@@ -65,7 +65,7 @@ ul, ol {
6565

6666
body {
6767
text-rendering: optimizeLegibility;
68-
color: #373837;
68+
color: #002b36;
6969
font-family: Palatino, "Palatino Linotype", serif;
7070
text-shadow: 0 0 0 transparent;
7171
font-size: 16px;
@@ -87,66 +87,74 @@ h1 { font-size: 30px; line-height: 44px; }
8787
h2 { font-size: 22px; line-height: 44px; }
8888
h3 { font-size: 18px; line-height: 22px; }
8989

90-
/* Syntax Highlighting */
91-
.highlight .hll { background-color: #ffffcc }
92-
.highlight { background: #f8f8f8; }
93-
.highlight .c { color: #408080; font-style: italic } /* Comment */
94-
.highlight .err { border: 1px solid #FF0000 } /* Error */
95-
.highlight .k { color: #008000; font-weight: bold } /* Keyword */
96-
.highlight .o { color: #666666 } /* Operator */
97-
.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
98-
.highlight .cp { color: #BC7A00 } /* Comment.Preproc */
99-
.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
100-
.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
101-
.highlight .gd { color: #A00000 } /* Generic.Deleted */
102-
.highlight .ge { font-style: italic } /* Generic.Emph */
103-
.highlight .gr { color: #FF0000 } /* Generic.Error */
104-
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
105-
.highlight .gi { color: #00A000 } /* Generic.Inserted */
106-
.highlight .go { color: #808080 } /* Generic.Output */
107-
.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
108-
.highlight .gs { font-weight: bold } /* Generic.Strong */
109-
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
110-
.highlight .gt { color: #0040D0 } /* Generic.Traceback */
111-
.highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
112-
.highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
113-
.highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
114-
.highlight .kp { color: #008000 } /* Keyword.Pseudo */
115-
.highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
116-
.highlight .kt { color: #B00040 } /* Keyword.Type */
117-
.highlight .m { color: #666666 } /* Literal.Number */
118-
.highlight .s { color: #BA2121 } /* Literal.String */
119-
.highlight .na { color: #7D9029 } /* Name.Attribute */
120-
.highlight .nb { color: #008000 } /* Name.Builtin */
121-
.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
122-
.highlight .no { color: #880000 } /* Name.Constant */
123-
.highlight .nd { color: #AA22FF } /* Name.Decorator */
124-
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
125-
.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
126-
.highlight .nf { color: #0000FF } /* Name.Function */
127-
.highlight .nl { color: #A0A000 } /* Name.Label */
128-
.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
129-
.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
130-
.highlight .nv { color: #19177C } /* Name.Variable */
131-
.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
132-
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
133-
.highlight .mf { color: #666666 } /* Literal.Number.Float */
134-
.highlight .mh { color: #666666 } /* Literal.Number.Hex */
135-
.highlight .mi { color: #666666 } /* Literal.Number.Integer */
136-
.highlight .mo { color: #666666 } /* Literal.Number.Oct */
137-
.highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
138-
.highlight .sc { color: #BA2121 } /* Literal.String.Char */
139-
.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
140-
.highlight .s2 { color: #BA2121 } /* Literal.String.Double */
141-
.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
142-
.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
143-
.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
144-
.highlight .sx { color: #008000 } /* Literal.String.Other */
145-
.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
146-
.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
147-
.highlight .ss { color: #19177C } /* Literal.String.Symbol */
148-
.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
149-
.highlight .vc { color: #19177C } /* Name.Variable.Class */
150-
.highlight .vg { color: #19177C } /* Name.Variable.Global */
151-
.highlight .vi { color: #19177C } /* Name.Variable.Instance */
152-
.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
90+
.highlight { background: #fdf6e3; color: #657b83; line-height: 1em; font-size: 13px; }
91+
.highlight .lineno { background-color: #eee8d5; color: #93a1a1; padding-left: .5em; padding-right: .5em; }
92+
.highlight .hll { background-color: #eee8d5; } /* Don't know what this is... */
93+
.highlight .c { color: #93a1a1; font-style: italic; } /* Comment */
94+
.highlight .err { color: #dc322f; } /* Error */
95+
.highlight .g { color: #839496; } /* Generic */
96+
.highlight .k { color: #859900; } /* Keyword */
97+
.highlight .l { color: #839496; } /* Literal */
98+
.highlight .n { color: #839496; } /* Name */
99+
.highlight .o { color: #859900; } /* Operator */
100+
.highlight .x { color: #839496; } /* Other */
101+
.highlight .p { color: #839496; } /* Punctuation */
102+
.highlight .cm { color: #93a1a1; font-style: italic; } /* Comment.Multiline */
103+
.highlight .cp { color: #93a1a1; font-style: italic; } /* Comment.Preproc */
104+
.highlight .c1 { color: #93a1a1; font-style: italic; } /* Comment.Single */
105+
.highlight .cs { color: #93a1a1; font-style: italic; } /* Comment.Special */
106+
.highlight .gd { color: #dc322f; } /* Generic.Deleted */
107+
.highlight .ge { color: #839496; font-style: italic; } /* Generic.Emph */
108+
.highlight .gr { color: #839496; } /* Generic.Error */
109+
.highlight .gh { color: #839496; font-weight: bold; } /* Generic.Heading */
110+
.highlight .gi { color: #859900; } /* Generic.Inserted */
111+
.highlight .go { color: #839496; } /* Generic.Output */
112+
.highlight .gp { color: #839496; font-weight: bold; } /* Generic.Prompt */
113+
.highlight .gs { color: #839496; font-weight: bold; } /* Generic.Strong */
114+
.highlight .gu { color: #839496; font-weight: bold; } /* Generic.Subheading */
115+
.highlight .gt { color: #839496; } /* Generic.Traceback */
116+
.highlight .kc { color: #839496; } /* Keyword.Constant */
117+
.highlight .kd { color: #839496; } /* Keyword.Declaration */
118+
.highlight .kn { color: #839496; } /* Keyword.Namespace */
119+
.highlight .kp { color: #2aa198; } /* Keyword.Pseudo */
120+
.highlight .kr { color: #839496; } /* Keyword.Reserved */
121+
.highlight .kt { color: #839496; } /* Keyword.Type */
122+
.highlight .ld { color: #839496; } /* Literal.Date */
123+
.highlight .m { color: #839496; } /* Literal.Number */
124+
.highlight .s { color: #2aa198; } /* Literal.String */
125+
.highlight .na { color: #839496; } /* Name.Attribute */
126+
.highlight .nb { color: #cb4b16; } /* Name.Builtin */
127+
.highlight .nc { color: #839496; } /* Name.Class */
128+
.highlight .no { color: #b58900; } /* Name.Constant */
129+
.highlight .nd { color: #839496; } /* Name.Decorator */
130+
.highlight .ni { color: #839496; } /* Name.Entity */
131+
.highlight .ne { color: #839496; } /* Name.Exception */
132+
.highlight .nf { color: #268bd2; } /* Name.Function */
133+
.highlight .nl { color: #839496; } /* Name.Label */
134+
.highlight .nn { color: #cb4b16; } /* Name.Namespace */
135+
.highlight .nx { color: #839496; } /* Name.Other */
136+
.highlight .py { color: #839496; } /* Name.Property */
137+
.highlight .nt { color: #839496; } /* Name.Tag */
138+
.highlight .nv { color: #839496; } /* Name.Variable */
139+
.highlight .ow { color: #839496; } /* Operator.Word */
140+
.highlight .w { color: #839496; } /* Text.Whitespace */
141+
.highlight .mf { color: #2aa198; } /* Literal.Number.Float */
142+
.highlight .mh { color: #2aa198; } /* Literal.Number.Hex */
143+
.highlight .mi { color: #2aa198; } /* Literal.Number.Integer */
144+
.highlight .mo { color: #2aa198; } /* Literal.Number.Oct */
145+
.highlight .sb { color: #2aa198; } /* Literal.String.Backtick */
146+
.highlight .sc { color: #2aa198; } /* Literal.String.Char */
147+
.highlight .sd { color: #2aa198; } /* Literal.String.Doc */
148+
.highlight .s2 { color: #2aa198; } /* Literal.String.Double */
149+
.highlight .se { color: #dc322f; } /* Literal.String.Escape */
150+
.highlight .sh { color: #2aa198; } /* Literal.String.Heredoc */
151+
.highlight .si { color: #2aa198; } /* Literal.String.Interpol */
152+
.highlight .sx { color: #2aa198; } /* Literal.String.Other */
153+
.highlight .sr { color: #2aa198; } /* Literal.String.Regex */
154+
.highlight .s1 { color: #2aa198; } /* Literal.String.Single */
155+
.highlight .ss { color: #2aa198; } /* Literal.String.Symbol */
156+
.highlight .bp { color: #839496; } /* Name.Builtin.Pseudo */
157+
.highlight .vc { color: #839496; } /* Name.Variable.Class */
158+
.highlight .vg { color: #839496; } /* Name.Variable.Global */
159+
.highlight .vi { color: #839496; } /* Name.Variable.Instance */
160+
.highlight .il { color: #839496; } /* Literal.Number.Integer.Long */

css/solarized-light.css

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
/*
2+
base03: #002b36;
3+
base02: #073642;
4+
base01: #586e75;
5+
base00: #657b83;
6+
base0: #839496;
7+
base1: #93a1a1;
8+
base2: #eee8d5;
9+
base3: #fdf6e3;
10+
yellow: #b58900;
11+
orange: #cb4b16;
12+
red: #dc322f;
13+
magenta: #d33682;
14+
violet: #6c71c4;
15+
blue: #268bd2;
16+
cyan: #2aa198;
17+
green: #859900;
18+
*/
19+
20+
.highlight { background: #fdf6e3; color: #657b83; line-height: 1em; font-size: 13px; }
21+
.highlight .lineno { background-color: #eee8d5; color: #93a1a1; padding-left: .5em; padding-right: .5em; }
22+
.highlight .hll { background-color: #eee8d5; } /* Don't know what this is... */
23+
.highlight .c { color: #93a1a1; font-style: italic; } /* Comment */
24+
.highlight .err { color: #dc322f; } /* Error */
25+
.highlight .g { color: #839496; } /* Generic */
26+
.highlight .k { color: #859900; } /* Keyword */
27+
.highlight .l { color: #839496; } /* Literal */
28+
.highlight .n { color: #839496; } /* Name */
29+
.highlight .o { color: #859900; } /* Operator */
30+
.highlight .x { color: #839496; } /* Other */
31+
.highlight .p { color: #839496; } /* Punctuation */
32+
.highlight .cm { color: #93a1a1; font-style: italic; } /* Comment.Multiline */
33+
.highlight .cp { color: #93a1a1; font-style: italic; } /* Comment.Preproc */
34+
.highlight .c1 { color: #93a1a1; font-style: italic; } /* Comment.Single */
35+
.highlight .cs { color: #93a1a1; font-style: italic; } /* Comment.Special */
36+
.highlight .gd { color: #dc322f; } /* Generic.Deleted */
37+
.highlight .ge { color: #839496; font-style: italic; } /* Generic.Emph */
38+
.highlight .gr { color: #839496; } /* Generic.Error */
39+
.highlight .gh { color: #839496; font-weight: bold; } /* Generic.Heading */
40+
.highlight .gi { color: #859900; } /* Generic.Inserted */
41+
.highlight .go { color: #839496; } /* Generic.Output */
42+
.highlight .gp { color: #839496; font-weight: bold; } /* Generic.Prompt */
43+
.highlight .gs { color: #839496; font-weight: bold; } /* Generic.Strong */
44+
.highlight .gu { color: #839496; font-weight: bold; } /* Generic.Subheading */
45+
.highlight .gt { color: #839496; } /* Generic.Traceback */
46+
.highlight .kc { color: #839496; } /* Keyword.Constant */
47+
.highlight .kd { color: #839496; } /* Keyword.Declaration */
48+
.highlight .kn { color: #839496; } /* Keyword.Namespace */
49+
.highlight .kp { color: #2aa198; } /* Keyword.Pseudo */
50+
.highlight .kr { color: #839496; } /* Keyword.Reserved */
51+
.highlight .kt { color: #839496; } /* Keyword.Type */
52+
.highlight .ld { color: #839496; } /* Literal.Date */
53+
.highlight .m { color: #839496; } /* Literal.Number */
54+
.highlight .s { color: #2aa198; } /* Literal.String */
55+
.highlight .na { color: #839496; } /* Name.Attribute */
56+
.highlight .nb { color: #cb4b16; } /* Name.Builtin */
57+
.highlight .nc { color: #839496; } /* Name.Class */
58+
.highlight .no { color: #b58900; } /* Name.Constant */
59+
.highlight .nd { color: #839496; } /* Name.Decorator */
60+
.highlight .ni { color: #839496; } /* Name.Entity */
61+
.highlight .ne { color: #839496; } /* Name.Exception */
62+
.highlight .nf { color: #268bd2; } /* Name.Function */
63+
.highlight .nl { color: #839496; } /* Name.Label */
64+
.highlight .nn { color: #cb4b16; } /* Name.Namespace */
65+
.highlight .nx { color: #839496; } /* Name.Other */
66+
.highlight .py { color: #839496; } /* Name.Property */
67+
.highlight .nt { color: #839496; } /* Name.Tag */
68+
.highlight .nv { color: #839496; } /* Name.Variable */
69+
.highlight .ow { color: #839496; } /* Operator.Word */
70+
.highlight .w { color: #839496; } /* Text.Whitespace */
71+
.highlight .mf { color: #2aa198; } /* Literal.Number.Float */
72+
.highlight .mh { color: #2aa198; } /* Literal.Number.Hex */
73+
.highlight .mi { color: #2aa198; } /* Literal.Number.Integer */
74+
.highlight .mo { color: #2aa198; } /* Literal.Number.Oct */
75+
.highlight .sb { color: #2aa198; } /* Literal.String.Backtick */
76+
.highlight .sc { color: #2aa198; } /* Literal.String.Char */
77+
.highlight .sd { color: #2aa198; } /* Literal.String.Doc */
78+
.highlight .s2 { color: #2aa198; } /* Literal.String.Double */
79+
.highlight .se { color: #dc322f; } /* Literal.String.Escape */
80+
.highlight .sh { color: #2aa198; } /* Literal.String.Heredoc */
81+
.highlight .si { color: #2aa198; } /* Literal.String.Interpol */
82+
.highlight .sx { color: #2aa198; } /* Literal.String.Other */
83+
.highlight .sr { color: #2aa198; } /* Literal.String.Regex */
84+
.highlight .s1 { color: #2aa198; } /* Literal.String.Single */
85+
.highlight .ss { color: #2aa198; } /* Literal.String.Symbol */
86+
.highlight .bp { color: #839496; } /* Name.Builtin.Pseudo */
87+
.highlight .vc { color: #839496; } /* Name.Variable.Class */
88+
.highlight .vg { color: #839496; } /* Name.Variable.Global */
89+
.highlight .vi { color: #839496; } /* Name.Variable.Instance */
90+
.highlight .il { color: #839496; } /* Literal.Number.Integer.Long */

0 commit comments

Comments
 (0)