blob: 835c61211d0af09f1c4cd7f59da21b316db47770 (
plain)
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
/*
* Copyright (C) 2024 dwlr <dweller@cabin.digital>
*
* BSD 3-Clause License (BSD-3-Clause)
* See LICENSE for details
*/
:root
{
--qshadow: var(--qborder);
--qshadowh: #BEC0C4;
}
#logo { font-size: 1rem; }
#logo > h1 { font-size: 1.5rem; }
#logo-let { font-size: 1.25em; }
#logo-me { font-size: 1em; }
#logo-man { font-size: 0.9em; }
#logo-that { font-size: 1em; }
#logo-for { font-size: 1.15em; }
#logo-you { font-size: 1em; }
#main
{
justify-content: flex-start;
align-items: flex-start;
}
#main > header
{
flex-grow: 0;
justify-content: flex-start;
align-items: baseline;
padding: 1.5rem 2% 1.5rem 5%;
padding-bottom: 0;
border-bottom: solid 1px var(--border);
}
#search_pane
{
max-width: 95%;
flex-grow: 0;
}
#query_wrap { max-height: 2.5em; }
#logo { margin-right: 1.5rem; }
#btn_man, #btn_mank
{
flex-shrink: 0;
height: 4em;
font-size: 13pt;
min-width: 25pt;
margin: 0;
border-radius: 0;
}
#btn_mank
{
background-color: var(--qbgh);
color: var(--fg-light);
border-color: transparent;
}
#btn_man:hover, #btn_mank:hover
{
text-decoration: underline;
box-shadow: none;
}
#query { margin-left: 15pt; }
#query_icon
{
display: inline-block;
background: no-repeat url("/imgs/search-wt.svg");
background-size: contain;
background-position: center;
height: 12pt;
width: 12pt;
margin: 3pt 0 0 0;
}
@keyframes logo-ver_scale
{
0%, 100% { transform: rotate(-10deg); }
50% { transform: rotate( 10deg); }
}
#topnav { margin-left: auto; }
#results
{
flex-grow: 1;
margin: 0 5%;
width: min(100% - 3rem, 90%);
}
#results > p
{
font-size: small;
margin-bottom: 1.5rem;
}
#results > dl { overflow-wrap: break-word; }
#results > dl > dt { font-size: large; }
#results > dl > dd
{
color: var(--fg-mid);
margin: 5pt 0 2rem 0;
font-size: 12pt;
}
@media (prefers-color-scheme: dark)
{
:root
{
--qshadow: transparent;
--qshadowh: #171717;
}
#query_wrap
{
background-color: var(--qbgh);
border: 1px solid var(--qborderh);
}
#query_wrap:hover { box-shadow: 0.5pt 0.75pt 0.5rem var(--qshadowh); }
#man { border-color: transparent; }
}
@media (max-width: 970px)
{
#topnav { display: none; }
}
@media (max-width: 800px)
{
#main > header
{
flex-direction: column;
justify-content: center;
align-items: center;
padding: 0;
margin: 0;
}
#query_wrap { width: min(42rem, 95dvw); }
#logo-ver_wrap { min-height: 15pt; }
}
|