Skip to content

Commit b7eb0cc

Browse files
feat(getinvolved): polish panel
1 parent 9c71d60 commit b7eb0cc

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

src/styles/app.scss

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,14 @@ span.brand img {
109109
}
110110
a {
111111
color: white;
112-
text-decoration: underline;
113112
}
114113
.button.button-secondary {
115-
color: $purple;
114+
background-color: $purple;
115+
border: $purple 1px solid;
116+
color: white;
117+
&:hover {
118+
border-color: white;
119+
}
116120
}
117121
}
118122

@@ -126,11 +130,11 @@ span.brand img {
126130
}
127131
.button.button-secondary {
128132
background-color: $yellow;
129-
border: none;
133+
border: 1px solid $yellow;
130134
color: $gray;
131135
text-decoration: none;
132136
&:hover {
133-
border: 1px solid $gray;
137+
border-color: $gray;
134138
}
135139
}
136140
}
@@ -147,12 +151,12 @@ span.brand img {
147151
}
148152
.button.button-secondary {
149153
background-color: $red;
150-
border: none;
154+
border: 1px solid $red;
151155
color: white;
152156
text-decoration: none;
153157
display: block;
154158
&:hover {
155-
border: 1px white solid;
159+
border-color: white;
156160
}
157161
}
158162
}

templates/panels/get-involved.hbs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<section class="get-involved">
1+
<section class="get-involved red">
22
<div class="container">
33
<header>
44
<h2>Get Involved</h2>
5-
<div class="highlight highlight-green">
5+
<div class="highlight">
66
</header>
77
<div class="row">
88
<div class="eight columns" id="contrubite-code">
@@ -24,7 +24,7 @@
2424
<h3>Contribute Code</h3>
2525
<p>
2626
Rust is truly a community effort, and we welcome contribution from hobbyists and production users, from
27-
newcomers and old hats. Come help us make the Rust experience even better!
27+
newcomers and seasoned professionals. Come help us make the Rust experience even better!
2828
</p>
2929
<a href="#" class="button button-secondary">Learn More</a>
3030
</div>
@@ -36,4 +36,4 @@
3636
</div>
3737
</div>
3838
</div>
39-
</section>
39+
</section>

0 commit comments

Comments
 (0)