Skip to content

Commit 732bb5c

Browse files
author
jordanmccullough
committed
Favor default layout width over 100%
Aligns visually with header/footer better
1 parent 978fc74 commit 732bb5c

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

_stylesheets/curriculum-beta.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,22 +48,21 @@ ul.site-footer-links {
4848
ul.site-footer-links {
4949
display: none; } }
5050
body {
51-
background: #f4f4f4;
5251
font-size: 16px; }
5352

5453
.nav-list > li > a {
5554
font-size: 8pt; }
5655

5756
.curriculum {
58-
width: 100%;
57+
width: 960px;
58+
margin: 0 auto;
5959
position: relative;
6060
/* General external link */
6161
/* GitHub Links */
6262
/* GitHub Book Links, Guide Links */
6363
/* YouTube Links */ }
6464
.curriculum h1, .curriculum h2, .curriculum h3, .curriculum h4, .curriculum h5, .curriculum h6, .curriculum p, .curriculum ul, .curriculum svg {
65-
font-weight: normal;
66-
margin: 0 15%; }
65+
font-weight: normal; }
6766
.curriculum h3 {
6867
font-size: 400%;
6968
line-height: 1.25em;

_stylesheets/curriculum-beta.scss

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

1818
body{
19-
background: #f4f4f4;
19+
// background: #f4f4f4;
2020
font-size: 16px;
2121
}
2222

@@ -25,12 +25,14 @@ body{
2525
}
2626

2727
.curriculum{
28-
width: 100%;
28+
width: $width-desktop;
29+
// width: 100%;
30+
margin: 0 auto;
2931
position: relative;
3032

3133
h1,h2,h3,h4,h5,h6,p,ul,svg{
3234
font-weight: normal;
33-
margin: 0 15%;
35+
// margin: 0 15%;
3436
}
3537

3638
h3{

0 commit comments

Comments
 (0)