open-webui/src/app.css

81 lines
1.6 KiB
CSS
Raw Normal View History

2023-10-09 00:38:42 +02:00
@font-face {
font-family: 'Arimo';
src: url('/assets/fonts/Arimo-Variable.ttf');
font-display: swap;
}
2023-11-19 01:47:12 +01:00
@font-face {
font-family: 'Mona Sans';
src: url('/assets/fonts/Mona-Sans.woff2');
font-display: swap;
}
2023-10-09 00:38:42 +02:00
html {
2023-10-23 02:15:26 +02:00
word-break: break-word;
2023-10-09 00:38:42 +02:00
}
2023-12-09 02:48:31 +01:00
code {
2023-12-11 00:14:47 +01:00
/* white-space-collapse: preserve !important; */
2024-01-01 19:35:46 +01:00
overflow-x: auto;
2023-12-09 02:48:31 +01:00
width: auto;
}
2023-10-29 00:16:04 +02:00
math {
margin-top: 1rem;
}
.hljs {
@apply rounded-lg;
}
2024-03-02 08:32:06 +01:00
ol > li {
counter-increment: list-number;
display: block;
margin-bottom: 0;
margin-top: 0;
min-height: 28px;
}
2024-03-02 09:05:25 +01:00
.prose ol > li::before {
2024-03-02 08:32:06 +01:00
content: counters(list-number, '.') '.';
padding-right: 0.5rem;
color: var(--tw-prose-counters);
font-weight: 400;
}
li p {
display: inline;
}
2023-10-09 00:38:42 +02:00
::-webkit-scrollbar-thumb {
--tw-border-opacity: 1;
background-color: rgba(217, 217, 227, 0.8);
border-color: rgba(255, 255, 255, var(--tw-border-opacity));
border-radius: 9999px;
border-width: 1px;
}
::-webkit-scrollbar {
2024-02-24 10:39:14 +01:00
height: 0.4rem;
width: 0.4rem;
2023-10-09 00:38:42 +02:00
}
::-webkit-scrollbar-track {
background-color: transparent;
border-radius: 9999px;
}
select {
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");
background-position: right 0.5rem center;
background-repeat: no-repeat;
background-size: 1.5em 1.5em;
padding-right: 2.5rem;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
/* for Firefox */
-moz-appearance: none;
/* for Chrome */
-webkit-appearance: none;
}