mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-09 15:13:20 +08:00
moved github to header
This commit is contained in:
@@ -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;
|
||||
|
@@ -5,30 +5,6 @@ aside.sidebar {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.github-link {
|
||||
text-align: center;
|
||||
font-size: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
|
||||
small {
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
img {
|
||||
height: 1.2rem;
|
||||
vertical-align: -4px;
|
||||
}
|
||||
}
|
||||
|
||||
.github-star {
|
||||
width: 144px;
|
||||
height: 30px;
|
||||
display: block;
|
||||
border: 0;
|
||||
overflow: hidden;
|
||||
margin: 0 auto 0.25rem;
|
||||
}
|
||||
|
||||
.buttons {
|
||||
text-align: center;
|
||||
margin-top: 1.5rem;
|
||||
|
Reference in New Issue
Block a user