Download public/css/styles.min.css from Thrisha04/Chat: direct link, hf CLI and curl.
- Browser
- Download file 2.91 kB
-
https://huggingface.co/Thrisha04/Chat/resolve/main/public/css/styles.min.css
- Command line
-
hf download hf://Thrisha04/Chat/public/css/styles.min.css
-
curl -L -o styles.min.css https://huggingface.co/Thrisha04/Chat/resolve/main/public/css/styles.min.css
2.91 kB
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| html { | |
| font-size: 16px; | |
| } | |
| body { | |
| line-height: 1.4; | |
| color: #333; | |
| font-family: Helvetica, Arial, sans-serif; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| height: 100vh; | |
| background-color: #f0f0f0; | |
| } | |
| .chat { | |
| display: flex; | |
| height: 90vh; | |
| width: 90vw; | |
| max-width: 900px; | |
| box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | |
| background: #ffffff; | |
| } | |
| .chat__sidebar { | |
| height: 100%; | |
| color: #fff; | |
| background: #333744; | |
| width: 30%; | |
| overflow-y: auto; | |
| padding: 1rem 0; | |
| } | |
| .chat__main { | |
| flex-grow: 1; | |
| display: flex; | |
| flex-direction: column; | |
| max-height: 100%; | |
| } | |
| .chat__messages { | |
| flex-grow: 1; | |
| padding: 1.5rem; | |
| overflow-y: auto; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .message { | |
| margin-bottom: 1rem; | |
| max-width: 70%; | |
| word-wrap: break-word; | |
| } | |
| .message--right { | |
| align-self: flex-end; | |
| background: #dcf8c6; | |
| border-radius: 10px 10px 0 10px; | |
| padding: 8px 12px; | |
| } | |
| .message--left { | |
| align-self: flex-start; | |
| background: #f1f1f1; | |
| border-radius: 10px 10px 10px 0; | |
| padding: 8px 12px; | |
| } | |
| .message__name { | |
| font-weight: 600; | |
| font-size: 14px; | |
| margin-right: 8px; | |
| } | |
| .message__meta { | |
| color: #777; | |
| font-size: 14px; | |
| } | |
| .message a { | |
| color: #0070CC; | |
| } | |
| .compose { | |
| display: flex; | |
| flex-shrink: 0; | |
| padding: 1.5rem; | |
| border-top: 1px solid #eee; | |
| } | |
| .compose form { | |
| display: flex; | |
| flex-grow: 1; | |
| margin-right: 1rem; | |
| } | |
| .compose input { | |
| border: 1px solid #eee; | |
| padding: 0.75rem; | |
| margin-right: 0.5rem; | |
| flex-grow: 1; | |
| } | |
| .compose button { | |
| font-size: 0.875rem; | |
| } | |
| .room-title { | |
| font-weight: 400; | |
| font-size: 1.375rem; | |
| background: #2c2f3a; | |
| padding: 1.5rem; | |
| } | |
| .list-title { | |
| font-weight: 500; | |
| font-size: 1.125rem; | |
| margin-bottom: 0.25rem; | |
| padding: 0.75rem 1.5rem 0; | |
| } | |
| .users { | |
| list-style-type: none; | |
| font-weight: 300; | |
| padding: 0.75rem 1.5rem 0; | |
| } | |
| @media (max-width: 600px) { | |
| .chat { | |
| width: 100vw; | |
| height: 100vh; | |
| flex-direction: column; | |
| } | |
| .chat__messages { | |
| flex-grow: 1; | |
| padding: 1.5rem; | |
| overflow-y: auto; | |
| display: flex; | |
| flex-direction: column; | |
| scrollbar-width: none; | |
| -ms-overflow-style: none; | |
| } | |
| .chat__messages::-webkit-scrollbar { | |
| display: none; | |
| } | |
| .chat__sidebar { | |
| width: 100%; | |
| height: auto; | |
| order: 2; | |
| } | |
| .chat__main { | |
| height: calc(100vh - 225px); | |
| order: 1; | |
| } | |
| .compose { | |
| padding: 1rem; | |
| } | |
| .compose input { | |
| margin-right: 0.5rem; | |
| } | |
| } | |