Revert "Fix anchor issue with fixed navbar"
This reverts commit 204b3c121c
.
This commit is contained in:
parent
18b7acc399
commit
46ed6fb58f
|
@ -20,17 +20,6 @@
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
clear: both;
|
clear: both;
|
||||||
|
|
||||||
/* Hack for anchors and fixed navbar */
|
|
||||||
&[id] {
|
|
||||||
&:before {
|
|
||||||
content: '';
|
|
||||||
display: block;
|
|
||||||
position: relative;
|
|
||||||
width: 0;
|
|
||||||
height: 3em;
|
|
||||||
margin-top: -3em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&:target {
|
&:target {
|
||||||
.timeline-entry-inner .timeline-content {
|
.timeline-entry-inner .timeline-content {
|
||||||
|
|
|
@ -98,7 +98,8 @@ a:focus {
|
||||||
$size: 16px;
|
$size: 16px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 100%;
|
right: 100%;
|
||||||
bottom: 7px;
|
top: 50%;
|
||||||
|
margin-top: -$size/2;
|
||||||
margin-right: 0px;
|
margin-right: 0px;
|
||||||
padding-right: 20px;
|
padding-right: 20px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -108,18 +109,6 @@ a:focus {
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hack for anchors and fixed navbar */
|
|
||||||
&[id] {
|
|
||||||
&:before {
|
|
||||||
content: '';
|
|
||||||
display: block;
|
|
||||||
position: relative;
|
|
||||||
width: 0;
|
|
||||||
height: 3em;
|
|
||||||
margin-top: -3em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
|
|
|
@ -12,3 +12,4 @@ html {
|
||||||
.container .content {
|
.container .content {
|
||||||
margin: 0 0;
|
margin: 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -65,11 +65,9 @@
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3 {
|
*:first-child {
|
||||||
&:first-child {
|
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
code { padding: 0 4px; }
|
code { padding: 0 4px; }
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,8 @@ header {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
min-height: 40px;
|
min-height: 40px;
|
||||||
border: none;
|
border: none;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
.navbar-inner {
|
.navbar-inner {
|
||||||
|
|
|
@ -57,7 +57,6 @@ ul.notes {
|
||||||
.note {
|
.note {
|
||||||
display: block;
|
display: block;
|
||||||
position:relative;
|
position:relative;
|
||||||
|
|
||||||
.attachment {
|
.attachment {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
%header.navbar.navbar-fixed-top.navbar-gitlab
|
%header.navbar.navbar-static-top.navbar-gitlab
|
||||||
.navbar-inner
|
.navbar-inner
|
||||||
.container
|
.container
|
||||||
%div.app_logo
|
%div.app_logo
|
||||||
|
|
Loading…
Reference in New Issue