Skip to content

Commit 7b1eaa9

Browse files
authored
Update orbit.html
1 parent ca8c531 commit 7b1eaa9

1 file changed

Lines changed: 16 additions & 12 deletions

File tree

‎orbit.html‎

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,20 @@
1111

1212
/* IDENTYCZNY NAVBAR */
1313
.navbar { position: sticky; top: 0; z-index: 100; background: var(--bg-nav); backdrop-filter: blur(15px); border-bottom: 1px solid var(--border-color); padding: 15px 40px; display: flex; align-items: center; justify-content: space-between; }
14-
.nav-left { display: flex; align-items: center; gap: 30px; }
14+
.nav-left { flex: 1; display: flex; justify-content: flex-start; }
1515
.nav-brand { font-size: 1.5rem; font-weight: 800; text-decoration: none; color: var(--text-main); letter-spacing: -0.5px; }
16+
.nav-center { flex: 2; display: flex; justify-content: center; gap: 30px; }
17+
.nav-center a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 0.95rem; transition: color 0.3s; }
18+
.nav-center a:hover, .nav-center a.active { color: var(--accent-purple); }
19+
.nav-right { flex: 1; display: flex; justify-content: flex-end; }
20+
1621
.dropdown { position: relative; display: inline-block; padding: 10px 0; }
1722
.dropbtn { color: var(--text-main); font-weight: 700; font-size: 0.95rem; cursor: pointer; background: rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 8px; border: 1px solid var(--border-color); transition: 0.3s; }
1823
.dropdown:hover .dropbtn { background: rgba(255,255,255,0.2); }
19-
.dropdown-content { display: none; position: absolute; left: 0; top: 100%; background-color: #111; min-width: 180px; box-shadow: 0 10px 40px rgba(0,0,0,0.8); border-radius: 12px; border: 1px solid var(--border-color); overflow: hidden; z-index: 1; opacity: 0; transform: translateY(-10px); transition: all 0.3s ease; }
24+
.dropdown-content { display: none; position: absolute; right: 0; top: 100%; background-color: #111; min-width: 180px; box-shadow: 0 10px 40px rgba(0,0,0,0.8); border-radius: 12px; border: 1px solid var(--border-color); overflow: hidden; z-index: 1; opacity: 0; transform: translateY(-10px); transition: all 0.3s ease; }
2025
.dropdown:hover .dropdown-content { display: block; opacity: 1; transform: translateY(0); }
2126
.dropdown-content a { color: var(--text-main) !important; padding: 12px 20px; text-decoration: none; display: flex; justify-content: space-between; font-size: 0.9rem; font-weight: 600; border-bottom: 1px solid var(--border-color); transition: background 0.2s; }
2227
.dropdown-content a:hover { background: rgba(255,255,255,0.1); padding-left: 25px; }
23-
.nav-right { display: flex; align-items: center; gap: 25px; }
24-
.nav-right a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 0.95rem; transition: color 0.3s; }
25-
.nav-right a:hover, .nav-right a.active { color: var(--accent-purple); }
2628

2729
.container { max-width: 900px; margin: 60px auto; padding: 0 20px; }
2830
.hero { text-align: center; margin-bottom: 50px; }
@@ -33,13 +35,21 @@
3335
.btn-github { display: inline-block; background: var(--accent-purple); color: white; text-decoration: none; padding: 15px 30px; border-radius: 12px; font-weight: 700; margin-top: 15px; transition: 0.3s; box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4); text-align: center; font-size: 1.1rem; }
3436
.btn-github:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6); }
3537

36-
@media (max-width: 768px) { .navbar { flex-direction: column; gap: 15px; } .nav-left, .nav-right { justify-content: center; width: 100%; flex-wrap: wrap; } }
38+
@media (max-width: 768px) { .navbar { flex-direction: column; gap: 15px; } .nav-left, .nav-center, .nav-right { justify-content: center; width: 100%; flex-wrap: wrap; } }
3739
</style>
3840
</head>
3941
<body>
4042
<nav class="navbar">
4143
<div class="nav-left">
4244
<a href="/" class="nav-brand">DevLabStudy</a>
45+
</div>
46+
<div class="nav-center">
47+
<a href="/">Hub</a>
48+
<a href="/blog">Blog</a>
49+
<a href="/homelab">HomeLab</a>
50+
<a href="/orbit" class="active">Orbit™</a>
51+
</div>
52+
<div class="nav-right">
4353
<div class="dropdown">
4454
<span class="dropbtn">Community ▾</span>
4555
<div class="dropdown-content">
@@ -51,12 +61,6 @@
5161
</div>
5262
</div>
5363
</div>
54-
<div class="nav-right">
55-
<a href="/">Hub</a>
56-
<a href="/blog">Blog</a>
57-
<a href="/homelab">HomeLab</a>
58-
<a href="/orbit" class="active">Orbit™</a>
59-
</div>
6064
</nav>
6165

6266
<main class="container">

0 commit comments

Comments
 (0)