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

Fix small sizes CSS, cleanup #44

Merged
merged 1 commit into from
Jul 9, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 14 additions & 17 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@ p {
margin-top: 1.2em;
margin-bottom: 1.2em;
}
b {
font-weight: bolder;
.pitch b {
font-weight: 400;
}
li {
margin-top: .5em;
margin-bottom: .5em;
}
h1 {
Expand Down Expand Up @@ -169,7 +168,6 @@ div.install {
}

p.pitch {
margin-right: 1em;
font-size: 25px;
font-weight: 300;
text-align: center;
Expand All @@ -179,6 +177,7 @@ p.pitch {
font-size: 25px;
margin-top: 2.7em;
margin-bottom: 1em;
margin-right: 1em;
text-align: left;
}
}
Expand Down Expand Up @@ -223,7 +222,7 @@ hr {
}

.install-box a.btn {
display:block;
display: block;
margin:1em auto;
max-width: 250px;
}
Expand All @@ -235,6 +234,10 @@ ul.laundry-list {
margin-bottom: 20px;
}

.resp-block {
display: none;
}

@media (min-width: 992px) {
.install-box a.btn {
font-size: 18px;
Expand All @@ -255,6 +258,9 @@ ul.laundry-list {
ul.menu .col-xs-12 {
padding-left: 0;
}
.resp-block {
display: block;
}
}

#editor {
Expand Down Expand Up @@ -342,15 +348,6 @@ ul.laundry-list {
background-color: #FFFBCB;
}

pre { background-color: #FDFDFD; }

/* Code highlighting */
pre.rust .kw { color: #8959A8; }
pre.rust .kw-2, pre.rust .prelude-ty { color: #4271AE; }
pre.rust .number, pre.rust .string { color: #718C00; }
pre.rust .self, pre.rust .boolval, pre.rust .prelude-val,
pre.rust .attribute, pre.rust .attribute .ident { color: #C82829; }
pre.rust .comment { color: #8E908C; }
pre.rust .doccomment { color: #4D4D4C; }
pre.rust .macro, pre.rust .macro-nonterminal { color: #3E999F; }
pre.rust .lifetime { color: #B76514; }
#active-code, #editor {
background-color: #FAFAFA;
}
Binary file removed fonts/Heuristica-Bold.woff
Binary file not shown.
Binary file removed fonts/Heuristica-BoldItalic.woff
Binary file not shown.
Binary file removed fonts/Heuristica-Italic.woff
Binary file not shown.
Binary file removed fonts/Heuristica-Regular.woff
Binary file not shown.
21 changes: 20 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,27 @@ <h2>Featuring</h2>
var rec_dl_addy = "http://static.rust-lang.org/dist/" + rec_download_file;
var rec_inst_link = document.getElementById("inst-link");
rec_inst_link.setAttribute("href", rec_dl_addy);

</script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.1.3/ace.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/ace/1.1.3/mode-rust.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/editor.js"></script>
<style>
.ace-chrome .ace_comment {
color: #565656;
}
.ace-chrome .ace-keyword {
color: #8959A8;
}
.ace-chrome .ace_entity.ace_name.ace_function {
color: #4271AE;
}
.ace-chrome .ace_constant.ace_numeric {
color: #718C00;
}
.ace-chrome .ace_keyword.ace_operator {
color: black;
}
.ace-chrome .ace_string {
color: #3E999F;
}
</style>