Skip to content

Commit fcd3c13

Browse files
committed
fix version message style
1 parent b460147 commit fcd3c13

File tree

2 files changed

+44
-19
lines changed

2 files changed

+44
-19
lines changed

css/style.css

Lines changed: 42 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ pre {
9797
}
9898

9999
code {
100-
color: rgb(226, 79, 94);
100+
color: rgb(38,38,38);
101101
}
102102

103103
blockquote {
@@ -130,8 +130,22 @@ h2 {
130130
margin-bottom: 20px;
131131
}
132132

133+
h3 {
134+
font-size: 20px;
135+
padding-top: 0px;
136+
margin-bottom: 20px;
137+
}
138+
139+
em {
140+
font-style: italic;
141+
}
142+
133143
li {
134-
margin-left: 20px;
144+
margin-left: 20px;
145+
}
146+
147+
img {
148+
max-width: 800px;
135149
}
136150

137151
.main {
@@ -259,6 +273,18 @@ nav > *:hover { background: #f2f2f2; }
259273
nav > *:active { background: #e9e9e9; }
260274
nav > .play-cta { margin: 0; padding: 10px 20px; color: white; }
261275

276+
@media (max-width: 760px) {
277+
header { flex-direction: column; }
278+
header .logo { margin-bottom: 30px; }
279+
}
280+
281+
@media (max-width: 540px) {
282+
nav { flex-wrap: wrap; }
283+
nav > * { flex: 1 0 auto; padding: 10px 15px; text-align: center; }
284+
nav > .play-cta { display: none; }
285+
.header-wrapper { margin-bottom: -30px; }
286+
}
287+
262288
.btn { cursor: pointer; text-align: center; user-select: none; -moz-user-select: none; -ms-user-select: none; }
263289
.btn.big { flex: 1 0 auto; padding: 18px 30px; }
264290
.btn.rounded { border-radius: 3px; }
@@ -269,6 +295,12 @@ nav > .play-cta { margin: 0; padding: 10px 20px; color: white; }
269295
.cta.primary:hover { background: rgb(0, 158, 224); }
270296
.cta.primary:active { background: rgb(0, 121, 177); }
271297

298+
.version { display: flex; flex-direction: row; }
299+
300+
.version-btn { margin: 0px 20px; font-size: 1.2rem; min-width: 11em; }
301+
302+
.version-wrapper h2 { text-align: center; }
303+
272304
.cta.secondary { background: rgb(107, 103, 173); color: white; }
273305
.cta.secondary:hover { background: rgb(91, 89, 164); }
274306
.cta.secondary:active { background: rgb(74, 64, 136); }
@@ -294,27 +326,23 @@ nav > .play-cta { margin: 0; padding: 10px 20px; color: white; }
294326
.contact > *:last-child:hover { background: rgb(117, 115, 190); }
295327
.contact > *:last-child:active { background: rgb(142, 140, 215); }
296328

297-
.version { display: flex; flex-direction: row; }
298-
299-
.version-btn { margin: 0px 20px; font-size: 1.2rem; min-width: 11em; }
300-
.wrapper h2 { text-align: center; }
301-
302329
ul { display: block; margin-left: 2em; }
303330

304331
code { white-space: pre-wrap; font-family: "Inconsolata", "Monaco", "Consolas", "Ubuntu Mono", monospace; font-size: 0.9rem; }
305332

306333
strong { font-weight: 600; }
307334

308-
table {
309-
border: 1px #888a8f solid;
310-
margin-bottom: 1em;
311-
min-width: 820px;
335+
table {
336+
border: 1px #888a8f solid;
337+
margin-bottom: 1em;
338+
min-width: 820px;
312339
border-collapse: collapse;
313340
border-spacing: 0;
314341
}
315-
td {
316-
border: 1px #AAA solid;
317-
width: 20em;
342+
343+
td {
344+
border: 1px #AAA solid;
345+
width: 20em;
318346
padding: 10px;
319347
}
320348

index.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,8 @@ <h1><img alt="EVE" src="{{ site-url }}/images/eve.svg" /></h1>
8989

9090
<main class="main layer-wrapper">
9191
<div class="toplayer landing">
92-
<div class="wrapper">
93-
<h2>
94-
Which version of Eve are you running?
95-
</h2>
96-
92+
<div class="version-wrapper">
93+
<h2>Which version of Eve are you running?</h2>
9794
<div class="version">
9895
<a class="btn big rounded cta tertiary version-btn" href="{{ site-url }}/v0.2/index.html">v0.2 Documentation</a>
9996
<a class="btn big rounded cta tertiary version-btn" href="{{ site-url }}/v0.3/index.html">v0.3 Documentation</a>

0 commit comments

Comments
 (0)