Skip to content

Commit e0875c0

Browse files
committed
updates
1 parent cd02bff commit e0875c0

File tree

1 file changed

+63
-3
lines changed

1 file changed

+63
-3
lines changed

_static/custom.css

Lines changed: 63 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,29 @@
33
--light-purple: #AB94F4;
44
--medium-purple: #644B9F;
55
--dark-purple: #361F77;
6+
7+
--drac-bg: #282A37;
8+
--drac-pink-rgb: 255, 121, 198;
9+
--drac-cyan-rgb: 132, 222, 240;
10+
--drac-purple-rgb: 189, 147, 249;
11+
--drac-green-rgb: 80, 250, 123;
12+
--drac-yellow-rgb: 241, 250, 140;
13+
--drac-red-rgb: 255, 85, 85;
14+
15+
--drac-rainbow-gradient: linear-gradient(
16+
90deg,
17+
rgba(var(--drac-pink-rgb), 0.8) 0%,
18+
rgba(var(--drac-purple-rgb), 0.8) 10%,
19+
rgba(var(--drac-cyan-rgb), 0.8) 20%,
20+
rgba(var(--drac-green-rgb), 0.8) 30%,
21+
rgba(var(--drac-yellow-rgb), 0.8) 40%,
22+
rgba(var(--drac-pink-rgb), 0.8) 50%,
23+
rgba(var(--drac-purple-rgb), 0.8) 60%,
24+
rgba(var(--drac-cyan-rgb), 0.8) 70%,
25+
rgba(var(--drac-green-rgb), 0.8) 80%,
26+
rgba(var(--drac-yellow-rgb), 0.8) 90%,
27+
rgba(var(--drac-pink-rgb), 0.8) 100%
28+
);
629
}
730

831
/* Link styling: neon green accents */
@@ -18,10 +41,47 @@ img {
1841
margin-right: auto; /* Automatically adjusts right margin */
1942
}
2043

21-
/* Headings: Use bronze color for better visibility */
22-
h1, h2, h3, h4, h5, h6, .headerlink {
23-
color: var(--medium-purple) !important;
44+
h1, h2, h3, h4, h5, h6 {
45+
text-align: center;
46+
position: relative;
47+
padding-bottom: 0.3em;
48+
}
49+
50+
h1::after, h2::after, h3::after, h4::after, h5::after, h6::after {
51+
content: "";
52+
position: absolute;
53+
left: 50%;
54+
transform: translateX(-50%);
55+
width: 60%;
56+
height: 4px;
57+
border-radius: 10px;
58+
background: var(--drac-rainbow-gradient);
59+
bottom: 0;
60+
}
61+
62+
h1 { color: rgb(var(--drac-pink-rgb)); font-size: 2.25em; font-weight: 600; }
63+
h2 { color: rgb(var(--drac-purple-rgb)); font-size: 2em; font-weight: 600; }
64+
h3 { color: rgb(var(--drac-cyan-rgb)); font-size: 1.75em; font-weight: 600; }
65+
h4 { color: rgb(var(--drac-green-rgb)); font-size: 1.5em; font-weight: 500; }
66+
h5 { color: rgb(var(--drac-yellow-rgb)); font-size: 1.25em; font-weight: 500; }
67+
h6 { color: rgb(var(--drac-pink-rgb)); font-size: 1em; font-weight: 400; }
68+
69+
/* Optional: Horizontal rule rainbow bar with emoji */
70+
hr::after {
71+
content: "🌈";
72+
display: block;
2473
text-align: center;
74+
margin-top: -1.5em;
75+
font-size: 1.2em;
76+
}
77+
hr {
78+
border: none;
79+
height: 4px;
80+
border-radius: 4px;
81+
background: var(--drac-rainbow-gradient);
82+
position: relative;
83+
margin: 3em auto;
84+
width: 80%;
2585
}
2686

2787
/* Set the topic title to bronze, even inside nav.contents */

0 commit comments

Comments
 (0)