Skip to content

Commit 9a01e7d

Browse files
committed
adjust header styles
1 parent 4f38e07 commit 9a01e7d

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

_layouts/guide.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<h1>{{ page.title }}</h1>
1111
</div>
1212
</div>
13-
<div class="container">
13+
<div class="container hyper-middle">
1414
<div class="row">
1515
<aside class="col-lg-3 hyper-sidebar">
1616
<nav>

css/main.scss

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,14 @@ blockquote {
6666
}
6767

6868
.navbar-hyper {
69+
background-color: $primary-pagehead-color;
6970
border: 0;
70-
border-bottom: 1px solid #ee9107;
71-
border-radius: 0;
7271
margin: 0;
7372
padding: 0;
7473
}
7574

7675
#hyper .navbar a {
77-
border-bottom: 5px solid #fff;
76+
color: #eee;
7877
display: flex;
7978
flex-direction: column;
8079
justify-content: center;
@@ -92,7 +91,6 @@ blockquote {
9291

9392
#hyper .navbar a:hover, #hyper .navbar a:focus {
9493
background: none;
95-
border-color: $primary-highlight-color;
9694
}
9795

9896
.navbar .navbar-brand {
@@ -188,6 +186,10 @@ blockquote {
188186
max-width: 700px;
189187
}
190188

189+
.hyper-content h1 {
190+
color: $primary-color;
191+
}
192+
191193
.hyper-content h2 {
192194
color: $primary-color;
193195
margin: 2rem 0 1rem;
@@ -211,6 +213,10 @@ h3 {
211213
padding: 0.25em 0;
212214
}
213215

216+
.toc li ul {
217+
padding-left: 1em;
218+
}
219+
214220
// footer
215221

216222
.hyper-footer {
@@ -375,7 +381,6 @@ ul, ol {
375381

376382
// row
377383
.row {
378-
--bs-gutter-x: 30px;
379384
}
380385

381386
// code
@@ -386,19 +391,14 @@ pre code {
386391

387392
// navbar
388393
.navbar a {
389-
color: $primary-color;
390394
transition: none;
391395
}
392396

393397
.navbar a:hover, .navbar a:focus {
394-
color: $primary-highlight-color;
398+
color: #fff;
395399
text-decoration: none;
396400
}
397401

398-
.navbar .navbar-brand {
399-
color: $primary-color
400-
}
401-
402402
.navbar .navbar-brand:hover {
403403
color: $primary-highlight-color
404404
}
@@ -414,4 +414,6 @@ pre code {
414414
font-size: 0.9rem;
415415
}
416416

417-
417+
.hyper-middle {
418+
margin-top: 1rem;
419+
}

0 commit comments

Comments
 (0)