Skip to content

Commit 19c4bd1

Browse files
author
Alexia Michelle
committed
style: update link hover color and increase opacity for dark mode image borders and hero glass elements.
1 parent 46fc4f5 commit 19c4bd1

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/css/custom.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ html[data-theme='dark'] {
6363
--glass-blur: blur(12px);
6464

6565
/* Override links in dark mode too */
66-
--ifm-link-hover-color: #ff33ff;
67-
/* Slightly brighter for dark mode */
66+
--ifm-link-hover-color: #ff00ff;
67+
/* Pure GoldenDog Fuchsia */
6868
}
6969

7070

@@ -117,8 +117,8 @@ article img,
117117

118118
html[data-theme='dark'] article img,
119119
html[data-theme='dark'] .markdown img {
120-
border: 1px solid rgba(255, 255, 255, 0.1);
121-
box-shadow: 0 0 20px rgba(255, 0, 255, 0.05), 0 10px 40px rgba(0, 0, 0, 0.4);
120+
border: 1px solid rgba(255, 255, 255, 0.5);
121+
box-shadow: 0 0 20px rgba(255, 0, 255, 0.1), 0 10px 40px rgba(0, 0, 0, 0.4);
122122
}
123123

124124
article img:hover,

src/pages/index.module.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
width: 100%;
8787
border-radius: 16px;
8888
box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 40px rgba(175, 115, 255, 0.15);
89-
border: 1px solid rgba(255, 255, 255, 0.1);
89+
border: 1px solid rgba(255, 255, 255, 0.4);
9090
margin-top: 3rem;
9191
position: relative;
9292
z-index: 2;
@@ -153,7 +153,7 @@
153153
top: 10%;
154154
left: 0;
155155
z-index: 1;
156-
border: 1px solid rgba(255, 255, 255, 0.15);
156+
border: 1px solid rgba(255, 255, 255, 0.4);
157157
transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
158158
}
159159

@@ -165,7 +165,7 @@
165165
bottom: 0%;
166166
right: 0;
167167
z-index: 2;
168-
border: 1px solid rgba(255, 255, 255, 0.2);
168+
border: 1px solid rgba(255, 255, 255, 0.5);
169169
transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
170170
}
171171

0 commit comments

Comments
 (0)