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

Commit 509e66f

Browse files
committed
Fix small sizes CSS, cleanup
1 parent c4bdc59 commit 509e66f

File tree

6 files changed

+34
-18
lines changed

6 files changed

+34
-18
lines changed

css/style.css

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,10 @@ p {
3434
margin-top: 1.2em;
3535
margin-bottom: 1.2em;
3636
}
37-
b {
38-
font-weight: bolder;
37+
.pitch b {
38+
font-weight: 400;
3939
}
4040
li {
41-
margin-top: .5em;
4241
margin-bottom: .5em;
4342
}
4443
h1 {
@@ -169,7 +168,6 @@ div.install {
169168
}
170169

171170
p.pitch {
172-
margin-right: 1em;
173171
font-size: 25px;
174172
font-weight: 300;
175173
text-align: center;
@@ -179,6 +177,7 @@ p.pitch {
179177
font-size: 25px;
180178
margin-top: 2.7em;
181179
margin-bottom: 1em;
180+
margin-right: 1em;
182181
text-align: left;
183182
}
184183
}
@@ -223,7 +222,7 @@ hr {
223222
}
224223

225224
.install-box a.btn {
226-
display:block;
225+
display: block;
227226
margin:1em auto;
228227
max-width: 250px;
229228
}
@@ -235,6 +234,10 @@ ul.laundry-list {
235234
margin-bottom: 20px;
236235
}
237236

237+
.resp-block {
238+
display: none;
239+
}
240+
238241
@media (min-width: 992px) {
239242
.install-box a.btn {
240243
font-size: 18px;
@@ -255,6 +258,9 @@ ul.laundry-list {
255258
ul.menu .col-xs-12 {
256259
padding-left: 0;
257260
}
261+
.resp-block {
262+
display: block;
263+
}
258264
}
259265

260266
#editor {
@@ -342,15 +348,6 @@ ul.laundry-list {
342348
background-color: #FFFBCB;
343349
}
344350

345-
pre { background-color: #FDFDFD; }
346-
347-
/* Code highlighting */
348-
pre.rust .kw { color: #8959A8; }
349-
pre.rust .kw-2, pre.rust .prelude-ty { color: #4271AE; }
350-
pre.rust .number, pre.rust .string { color: #718C00; }
351-
pre.rust .self, pre.rust .boolval, pre.rust .prelude-val,
352-
pre.rust .attribute, pre.rust .attribute .ident { color: #C82829; }
353-
pre.rust .comment { color: #8E908C; }
354-
pre.rust .doccomment { color: #4D4D4C; }
355-
pre.rust .macro, pre.rust .macro-nonterminal { color: #3E999F; }
356-
pre.rust .lifetime { color: #B76514; }
351+
#active-code, #editor {
352+
background-color: #FAFAFA;
353+
}

fonts/Heuristica-Bold.woff

-120 KB
Binary file not shown.

fonts/Heuristica-BoldItalic.woff

-116 KB
Binary file not shown.

fonts/Heuristica-Italic.woff

-117 KB
Binary file not shown.

fonts/Heuristica-Regular.woff

-157 KB
Binary file not shown.

index.html

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,27 @@ <h2>Featuring</h2>
152152
var rec_dl_addy = "http://static.rust-lang.org/dist/" + rec_download_file;
153153
var rec_inst_link = document.getElementById("inst-link");
154154
rec_inst_link.setAttribute("href", rec_dl_addy);
155-
156155
</script>
157156
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.1.3/ace.js"></script>
158157
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/ace/1.1.3/mode-rust.js"></script>
159158
<script type="text/javascript" charset="utf-8" src="/js/editor.js"></script>
159+
<style>
160+
.ace-chrome .ace_comment {
161+
color: #565656;
162+
}
163+
.ace-chrome .ace-keyword {
164+
color: #8959A8;
165+
}
166+
.ace-chrome .ace_entity.ace_name.ace_function {
167+
color: #4271AE;
168+
}
169+
.ace-chrome .ace_constant.ace_numeric {
170+
color: #718C00;
171+
}
172+
.ace-chrome .ace_keyword.ace_operator {
173+
color: black;
174+
}
175+
.ace-chrome .ace_string {
176+
color: #3E999F;
177+
}
178+
</style>

0 commit comments

Comments
 (0)