Skip to content

Commit a7b7b79

Browse files
authored
matching font sizing and spacing between paragraphs to match foudnation (#464)
1 parent 206c75e commit a7b7b79

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

_layouts/company.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
layout: default
33
---
44
<section class="company-profile">
5-
<div class="container common-headline">
5+
<div class="container common-content">
66
<div id="leftcol">
7-
<header class="company-header heading common-padding--bottom-small common-padding--top-small">
7+
<header class="common-headline company-header heading common-padding--bottom-small common-padding--top-small">
88
<p>MEMBERS »</p>
99
<h1>{{ page.name }}</h1>
1010
</header>
@@ -15,7 +15,7 @@ <h1>{{ page.name }}</h1>
1515

1616
{% if page.rails_usage %}
1717
<section class="rails-usage common-padding--bottom-small">
18-
<h2>How They Use Rails</h2>
18+
<h3>How They Use Rails</h3>
1919
{{ page.rails_usage | markdownify }}
2020
</section>
2121
{% endif %}
@@ -44,7 +44,7 @@ <h2>How They Use Rails</h2>
4444

4545
{% if page.github_contributions or page.contribution_string %}
4646
<section class="contributions common-padding--bottom-small">
47-
<h2>Open Source Contributions</h2>
47+
<h3>Open Source Contributions</h3>
4848
{% if page.github_contributions %}
4949
<ul>
5050
{% for contribution in page.github_contributions %}
@@ -65,7 +65,7 @@ <h2>Open Source Contributions</h2>
6565

6666
{% if page.community %}
6767
<section class="community-involvement common-padding--bottom-small">
68-
<h2>Community Involvement</h2>
68+
<h3>Community Involvement</h3>
6969
{{ page.community | markdownify }}
7070
</section>
7171
{% endif %}

_sass/modules/_company.scss

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
max-width: 100%;
55

66
p {
7-
font-size: 20px;
8-
line-height: 1.2em;
7+
// font-size: 20px;
8+
// line-height: 1.2em;
99
}
1010

1111
.container {
@@ -25,16 +25,18 @@
2525
font-weight: 200;
2626
letter-spacing: 0.2em;
2727
margin-bottom: 0.25em;
28+
padding-bottom: 0;
2829
text-transform: uppercase;
2930
}
3031

3132
h1 {
3233
height: auto;
34+
line-height: 1;
3335
text-align: left;
3436
}
3537
}
3638

37-
h2 {
39+
h3 {
3840
margin-bottom: 0.5em;
3941
}
4042

@@ -219,18 +221,18 @@
219221
}
220222

221223
p {
222-
font-size: 26px;
224+
// font-size: 26px;
223225
}
224226

225227
.member-status {
226228
p {
227-
font-size: 32px;
229+
font-size: 26px;
228230
}
229231
}
230232

231233
blockquote {
232234
p {
233-
font-size: 26px;
235+
// font-size: 26px;
234236
}
235237
}
236238

@@ -247,7 +249,7 @@
247249

248250
.contributions {
249251
h2 {
250-
font-size: 36px;
252+
// font-size: 36px;
251253
}
252254
ul {
253255
display: flex;

0 commit comments

Comments
 (0)