Skip to content

Commit 14e5e56

Browse files
author
jordanmccullough
committed
Resolve layout sizing for slides and TOC
All slide, reference material, and TOC all fit without the bounds of the standard size “container” for better layout appearance
1 parent 1fc8028 commit 14e5e56

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

_layouts/curriculum-beta.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,15 @@ <h2>{{ page.title }}</h2>
3636
</div>
3737
</div>
3838

39-
<div id="toc-wrapper">
40-
<div id="toc" data-spy="affix" data-offset-top="165">
41-
<ul id="toc-list" class="nav" role="tablist"></ul>
39+
<div class="curriculum">
40+
<div id="toc-wrapper">
41+
<div id="toc" data-spy="affix" data-offset-top="165">
42+
<ul id="toc-list" class="nav" role="tablist"></ul>
43+
</div>
4244
</div>
43-
</div>
4445

45-
<div class="curriculum">{{ content }}</div>
46+
{{ content }}
47+
</div>
4648

4749
{% include footer.html %}
4850
</body>

_stylesheets/curriculum-beta.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ body {
5454
font-size: 8pt; }
5555

5656
.curriculum {
57-
width: 960px;
57+
width: 760px;
58+
padding: 0 200px 0 0;
5859
margin: 0 auto;
5960
position: relative;
6061
/* General external link */

_stylesheets/curriculum-beta.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ body{
2525
}
2626

2727
.curriculum{
28-
width: $width-desktop;
29-
// width: 100%;
28+
width: $width-desktop - 200px;
29+
padding: 0 200px 0 0;
3030
margin: 0 auto;
3131
position: relative;
3232

0 commit comments

Comments
 (0)