moved github to header

This commit is contained in:
Bálint Szekeres
2019-05-19 11:36:26 +02:00
parent 473ed63ca6
commit 4daf054da4
3 changed files with 56 additions and 29 deletions

View File

@@ -1,5 +1,4 @@
header {
position: relative;
background-color: #000;
padding: 0.5rem 0;
text-align: center;
@@ -7,6 +6,10 @@ header {
color: #fff;
font-size: 2.2rem;
.container {
position: relative;
}
.loader {
position: absolute;
top: 5px;
@@ -43,6 +46,50 @@ header {
margin-bottom: 0.5rem;
}
.github {
@include media-breakpoint-up(lg) {
position: absolute;
right: 0;
top: 10px;
}
.github-link {
text-align: center;
font-size: 1rem;
margin-bottom: 0.5rem;
a {
color: #fff;
}
small {
font-size: 90%;
}
svg {
height: 1.2rem;
vertical-align: -4px;
g {
fill: #fff;
}
}
}
.github-star {
width: 144px;
height: 30px;
display: block;
border: 0;
overflow: hidden;
margin: 0 auto 0.25rem;
@include media-breakpoint-up(lg) {
margin-left: auto;
}
}
}
.sites {
@include media-breakpoint-up(lg) {
margin-top: -1rem;