forked from shurrey/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom.css
More file actions
81 lines (68 loc) · 1.91 KB
/
custom.css
File metadata and controls
81 lines (68 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/* Custom gradient header styling for Box Developer Documentation */
/* Apply gradient to the navbar (includes logo, search bar, and navigation tabs) */
#navbar {
background: linear-gradient(to right, #25B8F4 0%, #B422E0 50%, #D2617D 100%) !important;
}
/* Ensure navbar container has white text but keeps gradient background */
#navbar {
color: white !important;
}
/* Ensure child elements in navbar are white with transparent backgrounds */
#navbar a,
#navbar button,
#navbar input,
#navbar span,
#navbar div {
color: white !important;
background: transparent !important;
}
/* Make all navbar elements transparent background */
#navbar * {
background: transparent !important;
}
/* Style links on hover */
#navbar a:hover {
color: white !important;
opacity: 0.9;
}
/* Style the search bar */
#navbar input[type="search"],
#navbar input[type="text"] {
color: white !important;
background-color: transparent !important;
border-color: rgba(255, 255, 255, 0.3) !important;
}
#navbar input::placeholder {
color: rgba(255, 255, 255, 0.7) !important;
}
/* Style the language picker */
#navbar select,
#navbar [class*="language"],
#navbar [class*="Language"] {
color: white !important;
background-color: transparent !important;
border-color: rgba(255, 255, 255, 0.3) !important;
}
/* Style the CTA button */
#topbar-cta-button {
color: white !important;
background-color: transparent !important;
border-color: rgba(255, 255, 255, 0.5) !important;
}
#topbar-cta-button:hover {
background-color: rgba(255, 255, 255, 0.1) !important;
}
/* Ensure SVG icons in navbar are white */
#navbar svg,
#navbar path {
fill: white !important;
stroke: white !important;
}
/* Override dark mode styles */
html[class*="dark"] #navbar {
background: linear-gradient(to right, #25B8F4 0%, #B422E0 50%, #D2617D 100%) !important;
}
html[class*="dark"] #navbar * {
color: white !important;
background: transparent !important;
}