Add GitHub corner

From http://tholman.com/github-corners/
This commit is contained in:
Andrea Cardaci
2018-05-29 17:29:56 +02:00
parent 481cd24a84
commit bf3ea797ff
2 changed files with 13 additions and 2 deletions

View File

@@ -7,13 +7,23 @@ $hover: #ff0000;
// layout
@media (min-width: 1000px) {
$column-width: 800px;
$grace-space: 200px;
$layout-break: "(min-width: #{$column-width + $grace-space})";
@media #{$layout-break} {
body {
width: 800px;
width: $column-width;
margin: 0 auto;
}
}
@media not all and #{$layout-break} {
.github-corner {
display: none;
}
}
// common tags
body {