Skip to content

Commit 012648d

Browse files
committed
improve(css): use Tachyons to improve consistency on some pages.
1 parent 57e3349 commit 012648d

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

src/styles/app.scss

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ header h1, section h2 {
5959
}
6060

6161
header h1 {
62-
font-size: 10rem;
62+
font-size: 8rem;
6363
margin-bottom: 0;
6464
margin-top: 0;
6565
}
@@ -71,7 +71,7 @@ header .button.button-primary.button-download {
7171
width: 100%;
7272
padding: 20px;
7373
height: auto;
74-
font-size: 2em;
74+
font-size: 2.25rem;
7575
margin-top: 20px;
7676
}
7777

@@ -271,7 +271,7 @@ a.brand {
271271

272272
h3 {
273273
font-weight: 800;
274-
font-size: 1.8em;
274+
font-size: 1.5em;
275275
letter-spacing: normal;
276276
}
277277

@@ -352,10 +352,6 @@ blockquote::before {
352352
text-align: right;
353353
}
354354

355-
.production p {
356-
font-size: 3rem;
357-
}
358-
359355
.production .button.button-secondary {
360356
margin-top: 30px;
361357
display: block;

templates/panels/production.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<section class="white production">
2-
<div class="w-100 mw-none ph3 mw8-m mw9-l center f3">
2+
<div class="w-100 mw-none ph3 mw8-m mw9-l center">
33
<header>
44
<h2>Rust in production</h2>
55
<div class="highlight"></div>
66
</header>
77
<div class="description">
8-
<p>
8+
<p class="lh-copy f2">
99
Hundreds of companies around the world are using Rust in production
1010
today for fast, low resource, cross-platform solutions. Software you know
1111
and love, like <a href="https://hacks.mozilla.org/2017/08/inside-a-super-fast-css-engine-quantum-css-aka-stylo/" target="_blank" rel="noopener">Firefox</a>, <a href="https://blogs.dropbox.com/tech/2016/06/lossless-compression-with-brotli/" target="_blank" rel="noopener">Dropbox</a>, and <a href="https://blog.cloudflare.com/cloudflare-workers-as-a-serverless-rust-platform/" target="_blank" rel="noopener">Cloudflare</a>, uses Rust. <strong>From startups to large
@@ -15,7 +15,7 @@
1515
<div class="testimonials">
1616
<div class="testimonial row">
1717
<div class="eight columns" id="chucklefish-testimonial">
18-
<blockquote>
18+
<blockquote class="lh-title-ns">
1919
Rust is one of the few languages that really gives you a large amount of confidence that your parallel and
2020
concurrent code is anywhere near correct.
2121
</blockquote>

0 commit comments

Comments
 (0)