Skip to content

Commit 09ff110

Browse files
committed
change stylesheet
1 parent d8464ad commit 09ff110

File tree

1 file changed

+142
-36
lines changed

1 file changed

+142
-36
lines changed

stylesheets/application.css

Lines changed: 142 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -64,25 +64,40 @@
6464
color: rgb(145, 192, 214);
6565
}
6666

67-
html, body {
68-
font-family: Avenir, "Nelvetica Neue", sans-serif;
69-
height: 100%;
70-
padding: 0px;
71-
margin: 0px;
72-
color: rgb(85,85,85);
73-
font-size: 15px;
74-
background-color: #f5f5f5;
67+
html, body, div, span, applet, object, iframe,
68+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
69+
a, abbr, acronym, address, big, cite, code,
70+
del, dfn, em, img, ins, kbd, q, s, samp,
71+
small, strike, strong, sub, sup, tt, var,
72+
b, u, i, center,
73+
dl, dt, dd, ol, ul, li,
74+
fieldset, form, label, legend,
75+
table, caption, tbody, tfoot, thead, tr, th, td,
76+
article, aside, canvas, details, embed,
77+
figure, figcaption, footer, header, hgroup,
78+
menu, nav, output, ruby, section, summary,
79+
time, mark, audio, video {
80+
margin: 0;
81+
padding: 0;
82+
border: 0;
83+
font-size: 100%;
84+
font: inherit;
85+
vertical-align: baseline;
7586
}
7687

88+
body { display: flex; flex-direction: column; margin: 0; background: white; color: #555; line-height: 1.7; font-family: "Open Sans", Avenir, "Helvetica neue", sans-serif;}
89+
90+
7791
pre {
7892
background-color: rgb(38,38,38);
7993
padding: 20px;
8094
padding-left: 10px;
8195
overflow: auto;
96+
margin-bottom: 20px;
8297
}
8398

8499
code {
85-
color: rgb(0, 121, 211);
100+
color: rgb(226, 79, 94);
86101
}
87102

88103
blockquote {
@@ -93,28 +108,30 @@ blockquote {
93108

94109
p {
95110
line-height: 25px;
111+
margin-bottom: 20px;
96112
}
97113

98114
ul, ol {
115+
margin-top: 20px;
116+
margin-bottom: 20px;
99117
line-height: 25px;
100118
}
101119

102120
h1 {
103-
font-size: 30px;
104-
color: rgb(85, 85, 85);
121+
font-size: 35px;
122+
padding-top: 0px;
123+
margin-top:0px;
124+
margin-bottom: 20px;
105125
}
106126

107127
h2 {
108128
font-size: 25px;
109-
color: rgb(85, 85, 85);
110-
font-weight: bold;
111-
line-height: 25px;
129+
padding-top: 0px;
130+
margin-bottom: 20px;
112131
}
113132

114-
.logo {
115-
width: 30%;
116-
margin-top: 20px;
117-
margin-bottom: 20px;
133+
li {
134+
margin-left: 20px;
118135
}
119136

120137
.main {
@@ -124,24 +141,27 @@ h2 {
124141
}
125142

126143
.drawer {
127-
background-color: #555;
128-
color: rgb(187,187,187);
129-
width: 280px;
130-
padding-left: 10px;
131-
padding-right: 10px;
144+
color: rgb(85, 85, 85);
132145
padding-bottom: 20px;
146+
padding-top: 10px;
147+
}
148+
149+
.highlight {
150+
margin-bottom: 20px;
151+
margin-top: 20px;
152+
}
153+
154+
.colored {
155+
font-weight: bold;
133156
}
134157

135158
.drawer a {
136-
color: rgb(187,187,187);
159+
color: rgb(85, 85, 85);
137160
}
138161

139162
.article {
140-
max-width: 750px;
141-
padding-left: 60px;
142-
padding-right: 60px;
143-
padding-top: 30px;
144-
background-color: white;
163+
padding-left: 50px;
164+
padding-bottom: 200px;
145165
}
146166

147167
.article a {
@@ -163,25 +183,29 @@ h2 {
163183
}
164184

165185
.sidebar-menu li {
166-
186+
margin-left: 0px;
167187
}
168188

169189
.sub {
170190
margin: 0px;
171191
padding: 0px;
172-
padding-left: 20px;
192+
margin-bottom: 20px;
173193
}
174194

175-
.sub-menu {
176-
margin-top: 20px;
195+
b {
196+
font-weight: bold;
177197
}
178198

179-
.colored {
180-
color: #eee;
199+
.sub li {
200+
margin: 0px;
201+
}
202+
203+
.sub-menu {
204+
181205
}
182206

183207
.selected a {
184-
color: rgb(145, 192, 214);
208+
color: rgb(226, 79, 94);
185209
}
186210

187211
.active {
@@ -208,4 +232,86 @@ h2 {
208232
white-space: pre;
209233
font-family: monospace;
210234
padding: 5px;
235+
}
236+
237+
.flex-spacer { flex: 1; }
238+
.flex-row { display: flex; }
239+
.flex-row.spaced > * + * { margin-left: 30px; }
240+
.flex-row.double-spaced > * + * { margin-left: 60px; }
241+
.flex-row.stretched { align-self: stretch; }
242+
243+
.layer-wrapper { display: flex; flex-direction: column; align-items: center; margin-top: 60px; padding: 0 40px; }
244+
.layer { max-width: 100%; width: 960px; display: flex; align-items: center; }
245+
.toplayer { max-width: 100%; width: 960px; display: flex; align-items: top; }
246+
.sub-layer { margin-top: 30px; }
247+
248+
.header-wrapper { }
249+
.logo { display: flex; flex: 0 0 auto; align-items: center; padding: 0; }
250+
.logo > img { max-width: 60px; }
251+
.logo > h1 { margin: 0; margin-left: 18px; padding: 0; height: 26px; margin-top: -32px; }
252+
.logo > h1 > img { height: 100%; }
253+
254+
nav { flex: none; display: flex; flex-direction: row-reverse; }
255+
nav > * { flex: 0 0 auto; padding: 10px 20px; margin: 0; text-decoration: none; color: rgb(74, 64, 136); transition: background 0.1s ease-out; }
256+
nav > *:hover { background: #f2f2f2; }
257+
nav > *:active { background: #e9e9e9; }
258+
nav > .play-cta { margin: 0; padding: 10px 20px; color: white; }
259+
260+
.btn { cursor: pointer; text-align: center; user-select: none; -moz-user-select: none; -ms-user-select: none; }
261+
.btn.big { flex: 1 0 auto; padding: 18px 30px; }
262+
.btn.rounded { border-radius: 3px; }
263+
264+
.cta { cursor: pointer; text-decoration: none; -ms-user-select: none; -moz-user-select: none; -webkit-user-select: none; user-select: none; transition: background 0.1s ease-out; }
265+
266+
.cta.primary { background: rgb(0, 184, 241); color: white; }
267+
.cta.primary:hover { background: rgb(0, 158, 224); }
268+
.cta.primary:active { background: rgb(0, 121, 177); }
269+
270+
.cta.secondary { background: rgb(107, 103, 173); color: white; }
271+
.cta.secondary:hover { background: rgb(91, 89, 164); }
272+
.cta.secondary:active { background: rgb(74, 64, 136); }
273+
274+
.cta.tertiary { background: #888a8f; color: white; }
275+
.cta.tertiary:hover { background: #808284; }
276+
.cta.tertiary:active { background: #787a7f; }
277+
278+
.contact-wrapper { display: flex; flex-direction: column; padding: 0; position: relative; margin-bottom: 60px; color: white; }
279+
.contact { display: flex; flex-direction: row; max-width: 960px; align-self: center; margin: auto; overflow: hidden; border-radius: 3px; cursor: pointer; -ms-user-select: none; -moz-user-select: none; -webkit-user-select: none; user-select: none; }
280+
.contact > * { flex: 1 1 auto; align-self: stretch; max-width: 320px; padding: 30px; color: white !important; text-decoration: none; transition: background 0.1s ease-out; }
281+
.contact h3 { margin-bottom: 20px; font-size: 1.25rem; }
282+
283+
.contact > *:first-child { background: rgb(107, 103, 173); }
284+
.contact > *:first-child:hover { background: rgb(117, 115, 190); }
285+
.contact > *:first-child:active { background: rgb(142, 140, 215); }
286+
287+
.contact > *:nth-child(2) { background: rgb(91, 89, 164); }
288+
.contact > *:nth-child(2):hover { background: rgb(117, 115, 190); }
289+
.contact > *:nth-child(2):active { background: rgb(142, 140, 215); }
290+
291+
.contact > *:last-child { background: rgb(74, 64, 136); }
292+
.contact > *:last-child:hover { background: rgb(117, 115, 190); }
293+
.contact > *:last-child:active { background: rgb(142, 140, 215); }
294+
295+
ul { display: block; margin-left: 2em; }
296+
297+
code { padding: 0.2em; white-space: pre-wrap; font-family: "Inconsolata", "Monaco", "Consolas", "Ubuntu Mono", monospace; font-size: 0.9rem; }
298+
299+
strong { font-weight: 600; }
300+
301+
table {
302+
border: 1px #888a8f solid;
303+
margin-bottom: 1em;
304+
min-width: 820px;
305+
border-collapse: collapse;
306+
border-spacing: 0;
307+
}
308+
td {
309+
border: 1px #AAA solid;
310+
width: 20em;
311+
padding: 10px;
312+
}
313+
314+
.arglist {
315+
list-style: none;
316+
margin-left: 0px;
211317
}

0 commit comments

Comments
 (0)