Skip to content

Commit

Permalink
Add Facebook assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
yangshun committed Aug 6, 2016
1 parent 93654e4 commit 7ba76d6
Show file tree
Hide file tree
Showing 7 changed files with 1,734 additions and 7 deletions.
2 changes: 1 addition & 1 deletion _includes/head.html
Expand Up @@ -12,7 +12,7 @@
<!-- CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,900" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,700" rel="stylesheet">
<script src="https://code.jquery.com/jquery-1.11.2.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
Expand Down
11 changes: 11 additions & 0 deletions _layouts/assignment.html
@@ -0,0 +1,11 @@
---
layout: default
---
<div class="assignment">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<h1>{{ page.title }}</h1>
{{ content }}
</div>
</div>
</div>
5 changes: 5 additions & 0 deletions _sass/_assignments.scss
@@ -0,0 +1,5 @@
.assignment {
h1, h2, h3, h4, h5, h6 {
margin-top: 50px;
}
}
8 changes: 4 additions & 4 deletions _sass/_base.scss
Expand Up @@ -17,7 +17,7 @@ body {
font-family: $base-font-family;
font-size: $base-font-size;
line-height: $base-line-height;
font-weight: 300;
font-weight: $font-weight-normal;
color: $text-color;
background-color: $background-color;
-webkit-text-size-adjust: 100%;
Expand Down Expand Up @@ -70,7 +70,7 @@ ul, ol {
li {
> ul,
> ol {
margin-bottom: 0;
margin-bottom: 0;
}
}

Expand All @@ -80,7 +80,7 @@ li {
* Headings
*/
h1, h2, h3, h4, h5, h6 {
font-weight: 300;
font-weight: $font-weight-bold;
}


Expand Down Expand Up @@ -210,7 +210,7 @@ pre {
border: 1px solid $button-color;
border-radius: 40px;
color: $button-color;
font-weight: 300;
font-weight: $font-weight-normal;
&:hover {
background-color: $button-color;
border-color: $button-color;
Expand Down
2 changes: 1 addition & 1 deletion _sass/_layout.scss
Expand Up @@ -147,7 +147,7 @@ body {

.post-title {
font-size: 42px;
font-weight: 700;
font-weight: $font-weight-bold;
letter-spacing: -1px;
line-height: 1;
@include media-query($on-laptop) {
Expand Down

0 comments on commit 7ba76d6

Please sign in to comment.