ychappyboy/open-webui
0
1@font-face {2 font-family: 'Arimo';3 src: url('/assets/fonts/Arimo-Variable.ttf');4 font-display: swap;5}6 7@font-face {8 font-family: 'Mona Sans';9 src: url('/assets/fonts/Mona-Sans.woff2');10 font-display: swap;11}12 13html {14 word-break: break-word;15}16 17code {18 /* white-space-collapse: preserve !important; */19 overflow-x: auto;20 width: auto;21}22 23math {24 margin-top: 1rem;25}26 27.hljs {28 @apply rounded-lg;29}30 31.markdown a {32 @apply underline;33}34 35iframe {36 @apply rounded-lg;37}38 39ol > li {40 counter-increment: list-number;41 display: block;42 margin-bottom: 0;43 margin-top: 0;44 min-height: 28px;45}46 47.prose ol > li::before {48 content: counters(list-number, '.') '.';49 padding-right: 0.5rem;50 color: var(--tw-prose-counters);51 font-weight: 400;52}53 54li p {55 display: inline;56}57 58::-webkit-scrollbar-thumb {59 --tw-border-opacity: 1;60 background-color: rgba(217, 217, 227, 0.8);61 border-color: rgba(255, 255, 255, var(--tw-border-opacity));62 border-radius: 9999px;63 border-width: 1px;64}65 66::-webkit-scrollbar {67 height: 0.4rem;68 width: 0.4rem;69}70 71::-webkit-scrollbar-track {72 background-color: transparent;73 border-radius: 9999px;74}75 76select {77 background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");78 background-position: right 0.5rem center;79 background-repeat: no-repeat;80 background-size: 1.5em 1.5em;81 padding-right: 2.5rem;82 -webkit-print-color-adjust: exact;83 print-color-adjust: exact;84 /* for Firefox */85 -moz-appearance: none;86 /* for Chrome */87 -webkit-appearance: none;88}89 90.katex-mathml {91 display: none;92}93 94.scrollbar-hidden:active::-webkit-scrollbar-thumb,95.scrollbar-hidden:focus::-webkit-scrollbar-thumb,96.scrollbar-hidden:hover::-webkit-scrollbar-thumb {97 visibility: visible;98}99.scrollbar-hidden::-webkit-scrollbar-thumb {100 visibility: hidden;101}102 103.scrollbar-hidden::-webkit-scrollbar-corner {104 display: none;105}106 107.scrollbar-none::-webkit-scrollbar {108 display: none; /* for Chrome, Safari and Opera */109}110 111.scrollbar-none::-webkit-scrollbar-corner {112 display: none;113}114 115.scrollbar-none {116 -ms-overflow-style: none; /* IE and Edge */117 scrollbar-width: none; /* Firefox */118}119 120input::-webkit-outer-spin-button,121input::-webkit-inner-spin-button {122 /* display: none; <- Crashes Chrome on hover */123 -webkit-appearance: none;124 margin: 0; /* <-- Apparently some margin are still there even though it's hidden */125}126 127input[type='number'] {128 -moz-appearance: textfield; /* Firefox */129}130 131.cm-editor {132 height: 100%;133 width: 100%;134}135 136.cm-scroller {137 @apply scrollbar-hidden;138}139 140.cm-editor.cm-focused {141 outline: none;142}143 