Download style.css from budijuarto/chat-pgvector-cloud-services: direct link, hf CLI and curl.
- Browser
- Download file 4.38 kB
-
https://huggingface.co/spaces/budijuarto/chat-pgvector-cloud-services/resolve/main/style.css
- Command line
-
hf download hf://spaces/budijuarto/chat-pgvector-cloud-services/style.css
-
curl -L -o style.css https://huggingface.co/spaces/budijuarto/chat-pgvector-cloud-services/resolve/main/style.css
4.38 kB
| :root { | |
| color-scheme: light; | |
| font-family: "Segoe UI", system-ui, sans-serif; | |
| color: #162740; | |
| background: #eef3f8; | |
| --navy: #112941; | |
| --blue: #075b9b; | |
| --muted: #455b72; | |
| --border: #d6e0ea; | |
| } | |
| * { box-sizing: border-box; } | |
| body { margin: 0; } | |
| .masthead { background: var(--navy); color: #fff; border-bottom: 4px solid #68bbef; } | |
| .header-inner, main { width: min(1100px, calc(100% - 3rem)); margin-inline: auto; } | |
| .header-inner { padding: 2rem 0 2.7rem; } | |
| .course { margin: 0; font-size: .83rem; letter-spacing: .07em; color: #a6d9fa; font-weight: 650; } | |
| h1 { margin: .2rem 0 .45rem; font-size: clamp(2.65rem, 6vw, 4.4rem); line-height: 1.07; letter-spacing: -.045em; } | |
| h1 span { color: #91d0fa; } | |
| .subtitle { color: #e6f2ff; max-width: 52ch; line-height: 1.5; margin: 0; } | |
| main { padding-block: 1.45rem 2.3rem; } | |
| .lab { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; } | |
| .panel, .sql { background: #fff; border: 1px solid var(--border); border-radius: 14px; } | |
| .panel { padding: 1.3rem; } | |
| h2 { font-size: 1.26rem; margin: 0 0 .35rem; } | |
| .intro, .empty, .note { color: var(--muted); line-height: 1.5; } | |
| .intro { margin: 0 0 1rem; font-size: .92rem; } | |
| .examples { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .9rem; } | |
| button, input { font: inherit; } | |
| button { cursor: pointer; } | |
| button:disabled { opacity: .6; cursor: wait; } | |
| button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #2095d5; outline-offset: 2px; } | |
| .example { | |
| background: #f0f7fe; color: #114972; border: 1px solid #c4d9eb; | |
| border-radius: 20px; padding: .43rem .72rem; font-size: .82rem; font-weight: 620; | |
| } | |
| .example:hover:enabled { background: #dbeefa; } | |
| .conversation { | |
| display: flex; flex-direction: column; gap: .6rem; min-height: 8.6rem; max-height: 20rem; | |
| overflow: auto; padding: .85rem; background: #f7fafd; border: 1px solid var(--border); | |
| border-radius: 10px; overflow-wrap: anywhere; | |
| } | |
| .empty { margin: .15rem 0; font-size: .9rem; } | |
| .turn { display: flow-root; } | |
| .message { max-width: 95%; border-radius: 9px; padding: .64rem .75rem; font-size: .91rem; line-height: 1.5; } | |
| .message + .message { margin-top: .53rem; } | |
| .message p { margin: .2rem 0 0; } | |
| .message strong { display: block; font-size: .81rem; color: #154c75; } | |
| .user-message { margin-left: auto; width: fit-content; background: #dceefd; } | |
| .answer { background: #fff; border: 1px solid #d8e4ef; } | |
| .answer p.source-id { margin-top: .55rem; font-size: .79rem; color: var(--muted); } | |
| form { margin-top: .85rem; } | |
| label { display: block; margin-bottom: .35rem; font-size: .85rem; font-weight: 650; } | |
| .question-input { display: flex; gap: .5rem; } | |
| input { min-width: 0; flex: 1; padding: .66rem .7rem; border: 1px solid #a9bdcf; border-radius: 8px; } | |
| #send { background: var(--blue); border: 1px solid var(--blue); color: #fff; padding: .55rem 1rem; border-radius: 8px; font-weight: 700; } | |
| #send:hover:enabled { background: #064476; } | |
| .status { color: #164973; font-size: .84rem; font-weight: 650; margin: .65rem 0 .25rem; } | |
| .status.error { color: #982f12; } | |
| .note { font-size: .8rem; margin: 0; } | |
| .ranking { list-style: none; padding: 0; margin: 0; } | |
| .ranking li + li { margin-top: .65rem; } | |
| .ranking details { border: 1px solid var(--border); border-radius: 9px; padding: .68rem .78rem; background: #f7fafd; } | |
| .ranking li:first-child details { border-color: #84b8df; background: #edf6fe; } | |
| .ranking summary { cursor: pointer; } | |
| .source-metadata { display: flex; gap: .65rem; justify-content: space-between; margin: .36rem 0 0 1rem; font-size: .78rem; color: var(--muted); } | |
| .distance { font-variant-numeric: tabular-nums; font-weight: 720; color: #0d4e82; } | |
| .source-body { margin: .63rem 0 .1rem; font-size: .85rem; line-height: 1.53; } | |
| .sql { margin-top: 1.25rem; padding: 1rem 1.2rem; } | |
| .sql summary { font-weight: 680; cursor: pointer; } | |
| .sql p { color: var(--muted); line-height: 1.53; max-width: 86ch; } | |
| .sql pre { background: var(--navy); color: #e8f1fa; padding: .85rem; border-radius: 8px; overflow: auto; font-size: .84rem; } | |
| @media (max-width: 720px) { | |
| .header-inner, main { width: calc(100% - 1.7rem); } | |
| .header-inner { padding: 1.35rem 0 1.65rem; } | |
| main { padding-block: 1rem 1.7rem; } | |
| .lab { grid-template-columns: minmax(0, 1fr); gap: .9rem; } | |
| .panel { padding: .95rem; } | |
| .sql { margin-top: .9rem; } | |
| } | |