Skip to content

Commit d813fea

Browse files
author
Florian Kissling
committed
Simplify homepage .jumbotron.
1 parent 0474e69 commit d813fea

2 files changed

Lines changed: 28 additions & 23 deletions

File tree

docs/_includes/head.html

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,15 +217,26 @@
217217
color: #333;
218218
background-color: transparent;
219219
border-color: #333;
220+
padding: 15px 30px;
221+
font-size: 20px;
222+
}
223+
224+
.btn-outline-inverse .fa {
225+
margin-right: 8px;
220226
}
221227

222228
.btn-outline-inverse:hover {
223-
color: #428BCA;
224-
background-color: white;
229+
color: #fff;
230+
border-color: #428BCA;
231+
background-color: #428BCA;
232+
}
233+
234+
.version {
235+
color: #999;
225236
}
226237

227238
.navbar {
228-
border-bottom: 1px solid #eee;
239+
background-color: #fff;
229240
}
230241

231242
/* anchor.js */

docs/index.html

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,20 @@
55
---
66

77
<main class="jumbotron" role="main">
8-
<div class="container">
9-
<div class="row">
10-
<div class="col-md-6 text-center">
11-
<h1>Select2</h1>
12-
<p class="lead">
13-
The jQuery replacement for select boxes
14-
</p>
15-
</div>
16-
<div class="col-md-6 jumbotron-side text-center">
17-
<p>
18-
<a href="https://github.com/select2/select2/releases" class="btn btn-outline-inverse btn-lg">
19-
<i class="fa fa-download fa-lg"></i>
20-
Download
21-
</a>
22-
</p>
23-
<p>
24-
<strong>Version</strong> 4.0.0<em>-rc.2</em>
25-
</p>
26-
</div>
27-
</div>
8+
<div class="container text-center">
9+
<h1>Select2</h1>
10+
<p class="lead">
11+
The jQuery replacement for select boxes
12+
</p>
13+
<p>
14+
<a href="https://github.com/select2/select2/releases" class="btn btn-outline-inverse btn-lg">
15+
<i class="fa fa-arrow-down fa-lg"></i>
16+
Download
17+
</a>
18+
</p>
19+
<p class="version">
20+
<strong>Version</strong> 4.0.0<em>-rc.2</em>
21+
</p>
2822
</div>
2923
</main>
3024

0 commit comments

Comments
 (0)