Skip to content

Commit 53a4320

Browse files
authored
Merge pull request #833 from skade/remove-skeleton-css
Remove skeleton
2 parents 4e66c09 + 657db0a commit 53a4320

File tree

5 files changed

+13
-35
lines changed

5 files changed

+13
-35
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,9 @@ feels about it. For the moment, large design changes are made exclusively by the
2121
team (listed above). If you have concerns or thoughts for small changes, please
2222
file an issue so that we can discuss it first!
2323

24-
### Design
25-
26-
The site currently uses two frameworks: [Tachyons] and [Skeleton].
27-
28-
The team is currently in the process of transitioning from Skeleton to Tachyons.
29-
This is a somewhat complicated transition, so if you would like to update CSS,
30-
please file an issue.
31-
32-
[@yoshuawuyts] and [@chriskrycho] are the current developers on this transition.
33-
Please direct issues and questions to them!
24+
The site currently uses [Tachyons].
3425

3526
[Tachyons]: http://tachyons.io/
36-
[Skeleton]: http://getskeleton.com/
3727

3828
### Content
3929

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ lazy_static! {
6464
static ref ASSETS: AssetFiles = {
6565
let app_css_file = compile_sass("app");
6666
let fonts_css_file = compile_sass("fonts");
67-
let vendor_css_file = concat_vendor_css(vec!["skeleton", "tachyons"]);
67+
let vendor_css_file = concat_vendor_css(vec!["tachyons"]);
6868
let app_js_file = concat_app_js(vec!["tools-install"]);
6969

7070
AssetFiles {

src/styles/app.scss

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,6 @@ p {
107107
font-size: 0.8em;
108108
}
109109

110-
.button.button-secondary--no-skeleton {
111-
margin-bottom: 0;
112-
}
113-
114110
code.code-header {
115111
background-color: rgba(127, 127, 127, 0.25);
116112
font-size: 2rem;
@@ -212,11 +208,6 @@ section .container {
212208
padding-top: 20px;
213209
}
214210

215-
// TODO: remove when switching to Tachyons -- these are overrides for Skeleton.
216-
ul.nav, ul.nav li {
217-
margin-bottom: 0;
218-
}
219-
220211
.nav a {
221212
color: $gray;
222213
}

static/styles/skeleton.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

templates/learn/index.hbs

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,69 +43,67 @@
4343
</h2>
4444
<div class="highlight"></div>
4545
</header>
46-
<div class="row black">
46+
<div>
4747
<h3>{{text learn-doc-heading}}</h3>
4848
<p>{{text learn-doc}}</p>
4949

50-
{{!-- TODO: Remove button-secondary--no-skeleton once Skeleton is completely removed. --}}
51-
5250
<section class="flex flex-column">
5351
<div class="pt3 flex flex-column flex-row-l items-center-l mb4-l">
5452
<a href="https://doc.rust-lang.org/std/index.html"
55-
class="button button-secondary button-secondary--no-skeleton mw6-l w-100">{{text learn-doc-std-button}}</a>
53+
class="button button-secondary mw6-l w-100">{{text learn-doc-std-button}}</a>
5654
<p class="pl4-l ma0-l mt1 mb3">
5755
{{text learn-doc-std}}
5856
</p>
5957
</div>
6058

6159
<div class="pt4 pt3-l flex flex-column flex-row-l items-center-l mb4-l">
6260
<a href="https://doc.rust-lang.org/edition-guide/index.html"
63-
class="button button-secondary button-secondary--no-skeleton mw6-l w-100">{{text learn-doc-edition-button}}</a>
61+
class="button button-secondary mw6-l w-100">{{text learn-doc-edition-button}}</a>
6462
<p class="pl4-l ma0-l mt1 mb3">
6563
{{text learn-doc-edition}}
6664
</p>
6765
</div>
6866

6967
<div class="pt4 pt3-l flex flex-column flex-row-l items-center-l mb4-l">
7068
<a href="https://doc.rust-lang.org/cargo/index.html"
71-
class="button button-secondary button-secondary--no-skeleton mw6-l w-100">{{text learn-doc-cargo-button}}</a>
69+
class="button button-secondary mw6-l w-100">{{text learn-doc-cargo-button}}</a>
7270
<p class="pl4-l ma0-l mt1 mb3">
7371
{{text learn-doc-cargo}}
7472
</p>
7573
</div>
7674

7775
<div class="pt4 pt3-l flex flex-column flex-row-l items-center-l mb4-l">
7876
<a href="https://doc.rust-lang.org/rustdoc/index.html"
79-
class="button button-secondary button-secondary--no-skeleton mw6-l w-100">{{text learn-doc-rustdoc-button}}</a>
77+
class="button button-secondary mw6-l w-100">{{text learn-doc-rustdoc-button}}</a>
8078
<p class="pl4-l ma0-l mt1 mb3">
8179
{{text learn-doc-rustdoc}}
8280
</p>
8381
</div>
8482

8583
<div class="pt4 pt3-l flex flex-column flex-row-l items-center-l mb4-l">
8684
<a href="https://doc.rust-lang.org/rustc/index.html"
87-
class="button button-secondary button-secondary--no-skeleton mw6-l w-100">{{text learn-doc-rustc-button}}</a>
85+
class="button button-secondary mw6-l w-100">{{text learn-doc-rustc-button}}</a>
8886
<p class="pl4-l ma0-l mt1 mb3">
8987
{{text learn-doc-rustc}}
9088
</p>
9189
</div>
9290

9391
<div class="pt4 pt3-l flex flex-column flex-row-l items-center-l mb4-l">
9492
<a href="https://doc.rust-lang.org/error-index.html"
95-
class="button button-secondary button-secondary--no-skeleton mw6-l w-100">{{text learn-doc-error-button}}</a>
93+
class="button button-secondary mw6-l w-100">{{text learn-doc-error-button}}</a>
9694
<p class="pl4-l mb0 mt1 ma0-l">
9795
{{text learn-doc-error}}
9896
</p>
9997
</div>
10098
</section>
10199
</div>
102100
<hr/>
103-
<div class="row black">
101+
<div>
104102
<h3>{{text learn-domain}}</h3>
105103
<section class="flex flex-column">
106104
<div class="pt3 flex flex-column flex-row-l items-center-l mb4-l">
107105
<a href="https://rust-lang-nursery.github.io/cli-wg/"
108-
class="button button-secondary button-secondary--no-skeleton mw6-l w-100">
106+
class="button button-secondary mw6-l w-100">
109107
{{text learn-domain-cli-button}}
110108
</a>
111109
<p class="pl4-l ma0-l mt1 mb3">
@@ -115,7 +113,7 @@
115113

116114
<div class="pt4 pt3-l flex flex-column flex-row-l items-center-l mb4-l">
117115
<a href="https://rustwasm.github.io/docs/book/"
118-
class="button button-secondary button-secondary--no-skeleton mw6-l w-100">
116+
class="button button-secondary mw6-l w-100">
119117
{{text learn-domain-wasm-button}}
120118
</a>
121119
<p class="pl4-l ma0-l mt1 mb3">
@@ -125,7 +123,7 @@
125123

126124
<div class="pt4 pt3-l flex flex-column flex-row-l items-center-l mb4-l">
127125
<a href="https://rust-embedded.github.io/book/"
128-
class="button button-secondary button-secondary--no-skeleton mw6-l w-100">
126+
class="button button-secondary mw6-l w-100">
129127
{{text learn-domain-embedded-button}}
130128
</a>
131129
<p class="pl4-l mb0 mt1 ma0-l">

0 commit comments

Comments
 (0)