kagi-catppuccin-mocha.css
· 7.0 KiB · CSS
Bruto
:root {
--font-main: "Poppins", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
--font-lufga: "Poppins", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
.theme_dark, .theme_moon_dark, .theme_moon_dark_conditional {
--app-bg: #1E1E2E;
--page-text: #CDD6F4;
--app-text: #CDD6F4;
--primary: #CDD6F4;
--blue: #89b4fa;
--peach: #fab387;
--green: #a6e3a1;
--crust: #11111b;
--color_link: #F9E2AF;
--primary-hover: #BAC2DE;
/* mobile */
--m_sri_gap_color: #313244; /* Surface1 */
}
/* disable horizontal scrollbars */
body {
overflow-x: hidden;
}
::selection {
background-color: var(--color_link);
color: #313244; /* Surface1 */
}
.logo svg, .app-logo.--kagi {
stroke: var(--blue);
stroke-width: 2px;
}
.h-w #accountContainer .header_links, .search-form .search-form-icons svg {
color: var(--peach);
}
.mr-3 {
color: var(--green);
}
/* container-level */
.results-box {
margin-top: 10px;
}
/* update color borders for serp tabs */
.serp-nav .nav_item.--active:after, .serp-nav .nav_item:hover:after, ._0_lenses .k_ui_dropdown.--active .k_ui_dropdown_first_item span:after {
border-color: var(--primary);
}
/* button background color */
.btn.--lg, .btn.--primary, .search-form .searchFormSubmitBtn, .sfi_sep {
background-color: var(--blue);
}
#searchFormSubmit, .dropdown.dd_clean .dd-toggle-label, .c-p, ._0_summarize_link a {
color: var(--blue);
}
.footer .copyright, .serp_nav_start, .serp-nav .nav_item, .trigger svg {
color: var(--peach);
}
.px-4, .more_search_dropdown_box .k_ui_dropdown, .more_search_dropdown_box .k_ui_dropdown_data_list {
color: var(--peach);
}
.control-center-btn svg {
color: var(--peach);
}
.user-auth-bar, #bell_notification, .footer .footerInner ul li a, footer .footerInner ul li a {
color: var(--peach);
}
#bell_notification .notification_count {
background-color: var(--green);
}
.control-center-btn, .control-center-btn:hover {
color: var(--peach);
}
.quick-settings a, .app-content-box._0_content-bay a {
color: var(--peach);
}
/* disable links borders */
#layout-v2 a, .__sri-title .__sri_title_link, .__sri-title .__sri_title_link:hover, .wikipediaResult a:hover {
border-bottom: 0;
}
/* general input focus */
:focus-visible {
outline-color: var(--color_link);
}
/* result tweaks */
.__sri-title-box, .__sri-title, .__sri-url-box, .__sri-body {
padding-left: 0;
}
.__sri-title .__domain-favicon {
margin-left: -25px;
}
.__sri-preview {
left: 0;
}
.__sri-url-box {
margin-bottom: 4px;
}
.__sri-url {
font-size: 0.75rem;
}
.__sri-time {
background-color: transparent;
color: #6C7086; /* Subtext0 */
padding: 0;
}
.__sri-time::after {
content: "—";
display: inline-block;
padding: 0 4px;
}
.__sri-time.--new {
background: transparent;
color: var(--color_link);
}
.__sri-desc {
line-height: 1.57;
}
.newsResultItem .newsResultBody {
margin-top: 0;
}
.top_podcasts_box:empty {
display: none;
}
._0_app_theme_switch_box button.checked .theme_name, ._0_app_theme_switch_box button > input:checked + .theme_name {
background-color: var(--blue);
}
.freeScroller {
overflow-x: auto !important;
}
/* domain info popover */
#domainInfoModal .d-info-box-title-header {
background: transparent;
}
#domainInfoModal .d-info-domain-title {
text-shadow: none;
color: var(--color-primary);
}
#domainInfoModal .rakned-box-close {
color: var(--color-primary);
}
/* wolfram-alpha/"smart" things specific */
.widget_holder .wasb, .wasb, .wasb-ans {
font-family: var(--font-main);
}
.widget_holder .wasb {
border: 1px solid var(--color-primary-dim_3);
}
.suggestions_area {
border-bottom: 1px solid var(--color-primary-dim_3);
}
/* misc */
.wikipediaResult .wiki-title a:hover {
color: var(--color-primary_hover);
border-bottom: 0;
}
.wiki-desc-box {
font-size: 14px;
}
.k_ui_toggle_switch {
--active-bg-color: var(--color_link);
}
.footer .footerInner ul li, footer .footerInner ul li {
color: inherit;
}
.search-form .search-input-container {
border: 1px solid var(--blue);
}
.land_adv_search_btn {
color: var(--peach);
}
/* mobile specific */
@media screen and (max-width: 767px) {
/* header */
.m-h {
padding: 0;
}
.m-h .m-h-i {
height: auto;
}
.m-h .control-center-btn {
top: 32px;
z-index: 51;
}
.m-h .m-app-logo {
display: none;
}
/* search box */
.search-form {
height: auto;
}
.search_form_box {
width: 100%;
}
.search-form .search-input-container {
padding-inline: 0;
border: 0;
border: 1px solid var(--blue);
border-radius: 56px;
}
.search-form .search_area {
min-height: auto;
}
.search-form .search-input-box {
border-radius: 24px;
padding: 0 14px;
}
.s-f-w .search-form-container {
padding: 10px 46px 5px 10px;
}
.s-f-w.--active {
margin: 0;
}
.s-f-w.--active .search-input-container {
border: 0;
min-height: 64px;
}
.s-f-w.--active .search-form-container {
margin: 0;
padding: 0 10px;
height: 64px;
}
.s-f-w.--active .search-form {
padding-top: 0;
}
.s-f-w.--active .search-input-box {
margin-left: 4px;
padding-right: 0;
max-width: 100%;
}
.s-f-w.--active .search-form-icons {
margin-right: 0;
}
.s-f-w.--active .auto_suggestions {
top: 64px;
}
.s-f-w.--active .m-b-arrow {
position: relative;
width: auto;
height: auto;
left: 0;
}
#searchFormSubmit {
display: none;
}
.m-h .search-form-icons .clear-search {
margin-right: 4px;
}
.m-b-arrow {
width: 35px;
top: 0;
}
.search-form .auto_suggestions {
margin: 0;
border: 0;
}
.widgetContent {
margin-bottom: 0;
}
.landing-category-select .landing_cat_buttons > button.--active {
background-color: var(--green);
border: 1px solid var(--green);
color: var(--crust);
}
/* remove top/bottom border between results */
.search-result, .sri-group, .inline-content+.search-result, .inline-content+.sri-group {
border-top: 0;
border-bottom: 0;
}
/* tighten line-height */
.__sri-title .__sri_title_link {
line-height: 1.65rem;
}
/* hide inline image preview */
.__sri-body.--img .__sri-preview {
display: none;
}
.__sri-body.--img .__sri-desc:before {
display: none;
}
/* tighten up secondary results to match rhythm */
.sri-group .sr-group {
margin-top: 15px;
}
/* disable bottom-right distracting button on scroll up */
.quick-search-btn {
display: none;
}
/* fix video results spacing */
#newsHeader, .headerVideos {
margin-right: 0;
}
/* clean up page 2 results spacing */
._0_page-separator {
margin-bottom: 15px;
}
/* give the page 2 button more bottom room */
.main-footer {
padding-bottom: 40px;
}
/* light-specific */
.theme_light .search-form .search-form-icons {
/* background: linear-gradient(90deg, transparent 0%, rgb(255, 255, 255) 50%); */
}
}
1 | :root { |
2 | --font-main: "Poppins", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; |
3 | --font-lufga: "Poppins", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; |
4 | } |
5 | |
6 | .theme_dark, .theme_moon_dark, .theme_moon_dark_conditional { |
7 | --app-bg: #1E1E2E; |
8 | --page-text: #CDD6F4; |
9 | --app-text: #CDD6F4; |
10 | --primary: #CDD6F4; |
11 | --blue: #89b4fa; |
12 | --peach: #fab387; |
13 | --green: #a6e3a1; |
14 | --crust: #11111b; |
15 | --color_link: #F9E2AF; |
16 | --primary-hover: #BAC2DE; |
17 | |
18 | /* mobile */ |
19 | --m_sri_gap_color: #313244; /* Surface1 */ |
20 | } |
21 | |
22 | /* disable horizontal scrollbars */ |
23 | body { |
24 | overflow-x: hidden; |
25 | } |
26 | |
27 | ::selection { |
28 | background-color: var(--color_link); |
29 | color: #313244; /* Surface1 */ |
30 | } |
31 | |
32 | .logo svg, .app-logo.--kagi { |
33 | stroke: var(--blue); |
34 | stroke-width: 2px; |
35 | } |
36 | |
37 | .h-w #accountContainer .header_links, .search-form .search-form-icons svg { |
38 | color: var(--peach); |
39 | } |
40 | |
41 | .mr-3 { |
42 | color: var(--green); |
43 | } |
44 | |
45 | /* container-level */ |
46 | .results-box { |
47 | margin-top: 10px; |
48 | } |
49 | |
50 | /* update color borders for serp tabs */ |
51 | .serp-nav .nav_item.--active:after, .serp-nav .nav_item:hover:after, ._0_lenses .k_ui_dropdown.--active .k_ui_dropdown_first_item span:after { |
52 | border-color: var(--primary); |
53 | } |
54 | |
55 | /* button background color */ |
56 | .btn.--lg, .btn.--primary, .search-form .searchFormSubmitBtn, .sfi_sep { |
57 | background-color: var(--blue); |
58 | } |
59 | |
60 | #searchFormSubmit, .dropdown.dd_clean .dd-toggle-label, .c-p, ._0_summarize_link a { |
61 | color: var(--blue); |
62 | } |
63 | |
64 | .footer .copyright, .serp_nav_start, .serp-nav .nav_item, .trigger svg { |
65 | color: var(--peach); |
66 | } |
67 | |
68 | .px-4, .more_search_dropdown_box .k_ui_dropdown, .more_search_dropdown_box .k_ui_dropdown_data_list { |
69 | color: var(--peach); |
70 | } |
71 | |
72 | .control-center-btn svg { |
73 | color: var(--peach); |
74 | } |
75 | |
76 | .user-auth-bar, #bell_notification, .footer .footerInner ul li a, footer .footerInner ul li a { |
77 | color: var(--peach); |
78 | } |
79 | |
80 | #bell_notification .notification_count { |
81 | background-color: var(--green); |
82 | } |
83 | |
84 | .control-center-btn, .control-center-btn:hover { |
85 | color: var(--peach); |
86 | } |
87 | |
88 | .quick-settings a, .app-content-box._0_content-bay a { |
89 | color: var(--peach); |
90 | } |
91 | |
92 | /* disable links borders */ |
93 | #layout-v2 a, .__sri-title .__sri_title_link, .__sri-title .__sri_title_link:hover, .wikipediaResult a:hover { |
94 | border-bottom: 0; |
95 | } |
96 | |
97 | /* general input focus */ |
98 | :focus-visible { |
99 | outline-color: var(--color_link); |
100 | } |
101 | |
102 | /* result tweaks */ |
103 | .__sri-title-box, .__sri-title, .__sri-url-box, .__sri-body { |
104 | padding-left: 0; |
105 | } |
106 | |
107 | .__sri-title .__domain-favicon { |
108 | margin-left: -25px; |
109 | } |
110 | |
111 | .__sri-preview { |
112 | left: 0; |
113 | } |
114 | |
115 | .__sri-url-box { |
116 | margin-bottom: 4px; |
117 | } |
118 | |
119 | .__sri-url { |
120 | font-size: 0.75rem; |
121 | } |
122 | |
123 | .__sri-time { |
124 | background-color: transparent; |
125 | color: #6C7086; /* Subtext0 */ |
126 | padding: 0; |
127 | } |
128 | |
129 | .__sri-time::after { |
130 | content: "—"; |
131 | display: inline-block; |
132 | padding: 0 4px; |
133 | } |
134 | |
135 | .__sri-time.--new { |
136 | background: transparent; |
137 | color: var(--color_link); |
138 | } |
139 | |
140 | .__sri-desc { |
141 | line-height: 1.57; |
142 | } |
143 | |
144 | .newsResultItem .newsResultBody { |
145 | margin-top: 0; |
146 | } |
147 | |
148 | .top_podcasts_box:empty { |
149 | display: none; |
150 | } |
151 | |
152 | ._0_app_theme_switch_box button.checked .theme_name, ._0_app_theme_switch_box button > input:checked + .theme_name { |
153 | background-color: var(--blue); |
154 | } |
155 | |
156 | .freeScroller { |
157 | overflow-x: auto !important; |
158 | } |
159 | |
160 | /* domain info popover */ |
161 | #domainInfoModal .d-info-box-title-header { |
162 | background: transparent; |
163 | } |
164 | |
165 | #domainInfoModal .d-info-domain-title { |
166 | text-shadow: none; |
167 | color: var(--color-primary); |
168 | } |
169 | |
170 | #domainInfoModal .rakned-box-close { |
171 | color: var(--color-primary); |
172 | } |
173 | |
174 | /* wolfram-alpha/"smart" things specific */ |
175 | .widget_holder .wasb, .wasb, .wasb-ans { |
176 | font-family: var(--font-main); |
177 | } |
178 | |
179 | .widget_holder .wasb { |
180 | border: 1px solid var(--color-primary-dim_3); |
181 | } |
182 | |
183 | .suggestions_area { |
184 | border-bottom: 1px solid var(--color-primary-dim_3); |
185 | } |
186 | |
187 | /* misc */ |
188 | .wikipediaResult .wiki-title a:hover { |
189 | color: var(--color-primary_hover); |
190 | border-bottom: 0; |
191 | } |
192 | |
193 | .wiki-desc-box { |
194 | font-size: 14px; |
195 | } |
196 | |
197 | .k_ui_toggle_switch { |
198 | --active-bg-color: var(--color_link); |
199 | } |
200 | |
201 | .footer .footerInner ul li, footer .footerInner ul li { |
202 | color: inherit; |
203 | } |
204 | |
205 | .search-form .search-input-container { |
206 | border: 1px solid var(--blue); |
207 | } |
208 | |
209 | .land_adv_search_btn { |
210 | color: var(--peach); |
211 | } |
212 | |
213 | /* mobile specific */ |
214 | @media screen and (max-width: 767px) { |
215 | /* header */ |
216 | .m-h { |
217 | padding: 0; |
218 | } |
219 | |
220 | .m-h .m-h-i { |
221 | height: auto; |
222 | } |
223 | |
224 | .m-h .control-center-btn { |
225 | top: 32px; |
226 | z-index: 51; |
227 | } |
228 | |
229 | .m-h .m-app-logo { |
230 | display: none; |
231 | } |
232 | |
233 | /* search box */ |
234 | .search-form { |
235 | height: auto; |
236 | } |
237 | |
238 | .search_form_box { |
239 | width: 100%; |
240 | } |
241 | |
242 | .search-form .search-input-container { |
243 | padding-inline: 0; |
244 | border: 0; |
245 | border: 1px solid var(--blue); |
246 | border-radius: 56px; |
247 | } |
248 | |
249 | .search-form .search_area { |
250 | min-height: auto; |
251 | } |
252 | |
253 | .search-form .search-input-box { |
254 | border-radius: 24px; |
255 | padding: 0 14px; |
256 | } |
257 | |
258 | .s-f-w .search-form-container { |
259 | padding: 10px 46px 5px 10px; |
260 | } |
261 | |
262 | .s-f-w.--active { |
263 | margin: 0; |
264 | } |
265 | |
266 | .s-f-w.--active .search-input-container { |
267 | border: 0; |
268 | min-height: 64px; |
269 | } |
270 | |
271 | .s-f-w.--active .search-form-container { |
272 | margin: 0; |
273 | padding: 0 10px; |
274 | height: 64px; |
275 | } |
276 | |
277 | .s-f-w.--active .search-form { |
278 | padding-top: 0; |
279 | } |
280 | |
281 | .s-f-w.--active .search-input-box { |
282 | margin-left: 4px; |
283 | padding-right: 0; |
284 | max-width: 100%; |
285 | } |
286 | |
287 | .s-f-w.--active .search-form-icons { |
288 | margin-right: 0; |
289 | } |
290 | |
291 | .s-f-w.--active .auto_suggestions { |
292 | top: 64px; |
293 | } |
294 | |
295 | .s-f-w.--active .m-b-arrow { |
296 | position: relative; |
297 | width: auto; |
298 | height: auto; |
299 | left: 0; |
300 | } |
301 | |
302 | #searchFormSubmit { |
303 | display: none; |
304 | } |
305 | |
306 | .m-h .search-form-icons .clear-search { |
307 | margin-right: 4px; |
308 | } |
309 | |
310 | .m-b-arrow { |
311 | width: 35px; |
312 | top: 0; |
313 | } |
314 | |
315 | .search-form .auto_suggestions { |
316 | margin: 0; |
317 | border: 0; |
318 | } |
319 | |
320 | .widgetContent { |
321 | margin-bottom: 0; |
322 | } |
323 | |
324 | .landing-category-select .landing_cat_buttons > button.--active { |
325 | background-color: var(--green); |
326 | border: 1px solid var(--green); |
327 | color: var(--crust); |
328 | } |
329 | |
330 | /* remove top/bottom border between results */ |
331 | .search-result, .sri-group, .inline-content+.search-result, .inline-content+.sri-group { |
332 | border-top: 0; |
333 | border-bottom: 0; |
334 | } |
335 | |
336 | /* tighten line-height */ |
337 | .__sri-title .__sri_title_link { |
338 | line-height: 1.65rem; |
339 | } |
340 | |
341 | /* hide inline image preview */ |
342 | .__sri-body.--img .__sri-preview { |
343 | display: none; |
344 | } |
345 | |
346 | .__sri-body.--img .__sri-desc:before { |
347 | display: none; |
348 | } |
349 | |
350 | /* tighten up secondary results to match rhythm */ |
351 | .sri-group .sr-group { |
352 | margin-top: 15px; |
353 | } |
354 | |
355 | /* disable bottom-right distracting button on scroll up */ |
356 | .quick-search-btn { |
357 | display: none; |
358 | } |
359 | |
360 | /* fix video results spacing */ |
361 | #newsHeader, .headerVideos { |
362 | margin-right: 0; |
363 | } |
364 | |
365 | /* clean up page 2 results spacing */ |
366 | ._0_page-separator { |
367 | margin-bottom: 15px; |
368 | } |
369 | |
370 | /* give the page 2 button more bottom room */ |
371 | .main-footer { |
372 | padding-bottom: 40px; |
373 | } |
374 | |
375 | /* light-specific */ |
376 | .theme_light .search-form .search-form-icons { |
377 | /* background: linear-gradient(90deg, transparent 0%, rgb(255, 255, 255) 50%); */ |
378 | } |
379 | } |
380 |