Skip to content

Commit 5882222

Browse files
committed
font sizing is now better for people with visual difficulties
1 parent 2800deb commit 5882222

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

css/styles.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,21 @@ dt {
1818
font-size: 1.25em;
1919
}
2020
h1 {
21-
font-size: 1.5em;
21+
font-size: 2vw;
2222
}
2323
.main-section {
2424

2525
}
2626
section {
2727
z-index: 1;
28-
width: calc(100vw - 10em);
28+
width: calc(100vw - 20em);
2929
position: relative;
3030
display: flex;
3131
flex-direction: column;
3232
justify-content: space-between;
3333
}
3434
.hero {
3535
height: calc(100vh - 2em);
36-
width: calc(100vw - 20em);
3736
}
3837
.bio {
3938
margin-bottom: 2.5em;
@@ -59,10 +58,10 @@ section {
5958
.list__item {
6059
margin: 0;
6160
margin-bottom: 2em;
62-
font-size: 1.25em;
6361
}
6462
.list__item > p {
6563
margin: 1em 0;
64+
font-size: 1.5em;
6665
}
6766
.footer {
6867
position: fixed;
@@ -98,6 +97,7 @@ a:focus, a:hover {
9897
@media (max-width:800px) {
9998
h1 {
10099
line-height: 1em;
100+
font-size: 1.5em
101101
}
102102
body {
103103
padding: 1em 1em 1em 2em;

0 commit comments

Comments
 (0)