Download web-src/style.css from sasakiy84/bibform: direct link, hf CLI and curl.
- Browser
- Download file 3.27 kB
-
https://huggingface.co/sasakiy84/bibform/resolve/main/web-src/style.css
- Command line
-
hf download hf://sasakiy84/bibform/web-src/style.css
-
curl -L -o style.css https://huggingface.co/sasakiy84/bibform/resolve/main/web-src/style.css
3.27 kB
| :root { | |
| color: #172a32; | |
| background: #f3f6f4; | |
| font: 16px/1.6 system-ui, sans-serif; | |
| } | |
| body { | |
| margin: 0; | |
| } | |
| main { | |
| width: min(68rem, calc(100% - 3rem)); | |
| margin: clamp(2rem, 6vw, 5rem) auto; | |
| } | |
| header { | |
| display: flex; | |
| flex-wrap: wrap; | |
| align-items: flex-end; | |
| justify-content: space-between; | |
| gap: 1rem; | |
| margin-block-end: 2rem; | |
| } | |
| #model-control { | |
| width: min(15rem, 100%); | |
| } | |
| h1 { | |
| margin: 0; | |
| font-size: clamp(2rem, 5vw, 3.5rem); | |
| line-height: 1.1; | |
| letter-spacing: -.045em; | |
| } | |
| header p { | |
| margin: .7rem 0 0; | |
| color: #3c545d; | |
| } | |
| .columns { | |
| display: grid; | |
| grid-template-columns: repeat(2, minmax(0, 1fr)); | |
| gap: 1.15rem; | |
| } | |
| .columns > section, #annotation-result { | |
| padding: clamp(1rem, 3vw, 1.6rem); | |
| border: 1px solid #cad9d3; | |
| border-radius: 1rem; | |
| background: white; | |
| } | |
| #annotation-result { | |
| margin-block-start: 1.15rem; | |
| } | |
| #annotation-heading { | |
| margin: 0 0 .45rem; | |
| font-size: 1.1rem; | |
| } | |
| #annotated-source { | |
| margin: 0; | |
| line-height: 2.45; | |
| white-space: pre-wrap; | |
| overflow-wrap: anywhere; | |
| } | |
| .annotation { | |
| color: inherit; | |
| padding: .15em .2em; | |
| border-radius: .3em; | |
| -webkit-box-decoration-break: clone; | |
| box-decoration-break: clone; | |
| } | |
| .annotation--title { | |
| background: #dcefe5; | |
| --tag-color: #245846; | |
| } | |
| .annotation--detail { | |
| background: #fcf0d6; | |
| --tag-color: #6d4a13; | |
| } | |
| .annotation--contributor { | |
| background: #e0ebfb; | |
| --tag-color: #264e80; | |
| } | |
| .annotation--name { | |
| padding-inline: 0; | |
| border-radius: 0; | |
| border-block-end: 1px solid #6084b0; | |
| } | |
| .annotation-label { | |
| margin-inline-start: .3em; | |
| padding: 0 .38em; | |
| border-radius: .22em; | |
| color: var(--tag-color); | |
| background: #ffffffb8; | |
| font-size: .73em; | |
| font-weight: 650; | |
| line-height: 1.5; | |
| white-space: nowrap; | |
| user-select: none; | |
| } | |
| .annotation-label::before { | |
| content: '\2060'; | |
| } | |
| .annotation--name > .annotation-label { | |
| margin-inline: .13em .22em; | |
| padding: 0 .18em; | |
| background: none; | |
| } | |
| label { | |
| display: block; | |
| margin-block-end: .35rem; | |
| font-weight: 650; | |
| } | |
| textarea, select, button { | |
| font: inherit; | |
| color: inherit; | |
| } | |
| textarea, select { | |
| box-sizing: border-box; | |
| width: 100%; | |
| border: 1px solid #829a94; | |
| border-radius: .55rem; | |
| background: #fcfdfc; | |
| padding: .8rem; | |
| } | |
| textarea { | |
| display: block; | |
| resize: vertical; | |
| } | |
| #example { | |
| margin-block-start: .85rem; | |
| } | |
| #output { | |
| font: .95rem/1.68 ui-monospace, monospace; | |
| } | |
| button { | |
| border: 1px solid #829a94; | |
| border-radius: .55rem; | |
| padding: .55rem .85rem; | |
| background: white; | |
| cursor: pointer; | |
| } | |
| button.primary { | |
| border-color: #115745; | |
| background: #115745; | |
| color: white; | |
| font-weight: 650; | |
| } | |
| button:disabled { | |
| opacity: .6; | |
| cursor: default; | |
| } | |
| :focus-visible { | |
| outline: 3px solid #177969; | |
| outline-offset: 3px; | |
| } | |
| .actions, #candidates { | |
| display: flex; | |
| flex-wrap: wrap; | |
| align-items: center; | |
| gap: .55rem; | |
| margin-block-start: .85rem; | |
| } | |
| #status, #copy-status { | |
| margin: 0; | |
| color: #3c545d; | |
| font-size: .94rem; | |
| } | |
| #copy-fallback { | |
| margin-block-start: .55rem; | |
| } | |
| #choices { | |
| margin-block-start: 1rem; | |
| } | |
| #candidates:not(:empty) { | |
| margin-block-end: .75rem; | |
| } | |
| @media (max-width: 44rem) { | |
| main { | |
| width: calc(100% - 2rem); | |
| } | |
| .columns { | |
| grid-template-columns: 1fr; | |
| } | |
| #model-control { | |
| width: 100%; | |
| } | |
| } | |