Skip to content

Commit 4a37085

Browse files
committed
updated
1 parent 5b57467 commit 4a37085

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

_includes/topbar.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<nav class="navbar navbar-expand-lg fixed-top topbar">
1+
<nav class="navbar navbar-dark navbar-expand-lg fixed-top topbar">
22

33
<a class='nav-brand logo-title' href="{{ site.url }}">
44
<img src="https://raw.githubusercontent.com/peakphp/art/master/logo-clean-50x50-inverse.png" alt="Peak logo" class="bg-black logo">
@@ -10,7 +10,7 @@
1010

1111
<div class="collapse navbar-collapse" id="mainNav">
1212

13-
<ul class="navbar-nav" style="margin-left:200px;">
13+
<ul class="navbar-nav">
1414
<li class='nav-item {% if page.id == "docs-home" %}active{% endif %}'>
1515
<a class="nav-link" href="{{ site.url }}/docs/v4">
1616
<i class="fas fa-box-open"></i> Docs

_sass/pkdoc.scss

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,15 @@ table {
152152
//margin-top: 5px;
153153
margin-left: -1px rem;
154154
margin-right: -1px rem;
155+
transition:none;
156+
&.show {
157+
position: absolute;
158+
text-align: left;
159+
top: 50px;
160+
margin: 0px;
161+
left: 0px;
162+
right: 0px;
163+
}
155164
}
156165

157166
.navbar-expand-lg .navbar-nav .nav-link:first-child {
@@ -249,6 +258,16 @@ table {
249258
color:#ccc;
250259
}
251260

261+
.navbar-nav {
262+
padding-left:150px;
263+
}
264+
265+
@media (max-width: $lg) {
266+
.navbar-nav {
267+
padding:15px;
268+
}
269+
}
270+
252271
@media (min-width: $sm + 1) and (max-width: $md) {
253272
padding-top:0;
254273
padding-bottom:0;

0 commit comments

Comments
 (0)