Skip to content

Commit 415764b

Browse files
author
jordanmccullough
committed
Cleanup, fix Curriculum page image default scaling
1 parent 3eebbbf commit 415764b

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

_stylesheets/curriculum.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ body {
1313
/* GitHub Links */
1414
/* GitHub Book Links, Guide Links */
1515
/* YouTube Links */ }
16-
.curriculum h1, .curriculum h2, .curriculum h3, .curriculum h4, .curriculum h5, .curriculum h6, .curriculum p, .curriculum ul, .curriculum svg {
17-
font-weight: normal; }
16+
.curriculum img {
17+
width: 100%;
18+
height: auto; }
1819
.curriculum h3 {
1920
font-size: 400%;
2021
line-height: 1.25em;

_stylesheets/curriculum.scss

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ $mono-dark: #454545;
1515
}
1616

1717
body{
18-
// background: #f4f4f4;
1918
font-size: 16px;
2019
}
2120

@@ -24,14 +23,11 @@ body{
2423
}
2524

2625
.curriculum{
27-
// width: $width-desktop - 200px;
28-
// padding: 0 200px 0 0;
29-
// margin: 0 auto;
3026
position: relative;
3127

32-
h1,h2,h3,h4,h5,h6,p,ul,svg{
33-
font-weight: normal;
34-
// margin: 0 15%;
28+
img{
29+
width: 100%;
30+
height: auto;
3531
}
3632

3733
h3{

0 commit comments

Comments
 (0)