2024-11-09 13:12:16 +07:00

221 lines
4.0 KiB
CSS

@import url(./assets/css/container.css);
@import url(./assets/css/indicator.css);
@import url(./assets/css/text.css);
@font-face {
font-family: Inter;
font-weight: 300 800;
src: url(/fonts/Inter-VariableFont.ttf);
}
@font-face {
font-family: "Azeret Mono";
font-weight: 400 800;
src: url(/fonts/AzeretMono-VariableFont.ttf);
}
:root {
--codex-background: #1c1c1c;
--codex-color: white;
--codex-color-contrast: #f8f8f8;
--codex-color-error: 204, 108, 108;
--codex-color-error-hexa: #cc6c6c;
--codex-color-warning: 234, 179, 8;
--codex-color-success: 20, 184, 166;
--codex-color-blue: 30, 64, 175;
--codex-color-grey: 170, 170, 170;
--codex-color-primary: #6fcb94;
--codex-color-primary-rgb: 193, 240, 164;
--codex-color-primary-variant: #c1f0a4cc;
--codex-color-on-primary: #333;
--codex-color-disabled: #717171;
--codex-color-light: rgb(150 150 150);
--codex-border-color: #96969633;
--codex-input-border-color: #494949;
--codex-background-secondary: rgb(38 38 38);
--codex-highlight-color: #2f2f2f;
--codex-background-light: rgb(64 64 64);
--codex-background-backdrop: rgba(70, 70, 70, 0.75);
--codex-border-radius: 0.5rem;
--codex-font-size: 14px;
--codex-font-family: Inter, ui-sans-serif, system-ui, -apple-system,
BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans,
sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol,
Noto Color Emoji;
--codex-input-label-color: #7b7b7b;
--codex-input-border-color: #494949;
--codex-input-background: #232323;
--codex-input-color-error: #fb3748;
--codex-row-gap: 16px;
-webkit-tap-highlight-color: transparent;
-webkit-text-size-adjust: 100%;
font-family: var(--codex-font-family);
font-feature-settings: normal;
font-variation-settings: normal;
tab-size: 4;
font-size: 1.15rem;
font-size: var(--codex-font-size);
color-scheme: dark;
color: var(--codex-color);
background: #000000; /* Fallback color */
background: -webkit-linear-gradient(
246.02deg,
#000000 30.36%,
#222222 91.05%
); /* For Safari and older Chrome */
background: -moz-linear-gradient(
246.02deg,
#000000 30.36%,
#222222 91.05%
); /* For older Firefox */
background: linear-gradient(
246.02deg,
#000000 30.36%,
#222222 91.05%
); /* Standard syntax */
}
::selection {
background: var(--codex-color-primary);
color: #3a0b5a;
}
::-webkit-scrollbar {
height: 12px;
width: 8px;
background: #aaa;
}
::-webkit-scrollbar-thumb {
background: #444;
-webkit-border-radius: 1ex;
-webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.75);
}
::-webkit-scrollbar-corner {
background: #000;
}
html {
min-height: 100%;
display: flex;
max-width: 100%;
overflow-x: hidden;
}
body {
margin: 0;
flex: 1;
display: flex;
max-width: 100%;
}
ul,
h1,
p,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word;
margin: 0;
}
ul {
padding: 0;
}
body > main {
flex: 1;
display: flex;
flex-direction: column;
max-width: 100%;
}
ul {
margin: 0;
padding: 0;
}
dialog {
padding: 0;
}
input,
button,
textarea,
select {
font: inherit;
}
pre {
white-space: pre-wrap;
word-break: break-word;
}
a[aria-disabled] {
opacity: 0.6;
cursor: not-allowed;
}
.root {
display: flex;
flex: 1;
max-width: 100%;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
-webkit-transition-delay: 9999s;
transition-delay: 9999s;
}
.row {
display: flex;
align-items: center;
}
.gap {
gap: var(--codex-row-gap);
}
.card {
border: 1px solid #96969633;
border-radius: 16px;
padding: 16px;
background-color: #232323;
> header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-bottom: 16px;
svg {
color: #969696;
}
> div {
display: flex;
align-items: center;
gap: 12px;
}
h5 {
font-family: Inter;
font-size: 16px;
font-weight: 500;
line-height: 24px;
letter-spacing: -0.011em;
}
}
}