Spaces:
Sleeping
Sleeping
Murali Chandran commited on
Commit ·
eb57eed
1
Parent(s): 8085133
sidebar color fix
Browse files- index.html +14 -3
index.html
CHANGED
|
@@ -36,14 +36,25 @@
|
|
| 36 |
|
| 37 |
#sidebar-tab {
|
| 38 |
position: absolute; left: -40px; top: 50%; transform: translateY(-50%);
|
| 39 |
-
width: 40px; height: 70px;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
border: none; border-radius: 8px 0 0 8px; cursor: pointer;
|
| 41 |
box-shadow: -5px 0 10px rgba(0,0,0,0.1); display: flex;
|
| 42 |
align-items: center; justify-content: center; font-size: 1.2rem;
|
| 43 |
border-left: 1px solid #334155; border-top: 1px solid #334155; border-bottom: 1px solid #334155;
|
| 44 |
-
padding: 0; transition:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
}
|
| 46 |
-
#sidebar-tab:hover { background: #334155; }
|
| 47 |
|
| 48 |
h2 { color: #38bdf8; }
|
| 49 |
.research-text { line-height: 1.8; font-size: 1.1rem; color: #cbd5e1; }
|
|
|
|
| 36 |
|
| 37 |
#sidebar-tab {
|
| 38 |
position: absolute; left: -40px; top: 50%; transform: translateY(-50%);
|
| 39 |
+
width: 40px; height: 70px;
|
| 40 |
+
/* Sidebar match */
|
| 41 |
+
background: #1e293b;
|
| 42 |
+
/* The blue color from your original design */
|
| 43 |
+
color: #38bdf8;
|
| 44 |
border: none; border-radius: 8px 0 0 8px; cursor: pointer;
|
| 45 |
box-shadow: -5px 0 10px rgba(0,0,0,0.1); display: flex;
|
| 46 |
align-items: center; justify-content: center; font-size: 1.2rem;
|
| 47 |
border-left: 1px solid #334155; border-top: 1px solid #334155; border-bottom: 1px solid #334155;
|
| 48 |
+
padding: 0; transition: all 0.2s ease;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
#sidebar-tab:hover {
|
| 52 |
+
background: #334155;
|
| 53 |
+
/* Brighter blue on hover */
|
| 54 |
+
color: #7dd3fc;
|
| 55 |
+
/* Subtle blue glow */
|
| 56 |
+
box-shadow: -2px 0 15px rgba(56, 189, 248, 0.3);
|
| 57 |
}
|
|
|
|
| 58 |
|
| 59 |
h2 { color: #38bdf8; }
|
| 60 |
.research-text { line-height: 1.8; font-size: 1.1rem; color: #cbd5e1; }
|