-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.css
187 lines (169 loc) · 3.38 KB
/
index.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
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
@import url("https://fonts.googleapis.com/css?family=Trirong");
body{
margin: 0 !important;
}
main{
display: flex;
}
.loader{
position: fixed;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
z-index: 9999;
display: flex;
align-items:center;
justify-content: center;
background-color: white;
}
.dots-6 {
width:30px;
height:27.6px;
--c:radial-gradient(farthest-side,currentColor 90%,#0000);
background:
var(--c) 50% 0,
var(--c) 0 100%,
var(--c) 100% 100%;
background-size: 12px 12px;
background-repeat: no-repeat;
position: relative;
animation: d6 1s infinite;
}
@keyframes d6{
50%,100% {background-position: 100% 100%,50% 0,0 100%}
}
.sload{
width:100%;
align-items: center;
min-height:20px;
justify-content: center;
left:0px;
right:0px;
display:flex;
}
.dots-9 {
width:12px;
height:12px;
border-radius: 50%;
clip-path: inset(-45px);
box-shadow: -60px 15px,-60px 15px,-60px 15px;
transform: translateY(-15px);
animation: d9 1s infinite linear;
}
@keyframes d9{
16.67% {box-shadow:-60px 15px,-60px 15px,19px 15px}
33.33% {box-shadow:-60px 15px, 0px 15px,19px 15px}
40%,60%{box-shadow:-19px 15px, 0px 15px,19px 15px}
66.67% {box-shadow:-19px 15px, 0px 15px,60px 15px}
83.33% {box-shadow:-19px 15px, 60px 15px,60px 15px}
100% {box-shadow: 60px 15px, 60px 15px,60px 15px}
}
.topnav {
overflow: hidden;
background-color: white;
border-style: outset;
}
.topnav a {
float: left;
display: block;
color: black;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 30px;
width:100%;
height:100%;
font-weight: 700;
font-family: "Sofia", sans-serif;
}
.topnav a:hover {
background-color: #ddd;
color: black;
}
.topnav a.active {
background-color: white;
color: black;
}
.topnav .search-container {
}
.topnav input[type=text] {
padding: 6px;
margin-top: 8px;
font-size: 25px;
border: border: 1px solid #ccc;;
width:100%;
height:100%;
}
.topnav .search-container button {
float: right;
padding: 6px 10px;
margin-top: 8px;
margin-right: 16px;
background: white;
font-size: 17px;
border: none;
cursor: pointer !important;
}
.topnav .search-container button:hover {
background: #ccc;
}
#tophead h2{
margin:10px;
text-align: center;
}
.random, .result {
margin: 10px;
display:grid;
gap:1rem;
}
.result div,.random div{
word-wrap: break-word;
overflow:hidden;
text-overflow:ellipsis
white-space: nowrap;
box-sizing: border-box;
background: white;
cursor:pointer;
border-radius: 4px;
box-shadow:rgb(0 0 0 / 0.08) 0px 0px 35px 0px;
text-align: center;
}
.result a,.random a{
text-decoration: none;
color:black;
}
.column1, .column2{
float:left
}
.column1{
position:absolute;
width:0%;
height:100%;
}
.column2{
width:100vw;
}
@media screen and (max-width: 600px) {
.topnav .search-container {
float: none;
}
.topnav a, .topnav .search-container button {
float: none;
display: block;
text-align: center;
width: 100%;
margin: 0;
padding: 14px;
}
.topnav input[type=text] {
border: 1px solid #ccc;
font-size: 20px;
float: none;
display: block;
text-align: left;
width: 100%;
margin: 0;
padding: 14px;
}
}