Skip to content

Commit 9bbcbd5

Browse files
author
Pavithra K
committed
Changes styles for FAQ
1 parent d678a81 commit 9bbcbd5

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

components/vote/app-style.scss

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,30 @@
1010
flex-direction: column;
1111

1212
@include break(medium) {
13-
flex-direction: row-reverse;
13+
flex-direction: row;
1414
}
1515
}
1616

1717
&__influence {
18-
flex: 0 0 80%;
18+
flex: 0 0 75%;
1919
}
2020

2121
&__influence-description {
2222
display: flex;
23+
flex-direction: column;
24+
25+
@include break(medium) {
26+
flex-direction: row;
27+
}
2328
}
2429

2530
&__user-section {
26-
flex: 0 0 20%;
31+
flex: 0 0 25%;
32+
padding-left: 20px;
33+
34+
@include break(large) {
35+
border-left: 2px solid getColor(elephant);
36+
}
2737
}
2838

2939
&__influence-section {
@@ -98,8 +108,9 @@
98108
}
99109

100110
h1 {
101-
font-size: 20pt;
111+
font-size: 16pt;
102112
font-weight: bold;
113+
margin-bottom: 10px;
103114
}
104115

105116
&__item-title {

components/vote/influence.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ export default class InfluenceComponent extends React.Component {
88
render() {
99
return (this.props.type === "normal" ? (
1010
<section className="influence-info influence-info__section">
11-
<h1 className="influence-info__header">What is Influence?</h1>
11+
<h1 className="influence-info__header">Influence</h1>
1212
<p><em>Influence</em> is a unit of measure based on time you have been a member on GitHub. However, in 2017 and on you will recieve one influence per day.</p>
1313
</section>
1414
) : (
1515
<section className="influence-info influence-info__section">
16-
<h1 className="influence-info__header">What is Golden Influence?</h1>
16+
<h1 className="influence-info__header">Golden Influence</h1>
1717
<p><em>Golden Influence</em> is equal to 100 <i>normal influence</i>. Golden Influence is obtained by being a backer or sponsor on our <a href="https://opencollective.com/webpack">Open Collective page</a>.</p>
1818
</section>
1919
));

0 commit comments

Comments
 (0)