123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583 |
- /* 头部分 */
- #head {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 4rem;
- display: flex;
- align-items: center;
- justify-content: space-between;
- backdrop-filter: blur(10px);
- background-color: #ffffff78;
- z-index: 99;
- }
- #head-img-div {
- height: 100%;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- }
- #head-img-div>img {
- height: 100%;
- }
- #head-img-div-h2-img>* {
- margin: 0;
- }
- #head-li-div {
- margin-right: 2rem;
- }
- /* 背景*/
- #background {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- z-index: -1;
- background: repeating-linear-gradient(359deg, rgb(182 196 255) 0%, rgb(207 225 255 / 78%) 100%);
- transition: filter 1s;
- }
- #background.a {
- filter: hue-rotate(10deg);
- }
- #background.b {
- filter: hue-rotate(-5deg);
- }
- #background.c {
- filter: hue-rotate(-20deg);
- }
- /* 尾部分 */
- #tail {
- position: fixed;
- left: 0;
- bottom: 0;
- width: 100%;
- height: 7rem;
- display: flex;
- justify-content: center;
- backdrop-filter: blur(10px);
- background-color: #ffffff78;
- flex-direction: column-reverse;
- align-items: center;
- z-index: 99;
- }
- #SearchSuggestions {
- position: fixed;
- top: -3rem;
- display: flex;
- flex-wrap: nowrap;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- width: 100%;
- transition: opacity 0.2s
- }
- #SearchSuggestions>a {
- backdrop-filter: blur(10px);
- background-color: #ffffff82;
- border-radius: 2rem;
- padding: 0.5rem;
- font-size: 0.9rem;
- margin: 0.2rem;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- transition: flex 0.5s;
- }
- #SearchSuggestions>a:hover {
- cursor: pointer;
- background-color: #ffffff;
- flex: none;
- }
- #tail-in {
- display: flex;
- width: 80%;
- align-items: center;
- justify-content: center;
- height: 80%;
- }
- #restart:hover ,
- #restartNewChat:hover
- {
- background-color: #ffffff;
- cursor: pointer;
- }
- #restart ,
- #restartNewChat
- {
- border: 0;
- border-radius: 1.5rem;
- background-color: #ffffff9e;
- height: 100%;
- font-size: 0.8rem;
- transition: all 0.5s;
- overflow: hidden;
- white-space: normal;
- }
- #restart {
- width: 0;
- margin: 0;
- padding: 0;
- opacity: 0;
- }
- body:has(.my) #restart {
- width: 5rem;
- margin-right: 0.5rem;
- padding: 0;
- opacity: 1;
- }
- #restartNewChat{
- width: 5rem;
- margin-right: 0.5rem;
- }
- #restartNewChat.onShow{
- width: 0;
- margin: 0;
- padding: 0;
- opacity: 0;
- }
- #send {
- border: 0;
- margin: 0 1rem 1rem 0;
- border-radius: 2rem;
- background-color: #005fff38;
- height: 1.8rem;
- font-size: 0.8rem;
- cursor: pointer;
- min-width: 3rem;
- transition: all 0.5s;
- }
- #send:hover {
- background-color: #005fff80;
- }
- #input {
- border: none;
- resize: none;
- outline: none;
- width: 100%;
- background-color: #ffffff00;
- margin: 1rem 0 1rem 1rem;
- height: -webkit-fill-available;
- }
- #input:focus-visible {
- border: 0;
- }
- #input-div {
- border-radius: 1.5rem;
- flex: 1;
- height: 100%;
- background-color: #ffffff;
- margin: 0 0;
- display: flex;
- flex-direction: row;
- align-items: flex-end;
- transition: all 0.5s;
- }
- /* 页面部分 */
- body {
- overflow-x: hidden;
- }
- #body-bottom {
- height: 15rem;
- width: 100%;
- }
- /* 聊天选项部分 */
- #chatTypeDiv {
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- flex-wrap: nowrap;
- margin-bottom: 7rem;
- transition: all 0.5s;
- }
- #chatTypeDiv>.chatTypeChose {
- background-color: #ffffffcc;
- border-radius: 2rem;
- width: 9rem;
- height: 4rem;
- margin: 1rem 0.3rem;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- border: 0.5rem solid #ffffffcc;
- cursor: pointer;
- }
- #chatTypeDiv>.chatTypeChose>p {
- margin: 0;
- text-align: center;
- }
- #chatTypeDiv>.chatTypeChose>h3 {
- margin: 0;
- text-align: center;
- }
- #chatTypeChoseCreate.Chose {
- background-color: #904887;
- color: white;
- cursor: default;
- }
- #chatTypeChoseBalance.Chose {
- background-color: #2870EA;
- color: white;
- cursor: default;
- }
- #chatTypeChoseAccurate.Chose {
- background-color: #006880;
- color: white;
- cursor: default;
- }
- /* 聊天部分,在页面内 */
- @keyframes acceptMeaaage {
- from {
- margin-top: 1em;
- margin-left: -4em;
- opacity: 0;
- }
- to {}
- }
- @keyframes sendMeaaage {
- from {
- margin-top: 1em;
- margin-right: -4em;
- opacity: 0;
- }
- to {}
- }
- .bing,
- .my {
- margin-bottom: 2rem;
- }
- .bing {
- display: grid;
- justify-items: start;
- }
- .bing>* {
- animation: acceptMeaaage 0.5s;
- }
- .my>* {
- animation: sendMeaaage 0.5s;
- }
- .my {
- text-align: right;
- font-size: 1.3rem;
- }
- .InternalSearchQuery,
- .InternalLoaderMessage {
- margin-left: 1rem;
- font-size: 1rem;
- }
- .InternalSearchQuery>p,
- .InternalLoaderMessage>p {
- margin: 0;
- margin-bottom: 1rem;
- }
- .adaptiveCardsFatherDIV,
- .my>.bobo {
- display: inline-block;
- background-color: #ffffff;
- border-radius: 1rem;
- padding: 1rem 1rem;
- max-width: 85vw;
- margin-bottom: 1rem;
- text-align: left;
- }
- .adaptiveCardsFatherDIV .throttling {
- text-align: end;
- font-size: 0.4rem;
- margin-top: 0.5rem;
- margin-bottom: -0.8rem;
- border-top: 1px solid #0000005c;
- }
- .bing>.sourceAttributions {
- font-size: 0.9rem;
- max-width: 85vw;
- margin: 0;
- margin-bottom: 1rem;
- display: inline-flex;
- flex-direction: row;
- flex-wrap: nowrap;
- align-items: center;
- background-color: #ffffff57;
- border-radius: 2rem;
- padding: 0.5rem;
- }
- .bing:has(.sourceAttributions) .adaptiveCardsFatherDIV {
- margin-bottom: 1em;
- }
- .bing>.sourceAttributions>a {
- display: inline-block;
- background-color: #ffffff73;
- border-radius: 1rem;
- padding: 0.5rem;
- text-overflow: ellipsis;
- overflow: hidden;
- white-space: nowrap;
- margin: 0.1rem;
- color: #000000;
- text-decoration: none;
- transition: flex 0.5s;
- }
- .bing>.sourceAttributions>a:hover {
- background-color: #ffffffb3;
- flex: none;
- }
- /* 上标 */
- #chat .superscript {
- display: inline-block;
- vertical-align: super;
- border: 0.1rem solid #0969da;
- border-radius: 1em;
- min-width: 1em;
- text-align: center;
- line-height: 1em;
- font-size: small;
- color: #0969da;
- }
- #chat .superscript:hover {
- background-color: #00000024;
- }
- /*暂时不知道如何解析的渲染卡片请求*/
- .RenderCardRequest {
- border-radius: 1em;
- background-color: white;
- overflow: auto;
- padding: 1em;
- width: 85vw;
- max-width: 1100px;
- }
- .RenderCardRequest>iframe {
- min-width: 768px;
- width: 100%;
- height: 602px;
- border: 0;
- }
- /* 画图部分 */
- .GenerateContentQuery {
- background-color: #ffffff;
- border-radius: 1rem;
- max-width: 85%;
- margin-bottom: 1rem;
- text-align: center;
- font-size: 1rem;
- padding: 1rem;
- overflow: hidden;
- display: inline-table;
- }
- .GenerateContentQuery>img {
- max-width: 24%;
- margin: 0.5%;
- transition: all 0.8s;
- cursor: pointer;
- }
- .GenerateContentQuery>img:hover {
- margin: 0.2% 0.8% 0.8% 0.2%;
- box-shadow: #0000007a 2px 3px 5px 0px;
- transition: all 0.3s;
- }
- /* 错误部分 */
- #chat .error {
- text-align: center;
- color: red;
- }
- .NoPower {
- text-align: center;
- color: #ff6d00;
- cursor: pointer;
- margin: 1rem;
- text-decoration: underline;
- }
- /* 用于适配不同设备 */
- /* pc */
- :root {
- font-size: 1rem;
- }
- div.markdown-body {
- font-size: 1rem;
- overflow: auto;
- }
- /* 窄窗口 */
- @media screen and (max-width:550px) {
- #tail-in:has(#input:focus-visible) #restart,
- #tail-in:has(#input:hover) #restart,
- #tail-in:has(#input:focus-visible) #restartNewChat,
- #tail-in:has(#input:hover) #restartNewChat {
- width: 0;
- margin: 0;
- padding: 0;
- opacity: 0;
- }
- .GenerateContentQuery>img {
- max-width: 49%;
- width: 49%;
- }
- #tail-in {
- width: 90%;
- }
- .bing>.sourceAttributions {
- flex-wrap: wrap;
- }
- }
- /*手机 css*/
- @media screen and (orientation:portrait) and (max-device-width:800px) and (max-device-height:1000px) {
- .InternalSearchQuery,
- .InternalLoaderMessage {
- width: 90%;
- }
- .InternalSearchQuery>p,
- .InternalLoaderMessage>p {
- font-size: 1rem;
- }
- .bing>.sourceAttributions {
- max-width: 88vw;
- flex-wrap: wrap;
- }
- .adaptiveCardsFatherDIV,
- .my>.bobo {
- max-width: 88vw;
- }
- #tail-in {
- width: 90%;
- }
- #restart {
- font-size: 1em;
- }
- #input {
- font-size: 1em;
- }
- .GenerateContentQuery>img {
- max-width: 49%;
- width: 49%;
- }
- #tail-in:has(#input:focus-visible) #restart,
- #tail-in:has(#input:hover) #restart,
- #tail-in:has(#input:focus-visible) #restartNewChat,
- #tail-in:has(#input:hover) #restartNewChat {
- width: 0;
- margin: 0;
- padding: 0;
- opacity: 0;
- }
- /* 聊天部分,在页面内 */
- @keyframes acceptMeaaage {
- from {
- margin-top: 1em;
- margin-left: 0em;
- opacity: 0;
- }
- to {}
- }
- @keyframes sendMeaaage {
- from {
- margin-top: 1em;
- margin-right: 0em;
- opacity: 0;
- }
- to {}
- }
- }
|