|
1 | 1 | html, |
2 | 2 | body { |
3 | | - --header-bg: #0f0c19; |
4 | | - --accent: #4e3aa3; |
5 | | - --body-fg: #9b7dff; |
| 3 | + --header-bg: linear-gradient(90deg, #1a1331, #4e3aa3); |
| 4 | + --accent: #7041ff; |
| 5 | + --body-fg: #d1c4ff; |
| 6 | + --hover-bg: #4e3aa3; |
| 7 | + --hover-accent: #9b7dff; |
6 | 8 |
|
7 | 9 | margin: 0; |
8 | 10 | padding: 0; |
9 | 11 | background-color: #0f0c19; |
10 | 12 | color: var(--body-fg); |
11 | | - |
12 | 13 | font-family: "Roboto Regular", sans-serif; |
| 14 | + line-height: 1.6; |
13 | 15 | padding: 20px; |
14 | 16 | } |
15 | 17 |
|
16 | 18 | body * { |
17 | 19 | box-sizing: border-box; |
18 | | - line-height: 1.5em; |
19 | 20 | } |
20 | 21 |
|
21 | 22 | main > p { |
22 | 23 | font-family: "Ubuntu Mono Regular"; |
23 | 24 | } |
24 | 25 |
|
25 | 26 | a:hover { |
26 | | - opacity: 0.8; |
| 27 | + color: var(--hover-accent); |
| 28 | + background-color: var(--hover-bg); |
| 29 | + border-radius: 5px; |
| 30 | + padding: 0 5px; |
| 31 | + transition: 0.3s ease-in-out; |
27 | 32 | } |
28 | 33 |
|
29 | | -/* Scrollbar for Chrome users */ |
| 34 | +/* Scrollbar */ |
30 | 35 | ::-webkit-scrollbar { |
31 | | - width: 20px; |
32 | | -} |
33 | | - |
34 | | -::-webkit-scrollbar-button { |
35 | | - width: 0; |
36 | | - height: 0; |
| 36 | + width: 12px; |
37 | 37 | } |
38 | 38 |
|
39 | 39 | ::-webkit-scrollbar-track { |
40 | 40 | background: #0f0c19; |
41 | 41 | } |
42 | 42 |
|
43 | 43 | ::-webkit-scrollbar-thumb { |
44 | | - background: #9b7dff; |
45 | | - border: 6px solid #0f0c19; |
46 | | - border-radius: 10px; |
47 | | - transition: all 0.2s ease-in-out; |
| 44 | + background: var(--accent); |
| 45 | + border-radius: 6px; |
48 | 46 | } |
49 | 47 |
|
50 | 48 | ::-webkit-scrollbar-thumb:hover { |
51 | | - background: #7041ff; |
52 | | -} |
53 | | - |
54 | | -header { |
55 | | - display: flex; |
56 | | - justify-content: center; |
57 | | - align-items: center; |
58 | | - flex-direction: column; |
59 | | - background-color: var(--header-bg); |
60 | | - color: white; |
61 | | -} |
62 | | - |
63 | | -.domain img { |
64 | | - border-radius: 20px; |
65 | | - display: block; |
66 | | - transition: all 0.2s ease-in-out; |
67 | | - cursor: pointer; |
68 | | - outline: 1px solid transparent; |
69 | | -} |
70 | | - |
71 | | -.domain img:hover { |
72 | | - outline: 1px solid #9b7dff; |
73 | | -} |
74 | | - |
75 | | -.domain a { |
76 | | - border-radius: 20px; |
| 49 | + background: var(--hover-accent); |
77 | 50 | } |
78 | 51 |
|
79 | 52 | main { |
80 | | - padding: 1em; |
| 53 | + padding: 2em; |
81 | 54 | margin: 1em auto; |
82 | | - max-width: 1000px; |
83 | | -} |
84 | | - |
85 | | -main p { |
86 | | - padding-left: 10px; |
87 | | - border-left: 1px solid #9b7dff; |
88 | | - border-radius: 5px; |
89 | | -} |
90 | | - |
91 | | -main p img { |
| 55 | + max-width: 900px; |
| 56 | + background: rgba(255, 255, 255, 0.05); |
92 | 57 | border-radius: 10px; |
93 | | - margin-top: 7px; |
94 | | - margin-right: 10px; |
95 | | - transition: all 0.2s ease-in-out; |
96 | | - outline: 1px solid transparent; |
| 58 | + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); |
97 | 59 | } |
98 | 60 |
|
99 | | -main p img:hover { |
100 | | - opacity: 0.8; |
101 | | - outline: 1px solid white; |
| 61 | +/* Banner */ |
| 62 | +main .banner { |
| 63 | + font-size: 2.5rem; |
| 64 | + color: var(--body-fg); |
| 65 | + text-align: center; |
| 66 | + background: var(--header-bg); |
| 67 | + padding: 4px; |
| 68 | + border-radius: 4px; |
| 69 | + margin-bottom: 20px; |
| 70 | + box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); |
102 | 71 | } |
103 | 72 |
|
104 | | -main p img:last-child { |
105 | | - margin-right: 0; |
| 73 | +main .banner img { |
| 74 | + max-width: 100%; |
| 75 | + height: auto; |
| 76 | + display: block; |
| 77 | + margin: 0 auto; |
| 78 | + border-radius: 4px; |
106 | 79 | } |
107 | 80 |
|
108 | | -main span { |
109 | | - color: #ffffff; |
110 | | - background-color: #7041ff; |
111 | | - padding: 2px 5px; |
| 81 | +/* Paragraphs */ |
| 82 | +main p { |
| 83 | + padding-left: 15px; |
| 84 | + border-left: 3px solid var(--accent); |
112 | 85 | border-radius: 5px; |
113 | | - line-height: 1; |
| 86 | + margin-bottom: 1em; |
114 | 87 | } |
115 | 88 |
|
| 89 | +/* Headings */ |
116 | 90 | h1 { |
117 | | - font-size: 2em; |
118 | | - margin: 0; |
119 | | - border-bottom: 4px solid #9b7dff; |
| 91 | + font-size: 2.5rem; |
| 92 | + color: var(--body-fg); |
| 93 | + text-align: center; |
| 94 | + background: var(--header-bg); |
| 95 | + padding: 15px; |
120 | 96 | border-radius: 5px; |
121 | | - background-color: #9b7dff20; |
122 | | - padding: 20px; |
123 | | - padding-bottom: 17px; |
| 97 | + margin-bottom: 20px; |
| 98 | + box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); |
124 | 99 | } |
125 | 100 |
|
126 | | -h1 p { |
127 | | - border: none; |
128 | | - font-size: 12pt; |
129 | | - color: #bdb7cf; |
130 | | - padding: 0; |
131 | | - margin: 0; |
| 101 | +h2 { |
| 102 | + margin-top: 2rem; |
| 103 | + font-size: 1.5rem; |
| 104 | + color: var(--accent); |
| 105 | + border-bottom: 2px solid var(--accent); |
| 106 | + padding-bottom: 5px; |
132 | 107 | } |
133 | 108 |
|
| 109 | +/* Links */ |
134 | 110 | a { |
135 | | - color: #ddd2ff; |
| 111 | + color: var(--accent); |
136 | 112 | text-decoration: none; |
137 | | - transition: all 0.2s ease-in-out; |
| 113 | + transition: all 0.3s ease-in-out; |
138 | 114 | } |
139 | 115 |
|
140 | 116 | a:hover { |
141 | | - opacity: 0.8; |
| 117 | + text-decoration: underline; |
| 118 | + color: var(--accent); /* Ensures the color remains the same */ |
| 119 | + background-color: transparent; /* No background change */ |
142 | 120 | } |
143 | 121 |
|
144 | | -.socials { |
145 | | - display: block; |
146 | | - position: absolute; |
147 | | - top: 0; |
148 | | - right: 0; |
149 | | - margin: 10px; |
| 122 | +/* Carbon Ads */ |
| 123 | +#carbonads { |
| 124 | + padding-top: 20px; |
150 | 125 | } |
151 | 126 |
|
152 | | -.social { |
153 | | - padding: 10px; |
154 | | - font-size: 16pt; |
| 127 | +#carbonads .carbon-poweredby { |
| 128 | + color: #ffffff; |
155 | 129 | } |
0 commit comments