Spaces:
Running
Running
Download style.css from LeonBasinWriter/writing: direct link, hf CLI and curl.
- Browser
- Download file 2.63 kB
-
https://huggingface.co/spaces/LeonBasinWriter/writing/resolve/main/style.css
- Command line
-
hf download hf://spaces/LeonBasinWriter/writing/style.css
-
curl -L -o style.css https://huggingface.co/spaces/LeonBasinWriter/writing/resolve/main/style.css
2.63 kB
| :root { | |
| --bg-color: #fdfcf0; /* Warm cream paper */ | |
| --text-color: #1a1a1a; | |
| --accent-color: #c04e2e; /* Terracotta */ | |
| --secondary-color: #666; | |
| --border-color: #e5e0d0; | |
| } | |
| body { | |
| background-color: var(--bg-color); | |
| color: var(--text-color); | |
| font-family: 'EB Garamond', serif; | |
| line-height: 1.6; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| .container { | |
| max-width: 800px; | |
| margin: 0 auto; | |
| padding: 0 2rem; | |
| } | |
| header { | |
| padding: 3rem 0; | |
| border-bottom: 1px solid var(--border-color); | |
| margin-bottom: 4rem; | |
| } | |
| .header-nav { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: baseline; | |
| margin-bottom: 1rem; | |
| } | |
| .logo { | |
| font-family: 'Playfair Display', serif; | |
| font-size: 1.5rem; | |
| font-weight: 700; | |
| } | |
| nav a { | |
| text-decoration: none; | |
| color: var(--text-color); | |
| margin-left: 1.5rem; | |
| font-family: 'Inter', sans-serif; | |
| font-size: 0.9rem; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| } | |
| .header-concept { | |
| font-family: 'Inter', sans-serif; | |
| font-size: 0.8rem; | |
| color: var(--secondary-color); | |
| text-transform: uppercase; | |
| letter-spacing: 0.1em; | |
| } | |
| .hero { | |
| margin-bottom: 6rem; | |
| } | |
| h1 { | |
| font-family: 'Playfair Display', serif; | |
| font-size: 4rem; | |
| line-height: 1.1; | |
| margin: 0 0 1.5rem 0; | |
| color: var(--text-color); | |
| } | |
| .subtitle { | |
| font-size: 1.4rem; | |
| color: var(--secondary-color); | |
| max-width: 600px; | |
| } | |
| .article-list article { | |
| margin-bottom: 4rem; | |
| display: grid; | |
| grid-template-columns: 120px 1fr; | |
| gap: 2rem; | |
| } | |
| time { | |
| font-family: 'Inter', sans-serif; | |
| font-size: 0.8rem; | |
| color: var(--accent-color); | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| padding-top: 0.5rem; | |
| } | |
| h2 { | |
| font-family: 'Playfair Display', serif; | |
| font-size: 2rem; | |
| margin: 0 0 1rem 0; | |
| line-height: 1.2; | |
| } | |
| .article-body p { | |
| font-size: 1.2rem; | |
| margin-bottom: 1rem; | |
| color: #333; | |
| } | |
| .tags { | |
| display: flex; | |
| gap: 1rem; | |
| } | |
| .tags span { | |
| font-family: 'Inter', sans-serif; | |
| font-size: 0.75rem; | |
| color: var(--secondary-color); | |
| border: 1px solid var(--border-color); | |
| padding: 2px 8px; | |
| border-radius: 4px; | |
| } | |
| footer { | |
| margin-top: 8rem; | |
| padding: 4rem 0; | |
| border-top: 1px solid var(--border-color); | |
| font-family: 'Inter', sans-serif; | |
| font-size: 0.8rem; | |
| color: var(--secondary-color); | |
| } | |
| .footer-content { | |
| display: flex; | |
| justify-content: space-between; | |
| } | |
| @media (max-width: 600px) { | |
| h1 { font-size: 2.5rem; } | |
| .article-list article { | |
| grid-template-columns: 1fr; | |
| gap: 0.5rem; | |
| } | |
| } |