Skip to content

Commit 11ecaee

Browse files
committed
PATCH header visual
1 parent a012b11 commit 11ecaee

2 files changed

Lines changed: 7 additions & 14 deletions

File tree

static/css/style.css

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,13 @@
9898
Navigation
9999
===================== */
100100
#mainNav {
101-
background-color: transparent;
102-
box-shadow: var(--shadow-md);
103101
transition: background-color 0.3s ease;
104-
padding-top: 0 !important;
105-
padding-bottom: 0 !important;
102+
background-color: rgba(0, 0, 0, 0.8);
103+
box-shadow: var(--shadow-md);
106104
}
107105

108106
#mainNav.scrolled {
109-
background-color: var(--dark) !important;
107+
background-color: var(--dark);
110108
}
111109

112110
#mainNav .navbar-brand {
@@ -117,13 +115,9 @@
117115
#mainNav .navbar-brand i {
118116
font-size: 1.5rem;
119117
}
120-
121-
#mainNav .nav-item {
122-
margin: 0 0.25rem;
123-
}
124118

125119
#mainNav .nav-link {
126-
padding: 0.5rem 0.25rem 0.5rem 0.25rem;
120+
padding: 0.5rem 1rem;
127121
position: relative;
128122
}
129123

@@ -282,7 +276,7 @@
282276
Hero Section
283277
===================== */
284278
.hero-container {
285-
height: 150vh;
279+
height: 100vh;
286280
min-height: 500px;
287281
background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
288282
position: relative;
@@ -535,7 +529,6 @@
535529
@media (max-width: 991.98px) {
536530
#mainNav .navbar-nav {
537531
padding: 1rem 0;
538-
margin-bottom: 0 !important;
539532
}
540533

541534
#mainNav .nav-link::after {
@@ -626,7 +619,7 @@
626619
align-items: center;
627620
justify-content: center;
628621
}
629-
622+
630623
.loading-glossary::before {
631624
content: "Loading glossary...";
632625
position: fixed;

templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
<body>
103103
<!-- Header & Navigation -->
104104
<header>
105-
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top" id="mainNav">
105+
<nav class="navbar navbar-expand-lg navbar-dark fixed-top" id="mainNav">
106106
<div class="container">
107107
<a class="navbar-brand d-flex align-items-center" href="{{ url_for('index') }}">
108108
<i class="fas fa-atom me-2"></i>

0 commit comments

Comments
 (0)