Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit 2809e50

Browse files
committed
Remove install button from front page
1 parent de602e3 commit 2809e50

File tree

2 files changed

+5
-44
lines changed

2 files changed

+5
-44
lines changed

css/style.css

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ div.install {
147147
text-decoration: none;
148148
}
149149

150-
.install-row {
151-
margin-bottom: 0em;
150+
.pitch-row {
151+
margin-bottom: 2em;
152152
}
153153

154154
p.pitch {
@@ -170,19 +170,6 @@ p.pitch a {
170170
font-size: 80%;
171171
}
172172

173-
.install-box {
174-
color: #777;
175-
text-align: right;
176-
font-size: 130%;
177-
margin-top: 0.8em;
178-
}
179-
180-
.version-rec-box-inner {
181-
display: block;
182-
font-size: 12px;
183-
text-align: center;
184-
}
185-
186173
hr {
187174
margin-top: 2em;
188175
margin-bottom: 3em;
@@ -206,12 +193,6 @@ hr {
206193
list-style-type: square;
207194
}
208195

209-
.install-box a.btn {
210-
display: block;
211-
margin:1em auto;
212-
max-width: 250px;
213-
}
214-
215196
ul.laundry-list {
216197
column-count: 2;
217198
-moz-column-count: 2;
@@ -224,10 +205,6 @@ ul.laundry-list {
224205
}
225206

226207
@media (min-width: 992px) {
227-
.install-box a.btn {
228-
font-size: 18px;
229-
padding: 10px 15px;
230-
}
231208
ul.laundry-list {
232209
column-count: auto;
233210
-moz-column-count: auto;

en-US/index.html

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
title: The Rust Programming Language
44
---
55

6-
<div class="row install-row">
6+
<div class="row pitch-row">
7+
<div class="col-md-2"></div>
78
<div class="col-md-8">
89
<p class="pitch">
910
<b>Rust</b> is a systems programming language
@@ -14,22 +15,7 @@
1415
<b><a href="friends.html">See who's using Rust.</a></b>
1516
</p>
1617
</div>
17-
<div class="col-md-4 install-box">
18-
<span class="version-rec-box-inner">
19-
Recommended Version:<br>
20-
<span id="install-version"
21-
data-type-linux="Linux binary"
22-
data-type-windows="Windows Installer"
23-
data-type-mac="Mac Installer"
24-
data-type-source="source">
25-
{{ site.stable }}
26-
(<span>source</span>)
27-
</span>
28-
</span>
29-
<a class="btn btn-primary" id="inst-link"
30-
href="https://static.rust-lang.org/dist/rustc-{{ site.stable }}-src.tar.gz">Install</a>
31-
<a class="btn btn-default" href="install.html" role="button">Other Downloads</a>
32-
</div>
18+
<div class="col-md-2"></div>
3319
</div>
3420

3521
<div class="row code-row">
@@ -70,6 +56,4 @@ <h2>Featuring</h2>
7056
{% include editor.js %}
7157
});
7258
});
73-
74-
{% include set_platform.js %}
7559
</script>

0 commit comments

Comments
 (0)