-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathstyle.css
More file actions
92 lines (78 loc) · 3.15 KB
/
style.css
File metadata and controls
92 lines (78 loc) · 3.15 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
82
83
84
85
86
87
88
89
90
91
92
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");
#topbar-links {
background-color: var(--background-white);
}
/* Add styles specifically for the Sign In link */
a[href*="auth/sign-in"].whitespace-nowrap.font-medium {
background-color: black;
color: white !important;
padding: 0.5rem 1rem;
border-radius: 4px;
transition: background-color 0.2s ease;
}
a[href*="auth/sign-in"].whitespace-nowrap.font-medium:hover {
background-color: #333;
color: white !important;
}
/* Dark mode styles */
.dark a[href*="auth/sign-in"].whitespace-nowrap.font-medium {
background-color: white;
color: black !important;
}
.dark a[href*="auth/sign-in"].whitespace-nowrap.font-medium:hover {
background-color: #f3f3f3;
color: black !important;
}
code {
font-family: "IBM Plex Mono";
}
.callout[data-callout-type="note"] {
border-color: rgb(249 115 22 / 0.2) !important;
/* orange-500 at 20% opacity */
background-color: rgb(255 247 237 / 0.5) !important;
/* orange-50 at 50% opacity */
}
.dark .callout[data-callout-type="note"] {
border-color: rgb(249 115 22 / 0.3) !important;
/* orange-500 at 30% opacity */
background-color: rgb(249 115 22 / 0.1) !important;
/* orange-500 at 10% opacity */
}
/* Note callout text & icon colors - light mode */
.callout[data-callout-type="note"],
.callout[data-callout-type="note"] *:not(a) {
color: rgb(124 45 18) !important;
}
/* Note callout text & icon colors - dark mode */
.dark .callout[data-callout-type="note"],
.dark .callout[data-callout-type="note"] *:not(a) {
color: rgb(255, 183, 102) !important;
}
/* Version switcher styles - subtle highlight */
#sidebar ul:last-child:not(.sidebar-group) li button,
#sidebar ul:last-child:not(.sidebar-group) li select {
background-color: rgba(255, 136, 0, 0.1) !important; /* 10% orange tint */
color: #ff8800 !important; /* Orange text */
border: 1px solid rgba(255, 136, 0, 0.3) !important; /* 30% orange border */
border-radius: 6px !important;
padding: 0.5rem 1rem !important;
font-weight: 500 !important;
transition: all 0.2s ease !important;
}
#sidebar ul:last-child:not(.sidebar-group) li button:hover,
#sidebar ul:last-child:not(.sidebar-group) li select:hover {
background-color: rgba(255, 136, 0, 0.15) !important; /* Slightly darker on hover */
border-color: rgba(255, 136, 0, 0.5) !important;
}
/* Dark mode version switcher */
.dark #sidebar ul:last-child:not(.sidebar-group) li button,
.dark #sidebar ul:last-child:not(.sidebar-group) li select {
background-color: rgba(255, 136, 0, 0.15) !important; /* Slightly more visible in dark */
color: #ffaa44 !important; /* Lighter orange for contrast */
border-color: rgba(255, 136, 0, 0.4) !important;
}
.dark #sidebar ul:last-child:not(.sidebar-group) li button:hover,
.dark #sidebar ul:last-child:not(.sidebar-group) li select:hover {
background-color: rgba(255, 136, 0, 0.25) !important;
border-color: rgba(255, 136, 0, 0.6) !important;
}