Skip to content

Commit 67f8f63

Browse files
authored
Fixing some cascade issues on common-content to foundation member (#465)
Looks better, thank you John!
1 parent a7b7b79 commit 67f8f63

File tree

2 files changed

+27
-5
lines changed

2 files changed

+27
-5
lines changed

_layouts/company.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h3>How They Use Rails</h3>
2222

2323
{% if page.member_status %}
2424
<section class="member-status common-padding--bottom-small">
25-
<p>{{ page.member_status | markdownify }}</p>
25+
{{ page.member_status | markdownify }}
2626
</section>
2727
{% endif %}
2828

_sass/modules/_company.scss

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
}
2121

2222
header.company-header {
23+
margin-bottom: 0;
24+
padding-bottom: 0;
25+
2326
p {
2427
font-size: 24px;
2528
font-weight: 200;
@@ -37,7 +40,7 @@
3740
}
3841

3942
h3 {
40-
margin-bottom: 0.5em;
43+
margin-bottom: 0;
4144
}
4245

4346
aside {
@@ -58,7 +61,7 @@
5861
flex-basis: 49%;
5962
font-size: 20px;
6063
line-height: 1.75em;
61-
margin: 0.25em 0;
64+
margin: 1em 0 0.25em 0;
6265
padding: 0.4em 0.4em 0.4em 55px;
6366
white-space: nowrap;
6467
overflow: hidden;
@@ -77,6 +80,8 @@
7780

7881
p {
7982
font-size: 18px;
83+
margin-bottom: 0;
84+
padding-bottom: 0;
8085
text-align: center;
8186

8287
b {
@@ -92,12 +97,15 @@
9297
grid-template-columns: 70px 1fr;
9398
grid-column-gap: 10px;
9499
font-size: 18px;
100+
padding-bottom: 0;
95101

96102
dt {
97-
font-weight: normal
103+
font-weight: normal;
104+
font-size: 18px;
98105
}
99106

100107
dd {
108+
color: #000;
101109
font-weight: bold;
102110

103111
span {
@@ -110,17 +118,20 @@
110118

111119
p {
112120
font-size: 18px;
121+
margin-bottom: 0;
122+
padding-bottom: 0;
113123
}
114124
}
115125
}
116126
}
117127

118128
blockquote {
129+
border: none;
119130

120131
p {
121132
font-style: italic;
122-
font-size: 18px;
123133
text-align: center;
134+
text-wrap: balance;
124135

125136
&::before {
126137
content: "";
@@ -153,6 +164,7 @@
153164
font-size: 24px;
154165
line-height: 1.1em;
155166
text-align: center;
167+
text-wrap: balance;
156168
}
157169
}
158170

@@ -173,6 +185,9 @@
173185
display: flex;
174186
flex-direction: column;
175187
justify-content: space-between;
188+
list-style-type: none;
189+
padding: 0;
190+
margin: 0;
176191

177192
li {
178193
background-color: #F8F9FA;
@@ -210,6 +225,11 @@
210225
}
211226

212227
.community-involvement {
228+
ul {
229+
list-style-type: none;
230+
padding: 0;
231+
margin: 0;
232+
}
213233
}
214234

215235
@media (min-width: 1024px) {
@@ -248,6 +268,8 @@
248268
}
249269

250270
.contributions {
271+
padding: 1em;
272+
margin-bottom: 60px;
251273
h2 {
252274
// font-size: 36px;
253275
}

0 commit comments

Comments
 (0)