Spaces:
Runtime error
Runtime error
Commit
·
e37db7d
1
Parent(s):
399ef76
Upload css_new.css
Browse files- css_new.css +116 -0
css_new.css
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[data-testid = "bot"] {
|
| 2 |
+
max-width: 85%;
|
| 3 |
+
border-bottom-left-radius: 0 !important;
|
| 4 |
+
}
|
| 5 |
+
[data-testid = "user"] {
|
| 6 |
+
max-width: 85%;
|
| 7 |
+
width: auto !important;
|
| 8 |
+
border-bottom-right-radius: 0 !important;
|
| 9 |
+
}
|
| 10 |
+
/* 表格 */
|
| 11 |
+
table {
|
| 12 |
+
margin: 1em 0;
|
| 13 |
+
border-collapse: collapse;
|
| 14 |
+
empty-cells: show;
|
| 15 |
+
}
|
| 16 |
+
td,th {
|
| 17 |
+
border: 1.2px solid var(--border-color-primary) !important;
|
| 18 |
+
padding: 0.2em;
|
| 19 |
+
}
|
| 20 |
+
thead {
|
| 21 |
+
background-color: rgba(175,184,193,0.2);
|
| 22 |
+
}
|
| 23 |
+
thead th {
|
| 24 |
+
padding: .5em .2em;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
code {
|
| 28 |
+
display: inline;
|
| 29 |
+
white-space: break-spaces;
|
| 30 |
+
border-radius: 6px;
|
| 31 |
+
margin: 0 2px 0 2px;
|
| 32 |
+
padding: .2em .4em .1em .4em;
|
| 33 |
+
background-color: rgba(175,184,193,0.2);
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
pre code {
|
| 37 |
+
display: block;
|
| 38 |
+
overflow: auto;
|
| 39 |
+
white-space: pre;
|
| 40 |
+
background-color: hsla(0, 0%, 0%, 80%)!important;
|
| 41 |
+
border-radius: 10px;
|
| 42 |
+
padding: 1.4em 1.2em 0em 1.4em;
|
| 43 |
+
margin: 1.2em 2em 1.2em 0.5em;
|
| 44 |
+
color: #FFF;
|
| 45 |
+
box-shadow: 6px 6px 16px hsla(0, 0%, 0%, 0.2);
|
| 46 |
+
}
|
| 47 |
+
/* 代码高亮样式 */
|
| 48 |
+
.highlight .hll { background-color: #49483e }
|
| 49 |
+
.highlight .c { color: #75715e } /* Comment */
|
| 50 |
+
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
|
| 51 |
+
.highlight .k { color: #66d9ef } /* Keyword */
|
| 52 |
+
.highlight .l { color: #ae81ff } /* Literal */
|
| 53 |
+
.highlight .n { color: #f8f8f2 } /* Name */
|
| 54 |
+
.highlight .o { color: #f92672 } /* Operator */
|
| 55 |
+
.highlight .p { color: #f8f8f2 } /* Punctuation */
|
| 56 |
+
.highlight .ch { color: #75715e } /* Comment.Hashbang */
|
| 57 |
+
.highlight .cm { color: #75715e } /* Comment.Multiline */
|
| 58 |
+
.highlight .cp { color: #75715e } /* Comment.Preproc */
|
| 59 |
+
.highlight .cpf { color: #75715e } /* Comment.PreprocFile */
|
| 60 |
+
.highlight .c1 { color: #75715e } /* Comment.Single */
|
| 61 |
+
.highlight .cs { color: #75715e } /* Comment.Special */
|
| 62 |
+
.highlight .gd { color: #f92672 } /* Generic.Deleted */
|
| 63 |
+
.highlight .ge { font-style: italic } /* Generic.Emph */
|
| 64 |
+
.highlight .gi { color: #a6e22e } /* Generic.Inserted */
|
| 65 |
+
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
| 66 |
+
.highlight .gu { color: #75715e } /* Generic.Subheading */
|
| 67 |
+
.highlight .kc { color: #66d9ef } /* Keyword.Constant */
|
| 68 |
+
.highlight .kd { color: #66d9ef } /* Keyword.Declaration */
|
| 69 |
+
.highlight .kn { color: #f92672 } /* Keyword.Namespace */
|
| 70 |
+
.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
|
| 71 |
+
.highlight .kr { color: #66d9ef } /* Keyword.Reserved */
|
| 72 |
+
.highlight .kt { color: #66d9ef } /* Keyword.Type */
|
| 73 |
+
.highlight .ld { color: #e6db74 } /* Literal.Date */
|
| 74 |
+
.highlight .m { color: #ae81ff } /* Literal.Number */
|
| 75 |
+
.highlight .s { color: #e6db74 } /* Literal.String */
|
| 76 |
+
.highlight .na { color: #a6e22e } /* Name.Attribute */
|
| 77 |
+
.highlight .nb { color: #f8f8f2 } /* Name.Builtin */
|
| 78 |
+
.highlight .nc { color: #a6e22e } /* Name.Class */
|
| 79 |
+
.highlight .no { color: #66d9ef } /* Name.Constant */
|
| 80 |
+
.highlight .nd { color: #a6e22e } /* Name.Decorator */
|
| 81 |
+
.highlight .ni { color: #f8f8f2 } /* Name.Entity */
|
| 82 |
+
.highlight .ne { color: #a6e22e } /* Name.Exception */
|
| 83 |
+
.highlight .nf { color: #a6e22e } /* Name.Function */
|
| 84 |
+
.highlight .nl { color: #f8f8f2 } /* Name.Label */
|
| 85 |
+
.highlight .nn { color: #f8f8f2 } /* Name.Namespace */
|
| 86 |
+
.highlight .nx { color: #a6e22e } /* Name.Other */
|
| 87 |
+
.highlight .py { color: #f8f8f2 } /* Name.Property */
|
| 88 |
+
.highlight .nt { color: #f92672 } /* Name.Tag */
|
| 89 |
+
.highlight .nv { color: #f8f8f2 } /* Name.Variable */
|
| 90 |
+
.highlight .ow { color: #f92672 } /* Operator.Word */
|
| 91 |
+
.highlight .w { color: #f8f8f2 } /* Text.Whitespace */
|
| 92 |
+
.highlight .mb { color: #ae81ff } /* Literal.Number.Bin */
|
| 93 |
+
.highlight .mf { color: #ae81ff } /* Literal.Number.Float */
|
| 94 |
+
.highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
|
| 95 |
+
.highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
|
| 96 |
+
.highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
|
| 97 |
+
.highlight .sa { color: #e6db74 } /* Literal.String.Affix */
|
| 98 |
+
.highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
|
| 99 |
+
.highlight .sc { color: #e6db74 } /* Literal.String.Char */
|
| 100 |
+
.highlight .dl { color: #e6db74 } /* Literal.String.Delimiter */
|
| 101 |
+
.highlight .sd { color: #e6db74 } /* Literal.String.Doc */
|
| 102 |
+
.highlight .s2 { color: #e6db74 } /* Literal.String.Double */
|
| 103 |
+
.highlight .se { color: #ae81ff } /* Literal.String.Escape */
|
| 104 |
+
.highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
|
| 105 |
+
.highlight .si { color: #e6db74 } /* Literal.String.Interpol */
|
| 106 |
+
.highlight .sx { color: #e6db74 } /* Literal.String.Other */
|
| 107 |
+
.highlight .sr { color: #e6db74 } /* Literal.String.Regex */
|
| 108 |
+
.highlight .s1 { color: #e6db74 } /* Literal.String.Single */
|
| 109 |
+
.highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
|
| 110 |
+
.highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
|
| 111 |
+
.highlight .fm { color: #a6e22e } /* Name.Function.Magic */
|
| 112 |
+
.highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
|
| 113 |
+
.highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
|
| 114 |
+
.highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
|
| 115 |
+
.highlight .vm { color: #f8f8f2 } /* Name.Variable.Magic */
|
| 116 |
+
.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
|