update mirrors
[uweb.git] / en / searchurl / bingAI / css / bing.css~
blob8fce3247a9f77c4a955d9365dc77e082c8957dc9
1 /* 头部分 */
3 #head {
4     position: fixed;
5     top: 0;
6     left: 0;
7     width: 100%;
8     height: 4rem;
9     display: flex;
10     align-items: center;
11     justify-content: space-between;
12     backdrop-filter: blur(10px);
13     background-color: #ffffff78;
14     z-index: 99;
17 #head-img-div {
18     height: 100%;
19     display: flex;
20     justify-content: flex-start;
21     align-items: center;
24 #head-img-div>img {
25     height: 100%;
28 #head-img-div-h2-img>* {
29     margin: 0;
32 #head-li-div {
33     margin-right: 2rem;
37 /* 背景*/
39 #background {
40     position: fixed;
41     top: 0;
42     left: 0;
43     width: 100%;
44     height: 100%;
45     z-index: -1;
46     background: repeating-linear-gradient(359deg, rgb(182 196 255) 0%, rgb(207 225 255 / 78%) 100%);
47     transition: filter 1s;
50 #background.a {
51     filter: hue-rotate(10deg);
54 #background.b {
55     filter: hue-rotate(-5deg);
58 #background.c {
59     filter: hue-rotate(-20deg);
63 /* 尾部分 */
65 #tail {
66     position: fixed;
67     left: 0;
68     bottom: 0;
69     width: 100%;
70     height: 7rem;
71     display: flex;
72     justify-content: center;
73     backdrop-filter: blur(10px);
74     background-color: #ffffff78;
75     flex-direction: column-reverse;
76     align-items: center;
77     z-index: 99;
80 #SearchSuggestions {
81     position: fixed;
82     top: -3rem;
83     display: flex;
84     flex-wrap: nowrap;
85     flex-direction: row;
86     justify-content: center;
87     align-items: center;
88     width: 100%;
89     transition: opacity 0.2s
92 #SearchSuggestions>a {
93     backdrop-filter: blur(10px);
94     background-color: #ffffff82;
95     border-radius: 2rem;
96     padding: 0.5rem;
97     font-size: 0.9rem;
98     margin: 0.2rem;
99     white-space: nowrap;
100     text-overflow: ellipsis;
101     overflow: hidden;
102     transition: flex 0.5s;
105 #SearchSuggestions>a:hover {
106     cursor: pointer;
107     background-color: #ffffff;
108     flex: none;
111 #tail-in {
112     display: flex;
113     width: 80%;
114     align-items: center;
115     justify-content: center;
116     height: 80%;
120 #restart:hover ,
121 #restartNewChat:hover 
123     background-color: #ffffff;
124     cursor: pointer;
127 #restart ,
128 #restartNewChat
130     border: 0;
131     border-radius: 1.5rem;
132     background-color: #ffffff9e;
133     height: 100%;
134     font-size: 0.8rem;
135     transition: all 0.5s;
136     overflow: hidden;
137     white-space: normal;
140 #restart {
141     width: 0;
142     margin: 0;
143     padding: 0;
144     opacity: 0;
147 body:has(.my) #restart {
148     width: 5rem;
149     margin-right: 0.5rem;
150     padding: 0;
151     opacity: 1;
154 #restartNewChat{
155     width: 5rem;
156     margin-right: 0.5rem;
159 #restartNewChat.onShow{
160     width: 0;
161     margin: 0;
162     padding: 0;
163     opacity: 0;
166 #send {
167     border: 0;
168     margin: 0 1rem 1rem 0;
169     border-radius: 2rem;
170     background-color: #005fff38;
171     height: 1.8rem;
172     font-size: 0.8rem;
173     cursor: pointer;
174     min-width: 3rem;
175     transition: all 0.5s;
178 #send:hover {
179     background-color: #005fff80;
182 #input {
183     border: none;
184     resize: none;
185     outline: none;
186     width: 100%;
187     background-color: #ffffff00;
188     margin: 1rem 0 1rem 1rem;
189     height: -webkit-fill-available;
192 #input:focus-visible {
193     border: 0;
196 #input-div {
197     border-radius: 1.5rem;
198     flex: 1;
199     height: 100%;
200     background-color: #ffffff;
201     margin: 0 0;
202     display: flex;
203     flex-direction: row;
204     align-items: flex-end;
205     transition: all 0.5s;
209 /* 页面部分 */
210 body {
211     overflow-x: hidden;
214 #body-top {
215     height: 20vh;
216     width: 100%;
219 #body-bottom {
220     height: 15rem;
221     width: 100%;
225 /* 聊天选项部分 */
227 #chatTypeDiv {
228     display: flex;
229     flex-direction: row;
230     justify-content: center;
231     align-items: center;
232     flex-wrap: nowrap;
233     margin-bottom: 7rem;
234     transition: all 0.5s;
237 #chatTypeDiv>.chatTypeChose {
238     background-color: #ffffffcc;
239     border-radius: 2rem;
240     width: 9rem;
241     height: 4rem;
242     margin: 1rem 0.3rem;
243     display: flex;
244     flex-direction: column;
245     align-items: center;
246     justify-content: center;
247     border: 0.5rem solid #ffffffcc;
248     cursor: pointer;
251 #chatTypeDiv>.chatTypeChose>p {
252     margin: 0;
253     text-align: center;
256 #chatTypeDiv>.chatTypeChose>h3 {
257     margin: 0;
258     text-align: center;
261 #chatTypeChoseCreate.Chose {
262     background-color: #904887;
263     color: white;
264     cursor: default;
267 #chatTypeChoseBalance.Chose {
268     background-color: #2870EA;
269     color: white;
270     cursor: default;
273 #chatTypeChoseAccurate.Chose {
274     background-color: #006880;
275     color: white;
276     cursor: default;
280 /* 聊天部分,在页面内 */
281 @keyframes acceptMeaaage {
282     from {
283         margin-top: 1em;
284         margin-left: -4em;
285         opacity: 0;
286     }
288     to {}
291 @keyframes sendMeaaage {
292     from {
293         margin-top: 1em;
294         margin-right: -4em;
295         opacity: 0;
296     }
298     to {}
301 .bing,
302 .my {
303     margin-bottom: 2rem;
306 .bing {
307     display: grid;
308     justify-items: start;
311 .bing>* {
312     animation: acceptMeaaage 0.5s;
315 .my>* {
316     animation: sendMeaaage 0.5s;
319 .my {
320     text-align: right;
321     font-size: 1.3rem;
324 .InternalSearchQuery,
325 .InternalLoaderMessage {
326     margin-left: 1rem;
327     font-size: 1rem;
330 .InternalSearchQuery>p,
331 .InternalLoaderMessage>p {
332     margin: 0;
333     margin-bottom: 1rem;
336 .adaptiveCardsFatherDIV,
337 .my>.bobo {
338     display: inline-block;
339     background-color: #ffffff;
340     border-radius: 1rem;
341     padding: 1rem 1rem;
342     max-width: 85vw;
343     margin-bottom: 1rem;
344     text-align: left;
347 .adaptiveCardsFatherDIV .throttling {
348     text-align: end;
349     font-size: 0.4rem;
350     margin-top: 0.5rem;
351     margin-bottom: -0.8rem;
352     border-top: 1px solid #0000005c;
355 .bing>.sourceAttributions {
356     font-size: 0.9rem;
357     max-width: 85vw;
358     margin: 0;
359     margin-bottom: 1rem;
360     display: inline-flex;
361     flex-direction: row;
362     flex-wrap: nowrap;
363     align-items: center;
364     background-color: #ffffff57;
365     border-radius: 2rem;
366     padding: 0.5rem;
369 .bing:has(.sourceAttributions) .adaptiveCardsFatherDIV {
370     margin-bottom: 1em;
374 .bing>.sourceAttributions>a {
375     display: inline-block;
376     background-color: #ffffff73;
377     border-radius: 1rem;
378     padding: 0.5rem;
379     text-overflow: ellipsis;
380     overflow: hidden;
381     white-space: nowrap;
382     margin: 0.1rem;
383     color: #000000;
384     text-decoration: none;
385     transition: flex 0.5s;
388 .bing>.sourceAttributions>a:hover {
389     background-color: #ffffffb3;
390     flex: none;
394 /* 上标 */
396 #chat .superscript {
397     display: inline-block;
398     vertical-align: super;
399     border: 0.1rem solid #0969da;
400     border-radius: 1em;
401     min-width: 1em;
402     text-align: center;
403     line-height: 1em;
404     font-size: small;
405     color: #0969da;
408 #chat .superscript:hover {
409     background-color: #00000024;
412 /*暂时不知道如何解析的渲染卡片请求*/
413 .RenderCardRequest {
414     border-radius: 1em;
415     background-color: white;
416     overflow: auto;
417     padding: 1em;
418     width: 85vw;
419     max-width: 1100px;
422 .RenderCardRequest>iframe {
423     min-width: 768px;
424     width: 100%;
425     height: 602px;
426     border: 0;
431 /* 画图部分 */
433 .GenerateContentQuery {
434     background-color: #ffffff;
435     border-radius: 1rem;
436     max-width: 85%;
437     margin-bottom: 1rem;
438     text-align: center;
439     font-size: 1rem;
440     padding: 1rem;
441     overflow: hidden;
442     display: inline-table;
445 .GenerateContentQuery>img {
446     max-width: 24%;
447     margin: 0.5%;
448     transition: all 0.8s;
449     cursor: pointer;
452 .GenerateContentQuery>img:hover {
453     margin: 0.2% 0.8% 0.8% 0.2%;
454     box-shadow: #0000007a 2px 3px 5px 0px;
455     transition: all 0.3s;
459 /* 错误部分 */
461 #chat .error {
462     text-align: center;
463     color: red;
466 .NoPower {
467     text-align: center;
468     color: #ff6d00;
469     cursor: pointer;
470     margin: 1rem;
471     text-decoration: underline;
475 /* 用于适配不同设备 */
478 /* pc */
480 :root {
481     font-size: 1rem;
484 div.markdown-body {
485     font-size: 1rem;
486     overflow: auto;
490 /* 窄窗口 */
491 @media screen and (max-width:550px) {
493     #tail-in:has(#input:focus-visible) #restart,
494     #tail-in:has(#input:hover) #restart,
495     #tail-in:has(#input:focus-visible)  #restartNewChat,
496     #tail-in:has(#input:hover) #restartNewChat {
497         width: 0;
498         margin: 0;
499         padding: 0;
500         opacity: 0;
501     }
503     .GenerateContentQuery>img {
504         max-width: 49%;
505         width: 49%;
506     }
508     #tail-in {
509         width: 90%;
510     }
512     .bing>.sourceAttributions {
513         flex-wrap: wrap;
514     }
517 /*手机 css*/
519 @media screen and (orientation:portrait) and (max-device-width:800px) and (max-device-height:1000px) {
520     :root {
521         font-size: 2rem;
522     }
524     div.markdown-body {
525         font-size: 1rem;
526     }
528     .InternalSearchQuery,
529     .InternalLoaderMessage {
530         width: 90%;
531     }
533     .InternalSearchQuery>p,
534     .InternalLoaderMessage>p {
535         font-size: 1rem;
536     }
538     .bing>.sourceAttributions {
539         max-width: 88vw;
540         flex-wrap: wrap;
541     }
543     .adaptiveCardsFatherDIV,
544     .my>.bobo {
545         max-width: 88vw;
546     }
548     #tail-in {
549         width: 90%;
550     }
552     #restart {
553         font-size: 1em;
554     }
556     #input {
557         font-size: 1em;
558     }
560     .GenerateContentQuery>img {
561         max-width: 49%;
562         width: 49%;
563     }
565     #tail-in:has(#input:focus-visible) #restart,
566     #tail-in:has(#input:hover) #restart,
567     #tail-in:has(#input:focus-visible)  #restartNewChat,
568     #tail-in:has(#input:hover) #restartNewChat {
569         width: 0;
570         margin: 0;
571         padding: 0;
572         opacity: 0;
573     }
575     /* 聊天部分,在页面内 */
576     @keyframes acceptMeaaage {
577         from {
578             margin-top: 1em;
579             margin-left: 0em;
580             opacity: 0;
581         }
583         to {}
584     }
586     @keyframes sendMeaaage {
587         from {
588             margin-top: 1em;
589             margin-right: 0em;
590             opacity: 0;
591         }
593         to {}
594     }