-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
74 lines (68 loc) · 1.89 KB
/
styles.css
File metadata and controls
74 lines (68 loc) · 1.89 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
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 10px;
width: 300px;
background-color: #f9f9f9; /* Default light mode */
color: #333;
border-radius: 8px; /* Add light border radius to the popup */
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Optional: Add a subtle shadow for better visibility */
}
ul {
list-style-type: none;
padding: 0;
margin: 0;
}
li {
margin: 5px 0;
padding: 5px 10px;
background: rgba(0, 0, 0, 0.1); /* Transparent background */
border: 1px solid rgba(0, 0, 0, 0.2); /* Reduced border size for a subtler look */
border-radius: 5px; /* Rounded corners */
cursor: pointer;
display: block; /* Ensure items are displayed as a list */
text-align: left;
font-weight: bold;
color: inherit; /* Inherit text color */
font-size: 14px;
line-height: 1.5;
transition: background 0.3s, box-shadow 0.3s;
}
li:hover {
background: rgba(0, 0, 0, 0.15); /* Slightly darker on hover */
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
input {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ddd;
border-radius: 5px;
box-sizing: border-box;
font-size: 14px;
background-color: #f9f9f9; /* Default light mode background */
color: #333; /* Default light mode text color */
}
input:focus {
outline: none;
border-color: #0078d7;
box-shadow: 0 0 5px rgba(0, 120, 215, 0.5);
}
@media (prefers-color-scheme: dark) {
body {
background-color: #1e1e1e; /* Dark mode background */
color: #f9f9f9; /* Light text for dark mode */
}
li {
background: rgba(255, 255, 255, 0.1); /* Adjusted for dark mode */
border: 1px solid rgba(255, 255, 255, 0.2);
}
li:hover {
background: rgba(255, 255, 255, 0.2); /* Slightly lighter on hover */
box-shadow: 0 2px 5px rgba(255, 255, 255, 0.3);
}
input {
background-color: #1e1e1e; /* Dark mode background */
color: #f9f9f9; /* Dark mode text color */
}
}