mirror of
https://github.com/Start9Labs/documentation.git
synced 2026-03-31 12:33:41 +00:00
merge padding directives
This commit is contained in:
@@ -5,7 +5,7 @@ body, h1, h2, h3, h4, nav, .topbar, .topbar-main, .tocsection, .form-control, .b
|
||||
|
||||
h1 {
|
||||
font-size: 2rem;
|
||||
margin-top: 2rem;
|
||||
margin-top: 3.5rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
@@ -25,7 +25,6 @@ p, nav a {
|
||||
letter-spacing: 0.75px;
|
||||
}
|
||||
|
||||
|
||||
a, a:visited, .headerlink {
|
||||
color: #ff4961!important;
|
||||
}
|
||||
@@ -60,10 +59,6 @@ h1, h2 {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.bd-sidebar {
|
||||
background: none;
|
||||
}
|
||||
@@ -174,6 +169,6 @@ nav.bd-links > ul.nav {
|
||||
background-color: lightgray;
|
||||
}
|
||||
|
||||
#main-content.row {
|
||||
margin-top: 6rem!important;
|
||||
.set-padding {
|
||||
padding-top: 75px!important;
|
||||
}
|
||||
@@ -9,3 +9,11 @@ $(document).ready(function () {
|
||||
$(this).parent().children(".admonition-title").toggleClass("open");
|
||||
})
|
||||
});
|
||||
$(window).on('load', function () {
|
||||
console.log("loaded")
|
||||
|
||||
$('a').click(function () {
|
||||
console.log('tag clicked')
|
||||
$("body.scrolled").addClass("set-padding")
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user