Skip to content

assets/css/misc.css: slightly redesigned navigation bar #212

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<script src="/assets/js/tabbar.js"></script>
</head>
<body role="document">
<nav class="navbar navbar-default navbar-inverse navbar-sticky" role="navigation">
<nav class="navbar navbar-sticky" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#void-collapsed-navbar">
Expand All @@ -41,7 +41,7 @@
<span class="icon-bar"></span>
</button>
</div>
<div class="collapse navbar-right navbar-collapse" id="void-collapsed-navbar">
<div class="collapse navbar-collapse" id="void-collapsed-navbar">
<ul class="nav navbar-nav">
<li><a href="/">Home</a></li>
<li><a href="/news/">News</a></li>
Expand Down
29 changes: 18 additions & 11 deletions assets/css/misc.css
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,25 @@ img, .video {
padding-right: 8em;
}
.navbar {
background-color:#478061;
border:0;
z-index: 1;
border: 0;
border-bottom: 1px grey dotted;
z-index: 1;
background-color: inherit;
}
.nav li:hover {
background-color: black;
#void-collapsed-navbar {
display: flex !important;
justify-content: center;
}
.nav li a {
color: inherit;
}
.nav li a:hover {
box-shadow: inset 0 -2px 0 0 #295340;
background-color: transparent;
}
.nav li a:focus {
background-color: transparent;
color: inherit;
}
h1[id], h2[id], h3[id], h4[id], h5[id], h6[id] {
padding-top:50px;
Expand Down Expand Up @@ -324,9 +337,6 @@ h1[id], h2[id], h3[id], h4[id], h5[id], h6[id] {
select::-ms-expand {
display:none;
}
.nav li:hover {
background-color: #222;
}
.inline-download-links .label-default, .inline-download-links .label-warning {
background-color: inherit;
}
Expand All @@ -338,9 +348,6 @@ h1[id], h2[id], h3[id], h4[id], h5[id], h6[id] {
border: 1px solid;
color: #ffd804;
}
.navbar {
background-color: #295340;
}
#davoid .fg.standard-mode {
content: url(/assets/img/void_fg_dark.png);
}
Expand Down