Mercurial > web-octave
annotate css/octave.css @ 81:b748a89a04b0 kai
Some layout changes.
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Fri, 14 Oct 2016 03:15:33 +0200 |
parents | 4e0675ad8c98 |
children | 45d807d2bfcc |
rev | line source |
---|---|
66
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
1 svg.octicon-rss-octave { |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
2 fill: #ffffff; |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
3 background-color: #fb9e3a; |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
4 width: 16px; |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
5 height: 16px; |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
6 padding: 2px; |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
7 } |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
8 |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
9 svg.octicon-stop-octave { |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
10 fill: #ff0000; |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
11 width: 18pt; |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
12 height: 18pt; |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
13 float: left; |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
14 margin-right: 10px; |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
15 } |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
16 |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
17 svg.octicon-topnav { |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
18 height: 18px; |
81 | 19 fill: #ffffff; |
20 } | |
21 | |
22 img { | |
23 max-width: 500px; | |
24 display: block; | |
25 margin-left: auto; | |
26 margin-right: auto; | |
27 border: 1px solid #0790c0; | |
66
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
28 } |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
29 |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
30 div.alert { |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
31 border: 2px solid #ff0000; |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
32 padding: 5px; |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
33 } |
a7952259f5d3
Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
63
diff
changeset
|
34 |
46
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
35 div#logo { |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
36 margin: 10px; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
37 } |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
38 |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
39 div#logo img { |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
40 height: 70px; |
81 | 41 width: 70px; |
42 border: 0; | |
43 vertical-align: middle; | |
44 display: inline; | |
46
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
45 } |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
46 |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
47 div#logo span { |
81 | 48 color: #0790c0; |
46
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
49 font-weight: bold; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
50 font-size: 25pt; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
51 } |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
52 |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
53 body { |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
54 font-family: arial,sans-serif; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
55 font-weight: normal; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
56 font-size: medium; |
81 | 57 text-align: justify; |
58 background: #ffffff; | |
59 color: #000000; | |
60 margin: 0 auto; | |
61 margin-left: 10%; | |
62 margin-right: 10%; | |
63 padding: 0; | |
64 width: auto; | |
46
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
65 } |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
66 |
63
0a7baadc93a4
Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
60
diff
changeset
|
67 a, a:link { |
46
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
68 text-decoration: none; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
69 color: #0790c0; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
70 } |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
71 |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
72 a:hover { |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
73 color: #1b1c7d; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
74 } |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
75 |
79
4e0675ad8c98
Tidy up CSS. Improve image alingment on page content.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
70
diff
changeset
|
76 div.news-content { |
4e0675ad8c98
Tidy up CSS. Improve image alingment on page content.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
70
diff
changeset
|
77 margin-left:1em; |
81 | 78 text-align: left; |
79
4e0675ad8c98
Tidy up CSS. Improve image alingment on page content.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
70
diff
changeset
|
79 } |
4e0675ad8c98
Tidy up CSS. Improve image alingment on page content.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
70
diff
changeset
|
80 |
46
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
81 footer { |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
82 clear: both; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
83 font-size: x-small; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
84 text-align: center; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
85 border-top: 1px solid; |
81 | 86 padding: 5px; |
46
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
87 margin: 5px; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
88 margin-top: 20px; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
89 } |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
90 |
63
0a7baadc93a4
Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
60
diff
changeset
|
91 time { |
0a7baadc93a4
Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
60
diff
changeset
|
92 font-weight: normal; |
0a7baadc93a4
Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
60
diff
changeset
|
93 } |
0a7baadc93a4
Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
60
diff
changeset
|
94 |
46
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
95 h1 { |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
96 font-size: 16pt; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
97 font-weight: bold; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
98 } |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
99 |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
100 h2 { |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
101 font-size: 14pt; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
102 font-weight: bold; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
103 } |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
104 |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
105 h3 { |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
106 font-size: 12pt; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
107 font-weight: bold; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
108 } |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
109 |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
110 ul.topnav { |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
111 list-style-type: none; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
112 margin: 0; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
113 padding: 0; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
114 overflow: hidden; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
115 background-color: #0790c0; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
116 } |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
117 |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
118 ul.topnav li { |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
119 float: left; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
120 } |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
121 |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
122 ul.topnav li a { |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
123 display: inline-block; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
124 color: #f2f2f2; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
125 text-align: center; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
126 padding: 14px 16px; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
127 text-decoration: none; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
128 transition: 0.3s; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
129 font-size: 20px; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
130 vertical-align: baseline;; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
131 } |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
132 |
58 | 133 ul.topnav li a:hover, |
134 ul.topnav li a:focus, | |
135 ul.topnav li a.active { | |
46
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
136 background-color: #555; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
137 } |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
138 |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
139 ul.topnav li.icon { |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
140 display: none; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
141 } |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
142 |
81 | 143 @media screen and (max-width:650px) { |
144 ul.topnav li:not(:first-child) { | |
145 display: none; | |
146 } | |
46
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
147 ul.topnav li.icon { |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
148 float: right; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
149 display: inline-block; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
150 } |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
151 ul.topnav.responsive { |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
152 position: relative; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
153 } |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
154 ul.topnav.responsive li.icon { |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
155 position: absolute; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
156 right: 0; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
157 top: 0; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
158 } |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
159 ul.topnav.responsive li { |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
160 float: none; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
161 display: inline; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
162 } |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
163 ul.topnav.responsive li a { |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
164 display: block; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
165 text-align: left; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
166 } |
81 | 167 body { |
168 margin-left: 15px; | |
169 margin-right: 15px; | |
79
4e0675ad8c98
Tidy up CSS. Improve image alingment on page content.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
70
diff
changeset
|
170 } |
81 | 171 img { |
172 max-width: 100%; | |
79
4e0675ad8c98
Tidy up CSS. Improve image alingment on page content.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
70
diff
changeset
|
173 } |
46
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
174 } |
70
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
175 |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
176 /* Syntax highlight with https://rubygems.org/gems/pygments.rb within Jekyll */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
177 |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
178 span.hll { background-color: #ffffcc } |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
179 span.c { color: #00aa00; font-style: italic } /* Comment */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
180 span.err { border: 1px solid #FF0000 } /* Error */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
181 span.k { color: #007020; font-weight: bold } /* Keyword */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
182 span.p { color: #aa0000 } /* Operator */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
183 span.o { color: #aa0000 } /* Operator */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
184 span.cm { color: #00aa00; font-style: italic } /* Comment.Multiline */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
185 span.cp { color: #00aa00 } /* Comment.Preproc */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
186 span.c1 { color: #00aa00; font-style: italic } /* Comment.Single */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
187 span.cs { color: #00aa00; background-color: #fff0f0 } /* Comment.Special */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
188 span.gd { color: #A00000 } /* Generic.Deleted */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
189 span.ge { font-style: italic } /* Generic.Emph */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
190 span.gr { color: #FF0000 } /* Generic.Error */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
191 span.gh { color: #000080; font-weight: bold } /* Generic.Heading */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
192 span.gi { color: #00A000 } /* Generic.Inserted */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
193 span.go { color: #808080 } /* Generic.Output */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
194 span.gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
195 span.gs { font-weight: bold } /* Generic.Strong */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
196 span.gu { color: #800080; font-weight: bold } /* Generic.Subheading */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
197 span.gt { color: #0040D0 } /* Generic.Traceback */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
198 span.kc { color: #007020; font-weight: bold } /* Keyword.Constant */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
199 span.kd { color: #007020; font-weight: bold } /* Keyword.Declaration */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
200 span.kn { color: #007020; font-weight: bold } /* Keyword.Namespace */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
201 span.kp { color: #007020 } /* Keyword.Pseudo */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
202 span.kr { color: #007020; font-weight: bold } /* Keyword.Reserved */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
203 span.kt { color: #902000 } /* Keyword.Type */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
204 span.m { color: #40a070 } /* Literal.Number */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
205 span.s { color: #ff8c00 } /* Literal.String */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
206 span.na { color: #4070a0 } /* Name.Attribute */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
207 span.nb { color: #000000 } /* Name.Builtin */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
208 span.nc { color: #0e84b5; font-weight: bold } /* Name.Class */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
209 span.no { color: #60add5 } /* Name.Constant */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
210 span.nd { color: #555555; font-weight: bold } /* Name.Decorator */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
211 span.ni { color: #d55537; font-weight: bold } /* Name.Entity */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
212 span.ne { color: #007020 } /* Name.Exception */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
213 span.nf { color: #06287e } /* Name.Function */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
214 span.nl { color: #002070; font-weight: bold } /* Name.Label */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
215 span.nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
216 span.nt { color: #062873; font-weight: bold } /* Name.Tag */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
217 span.nv { color: #bb60d5 } /* Name.Variable */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
218 span.ow { color: #007020; font-weight: bold } /* Operator.Word */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
219 span.w { color: #bbbbbb } /* Text.Whitespace */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
220 span.mf { color: #aaaa00 } /* Literal.Number.Float */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
221 span.mh { color: #aaaa00 } /* Literal.Number.Hex */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
222 span.mi { color: #aaaa00 } /* Literal.Number.Integer */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
223 span.mo { color: #aaaa00 } /* Literal.Number.Oct */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
224 span.sb { color: #4070a0 } /* Literal.String.Backtick */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
225 span.sc { color: #4070a0 } /* Literal.String.Char */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
226 span.sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
227 span.s2 { color: #4070a0 } /* Literal.String.Double */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
228 span.se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
229 span.sh { color: #4070a0 } /* Literal.String.Heredoc */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
230 span.si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
231 span.sx { color: #c65d09 } /* Literal.String.Other */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
232 span.sr { color: #235388 } /* Literal.String.Regex */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
233 span.s1 { color: #4070a0 } /* Literal.String.Single */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
234 span.ss { color: #517918 } /* Literal.String.Symbol */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
235 span.bp { color: #007020 } /* Name.Builtin.Pseudo */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
236 span.vc { color: #bb60d5 } /* Name.Variable.Class */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
237 span.vg { color: #bb60d5 } /* Name.Variable.Global */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
238 span.vi { color: #bb60d5 } /* Name.Variable.Instance */ |
ca78967fd4c3
Improve syntax highlighting.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
66
diff
changeset
|
239 span.il { color: #40a070 } /* Literal.Number.Integer.Long */ |