Skip to content
This repository was archived by the owner on Jun 10, 2019. It is now read-only.

Commit 0135262

Browse files
committed
Add styles to paragraph text across the code schools page
1 parent 10acac3 commit 0135262

6 files changed

Lines changed: 41 additions & 14 deletions

File tree

src/scenes/home/codeSchools/codeSchools.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,15 @@
1010
.filterButtonDiv > * {
1111
margin: 2.5% 0;
1212
}
13+
14+
p {
15+
text-align: center;
16+
}
17+
18+
.leadingParagraph {
19+
font-size: 2rem;
20+
}
21+
22+
.secondParagraph {
23+
font-size: 1.4rem;
24+
}

src/scenes/home/codeSchools/codeSchools.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ class CodeSchools extends Component {
2525
theme="white"
2626
margin
2727
>
28-
<p>
28+
<p className={styles.leadingParagraph}>
2929
Code schools prepare aspiring programmers for new careers in software development.
30-
<br />
31-
<br />
30+
</p>
31+
<p className={styles.secondParagraph}>
3232
Code schools are accelerated learning programs that will prepare you for a career in
33-
software development. Each school listed below ranges in length, vary in tuition costs,
34-
and in programming languages. Desirable from an employer&apos;s standpoint, code schools
35-
are founded by software developers who saw a need for more programmers and aspired to
33+
software development. <br />Each school listed below ranges in length, vary in tuition costs,
34+
and in programming languages. <br />Desirable from an employer&apos;s standpoint, code schools
35+
are founded by software developers who saw a need <br />for more programmers and aspired to
3636
teach the next generation.
3737
<br />
3838
<br />

src/scenes/home/codeSchools/onlineSchools/onlineSchools.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
.moocs h3 {
1717
text-align: center;
18+
font-size: 1.8rem;
1819
}
1920

2021
.moocCards {
@@ -23,3 +24,12 @@
2324
align-items: center;
2425
justify-content: space-around;
2526
}
27+
28+
.leadingParagraph {
29+
font-size: 1.4rem;
30+
}
31+
32+
.boxShadow {
33+
box-shadow: 0px 3px 10px 1px rgba(0, 0, 0, 0.1);
34+
transition: all 0.3s cubic-bezier(.25,.8,.25,1);
35+
}

src/scenes/home/codeSchools/onlineSchools/onlineSchools.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ class OnlineSchools extends Component {
4949
margin
5050
>
5151
<div className={styles.intro}>
52-
<p>
53-
Many programs offer coding schools in a completely digital fashion. Regardless of where
52+
<p className={styles.leadingParagraph}>
53+
Many programs offer coding schools in a completely digital fashion. <br />Regardless of where
5454
you are in the world, you can learn how to code through these programs!
5555
</p>
5656
</div>
@@ -61,12 +61,12 @@ class OnlineSchools extends Component {
6161

6262
<div className={styles.moocs}>
6363
<h3>MOOCs</h3>
64-
<p>
64+
<p className={styles.leadingParagraph}>
6565
Massive, Open, Online Courses (or MOOCs) are course study programs made available over
6666
the internet!
6767
<br />
68-
Typically there are start and end dates, but the work is on your own time.
69-
MOOCs are usually free, but there are certain benefits to paying for premium aspects
68+
Typically there are start and end dates, but the work itself is done at your own pace.
69+
<br />MOOCs are usually free, but there are certain benefits to paying for premium aspects
7070
of MOOCs.
7171
<br />
7272
</p>
@@ -85,6 +85,7 @@ class OnlineSchools extends Component {
8585
cardText={'Offers only paid programs, but we have licenses available.'}
8686
buttonText={'Website'}
8787
link={'https://teamtreehouse.com/'}
88+
className={styles.boxShadow}
8889
/>
8990
<ImageCard
9091
image={udacityLogo}

src/scenes/home/codeSchools/partnerSchools/partnerSchools.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,8 @@
1313
text-align: center;
1414
font-size: 1em;
1515
margin: 15px 0 0 0;
16+
}
17+
18+
.introParagraph {
19+
font-size: 1.4rem;
1620
}

src/scenes/home/codeSchools/partnerSchools/partnerSchools.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ class PartnerSchools extends Component {
2222
margin
2323
>
2424
<div className={styles.intro}>
25-
<p>
25+
<p className={styles.introParagraph}>
2626
Many code schools around the nation offer military/veterans discounts to make coding
27-
education more accessible to those who&apos;ve worn the uniform and served our country.
27+
education more accessible to our veterans.<br />
2828
We&apos;ve partnered up with those schools in order to help direct veterans to the best
29-
code schools around the country. <b>Apply for a scholarship with our partners now and
29+
code schools around the country. <br /> <b>Apply for a scholarship with our partners now and
3030
get coding:</b>
3131
</p>
3232
</div>

0 commit comments

Comments
 (0)