Skip to content

Commit 56f5b0e

Browse files
committed
Updated UI 1.8
Signed-off-by: Someshdiwan <[email protected]>
1 parent bb7aa53 commit 56f5b0e

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

site/_includes/nav.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<nav>
22
<ul>
3-
<li><a href="{{ site.baseurl }}/">Home</a></li>
4-
<li><a href="{{ site.baseurl }}/content">All Contents</a></li>
5-
<li><a href="https://github.com/Someshdiwan/JavaEvolution-Learning-Growing-Mastering">GitHub Repo</a></li>
3+
<li><a href="{{ site.baseurl }}/">Home 🏠</a></li>
4+
<li><a href="{{ site.baseurl }}/content">All Contents 📚</a></li>
5+
<li><a href="https://github.com/Someshdiwan/JavaEvolution-Learning-Growing-Mastering">GitHub Repo 🐙</a></li>
66
</ul>
77
</nav>

site/assets/style.css

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* 1. Color Variables & Dark-Mode Overrides */
1+
/* 1. Color Variables & DarkMode Overrides */
22
:root {
33
--bg-color: #ffffff;
44
--text-color: #000000;
@@ -104,7 +104,7 @@ body {
104104
background-color: var(--hover-bg);
105105
}
106106

107-
/* 5. Fade-In Animation */
107+
/* 5. FadeIn Animation */
108108
.fade-in {
109109
animation: fadeIn 0.4s ease-in;
110110
}
@@ -175,7 +175,7 @@ body {
175175
box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
176176
}
177177

178-
/* 8. Dark-Mode Toggle & Live-Time Container */
178+
/* 8. DarkMode Toggle & LiveTime Container */
179179
#theme-time-container {
180180
position: fixed;
181181
top: 1rem;
@@ -193,13 +193,11 @@ body {
193193
transition: background-color 0.3s, color 0.3s;
194194
}
195195

196-
/* Alignment Fix: Dark Mode Button on Left, Time Elements on Right */
197196
#theme-time-container .dark-toggle {
198-
position: static; /* Remove fixed positioning to follow flex layout */
199-
margin-right: auto; /* Push the dark mode button to the left */
197+
position: static;
198+
margin-right: auto;
200199
}
201200

202-
/* Optional: Consistent Button Styling in Container */
203201
#theme-time-container button {
204202
background: var(--button-bg);
205203
color: var(--button-text);
@@ -214,7 +212,6 @@ body {
214212
background-color: var(--hover-bg);
215213
}
216214

217-
/* Optional: Style the Time Display */
218215
#live-time {
219-
padding: 0.5rem; /* Matches button padding for consistency */
220-
}
216+
padding: 0.5rem;
217+
}

0 commit comments

Comments
 (0)