Skip to content

Commit 25405c8

Browse files
Bikram GoleBikram Gole
authored andcommitted
Move section rail to bottom and refine zen mascot
1 parent e2c693a commit 25405c8

2 files changed

Lines changed: 79 additions & 11 deletions

File tree

index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ <h1 id="hero-name" data-name="Bikram Gole">Bikram Gole</h1>
201201
<div class="zen-avatar" aria-hidden="true">
202202
<div class="zen-head">
203203
<span class="zen-bun"></span>
204+
<span class="zen-ear left"></span>
205+
<span class="zen-ear right"></span>
204206
<span class="zen-eye left"></span>
205207
<span class="zen-eye right"></span>
206208
<span class="zen-mouth"></span>

styles.css

Lines changed: 77 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -969,13 +969,21 @@ nav a.active {
969969

970970
.section-rail {
971971
position: fixed;
972-
top: 50%;
973-
right: max(0.6rem, env(safe-area-inset-right));
974-
transform: translateY(-50%);
975-
display: grid;
972+
left: 50%;
973+
bottom: max(0.7rem, env(safe-area-inset-bottom));
974+
transform: translateX(-50%);
975+
display: flex;
976976
gap: 0.38rem;
977977
z-index: 22;
978978
pointer-events: none;
979+
padding: 0.28rem 0.4rem;
980+
border-radius: 999px;
981+
background: rgba(6, 12, 26, 0.65);
982+
border: 1px solid rgba(109, 146, 219, 0.25);
983+
backdrop-filter: blur(8px);
984+
box-shadow: 0 8px 20px rgba(4, 10, 20, 0.28);
985+
max-width: min(92vw, 980px);
986+
overflow-x: auto;
979987
}
980988

981989
.section-rail a {
@@ -1007,7 +1015,7 @@ nav a.active {
10071015
color: var(--ink);
10081016
border-color: rgba(142, 196, 255, 0.62);
10091017
background: rgba(22, 36, 66, 0.9);
1010-
transform: translateX(-2px);
1018+
transform: translateY(-2px);
10111019
}
10121020

10131021
.section-rail a.active::before {
@@ -1083,6 +1091,31 @@ body[data-theme="liquidglass"] .section-rail a::before {
10831091
box-shadow: 0 0 12px rgba(164, 218, 255, 0.5);
10841092
}
10851093

1094+
body[data-theme="paper"] .section-rail {
1095+
background: rgba(241, 229, 201, 0.95);
1096+
border-color: rgba(110, 84, 56, 0.3);
1097+
}
1098+
1099+
body[data-theme="blackflag"] .section-rail {
1100+
background: rgba(10, 17, 32, 0.86);
1101+
border-color: rgba(201, 162, 75, 0.35);
1102+
}
1103+
1104+
body[data-theme="material3"] .section-rail {
1105+
background: rgba(22, 30, 44, 0.85);
1106+
border-color: rgba(186, 204, 235, 0.28);
1107+
}
1108+
1109+
body[data-theme="liquidglass"] .section-rail {
1110+
background: rgba(18, 26, 40, 0.8);
1111+
border-color: rgba(195, 210, 238, 0.22);
1112+
}
1113+
1114+
body[data-theme="zen"] .section-rail {
1115+
background: rgba(20, 14, 10, 0.86);
1116+
border-color: rgba(206, 173, 117, 0.3);
1117+
}
1118+
10861119
body[data-theme="liquidglass"] .section-rail a.active {
10871120
background: rgba(167, 209, 255, 0.2);
10881121
}
@@ -2644,13 +2677,29 @@ body.browser-vivaldi .penguin-glasses {
26442677
width: 74px;
26452678
height: 74px;
26462679
border-radius: 50%;
2647-
background: linear-gradient(160deg, #f2c081 0%, #e6a65f 70%, #cf8b4a 100%);
2680+
background:
2681+
radial-gradient(12px 10px at 18% 58%, rgba(255, 193, 167, 0.35), transparent 70%),
2682+
radial-gradient(12px 10px at 82% 58%, rgba(255, 193, 167, 0.35), transparent 70%),
2683+
linear-gradient(160deg, #f2c081 0%, #e6a65f 70%, #cf8b4a 100%);
26482684
box-shadow:
26492685
inset 0 2px 4px rgba(255, 236, 206, 0.6),
26502686
inset 0 -5px 10px rgba(121, 76, 37, 0.25),
26512687
0 6px 12px rgba(83, 54, 24, 0.24);
26522688
}
26532689

2690+
.zen-head::before {
2691+
content: "";
2692+
position: absolute;
2693+
left: 12px;
2694+
top: 10px;
2695+
width: 28px;
2696+
height: 18px;
2697+
border-radius: 999px;
2698+
background: rgba(255, 235, 208, 0.45);
2699+
filter: blur(0.4px);
2700+
opacity: 0.8;
2701+
}
2702+
26542703
.zen-head::after {
26552704
content: "";
26562705
position: absolute;
@@ -2674,6 +2723,19 @@ body.browser-vivaldi .penguin-glasses {
26742723
box-shadow: inset 0 2px 3px rgba(255, 238, 207, 0.6);
26752724
}
26762725

2726+
.zen-ear {
2727+
position: absolute;
2728+
top: 28px;
2729+
width: 16px;
2730+
height: 20px;
2731+
border-radius: 999px;
2732+
background: linear-gradient(170deg, #f4c689 0%, #e1a35c 100%);
2733+
box-shadow: inset 0 2px 2px rgba(255, 236, 206, 0.5);
2734+
}
2735+
2736+
.zen-ear.left { left: -8px; }
2737+
.zen-ear.right { right: -8px; }
2738+
26772739
.zen-eye {
26782740
position: absolute;
26792741
top: 36px;
@@ -4185,10 +4247,12 @@ body.istj-mode .egg-btn {
41854247

41864248
.section-rail {
41874249
top: auto;
4188-
bottom: 0.9rem;
4189-
right: 0.6rem;
4190-
transform: none;
4250+
bottom: 0.7rem;
4251+
left: 50%;
4252+
right: auto;
4253+
transform: translateX(-50%);
41914254
gap: 0.32rem;
4255+
padding: 0.22rem 0.34rem;
41924256
}
41934257

41944258
.section-rail a {
@@ -4228,8 +4292,10 @@ body.istj-mode .egg-btn {
42284292
}
42294293

42304294
.section-rail {
4231-
right: 0.4rem;
4232-
bottom: 0.6rem;
4295+
left: 50%;
4296+
right: auto;
4297+
bottom: 0.55rem;
4298+
transform: translateX(-50%);
42334299
}
42344300

42354301
.section-rail a::before {

0 commit comments

Comments
 (0)