-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
101 lines (91 loc) · 1.86 KB
/
styles.css
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
93
94
95
96
97
98
99
100
101
:root {
--background: #4A4A4A;
--surface: #1c1c1e;
--text: #f5f5f7;
--text-secondary: #86868b;
--accent: #0a84ff;
--border: rgba(255, 255, 255, 0.1);
--shadow: 0 0 10px rgba(0, 0, 0, 0.2);
--link-hover: rgba(10, 132, 255, 0.1);
--accent-alpha: rgba(10, 132, 255, 0.15);
}
body {
margin: 0;
background: var(--background);
color: var(--text);
font-family: sans-serif;
height: 100vh;
width: 100vw;
overflow: hidden;
}
.search-container {
position: sticky;
top: 0;
padding: 8px;
background: var(--background);
border-bottom: 1px solid var(--border);
z-index: 10;
width: 100%;
box-sizing: border-box;
}
#search-input {
width: 100%;
box-sizing: border-box;
padding: 8px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface);
color: var(--text);
outline: none;
}
#search-input:focus {
border-color: var(--accent);
box-shadow: 0 0 0 2px var(--accent-alpha);
}
#links-container {
display: grid;
grid-template-columns: 70px 1fr 1fr 1fr;
row-gap: 8px;
column-gap: 6px;
padding: 8px;
background: var(--background);
width: 100%;
box-sizing: border-box;
flex: 1;
overflow-y: auto;
}
.category-header {
color: var(--text-secondary);
padding: 6px 2px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-transform: uppercase;
width: 70px;
}
.search-link {
display: block;
min-width: 0;
padding: 6px 2px;
background: var(--background);
border: 1px solid var(--background);
border-radius: 6px;
color: var(--text);
text-align: left;
text-decoration: none;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
transition: all 0.2s;
}
.search-link:hover {
color: var(--accent);
transform: translateY(-1px);
}
.search-link:active {
transform: translateY(0);
}
::placeholder {
color: var(--text-secondary);
opacity: 0.8;
}