Skip to content

Commit

Permalink
ensure that the max-width applies to the list
Browse files Browse the repository at this point in the history
  • Loading branch information
afeld committed Aug 24, 2016
1 parent 801beaf commit 8fa5f9e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
7 changes: 6 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
<script src="scripts/avatars.js"></script>
</head>
<body>
{{ content }}
<div class="content">
{{ content }}
</div>

<h2>Students</h2>
{% include students.html %}
</body>
</html>
4 changes: 0 additions & 4 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,3 @@ Example data file ([`_data/{{ site.current_term }}/sahuguet.json`](https://githu
```

Using the format above, replace with your own `emoji` (choose from [this list](http://www.emoji-cheat-sheet.com/)) and `introduction`. Note that we'll do this in the first class, using the same [workflow](https://docs.google.com/document/d/1-hk6GzhV1yHU1T0E7uqcdNTtvv3fuq1_WECQOWOT2zw/edit#heading=h.a73pobrphorc) that will be used for all assignments.

## Students

{% include students.html %}
8 changes: 4 additions & 4 deletions styles/screen.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ body {
margin: 50px;
}

p {
max-width: 600px;
}

a {
color: black;
}
Expand All @@ -20,6 +16,10 @@ ul {
padding: 0;
}

.content {
max-width: 650px;
}

.js-student {
float: left;
list-style-type: none;
Expand Down

0 comments on commit 8fa5f9e

Please sign in to comment.