Skip to content

Commit 0f1f9e4

Browse files
author
Jordan McCullough
committed
Merge pull request #211 from github/path-and-style-fixes
Fix CSS pathing, small curriculum style defaults
2 parents 3eebbbf + b11c1c4 commit 0f1f9e4

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

_layouts/site.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@
66
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
77
<title>{% if page.html_title %}{{ page.html_title }} • {% endif %}GitHub Training</title>
88
<meta name="viewport" content="width=device-width,initial-scale=1">
9-
<link rel="stylesheet" href="{{ site.url }}/_stylesheets/page.css">
9+
<link rel="stylesheet" href="{{ page.leadingpath }}/_stylesheets/page.css">
1010

1111

1212
<link rel="icon" type="image/x-icon" href="/favicon.png" />
1313
<link rel="alternate" type="application/atom+xml" title="Upcoming Events" href="/atom.xml">
1414
<script type="text/javascript" src="{{ page.leadingpath }}js/jquery.min.js"></script>
15-
<script type="text/javascript" src="{{ page.leadingpath }}js/quotes.js"></script>
16-
<script type="text/javascript" src="{{ page.leadingpath }}js/all.js"></script>
1715

1816
<!-- Latest compiled and minified CSS -->
1917
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">

_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)