diff options
| author | murilo ijanc | 2026-03-24 21:41:06 -0300 |
|---|---|---|
| committer | murilo ijanc | 2026-03-24 21:41:06 -0300 |
| commit | f186b71ca51e83837db60de13322394bb5e6d348 (patch) | |
| tree | cd7940eaa16b83d2cde7b18123411bfb161f7ebb /style.css | |
| download | website-f186b71ca51e83837db60de13322394bb5e6d348.tar.gz | |
Initial commit
Import existing tesseras.net website content.
Diffstat (limited to 'style.css')
| -rw-r--r-- | style.css | 182 |
1 files changed, 182 insertions, 0 deletions
diff --git a/style.css b/style.css new file mode 100644 index 0000000..1e49bd0 --- /dev/null +++ b/style.css @@ -0,0 +1,182 @@ +*, +*::before, +*::after { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +body { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, + Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, + Noto Sans, sans-serif; + font-size: 1rem; + line-height: 1.6; + color: #2c2c2c; + background-color: #faf8f5; + max-width: 42em; + margin: 0 auto; + padding: 2em 1em; +} + +a { + color: #4a4a4a; + text-decoration: underline; +} + +a:hover { + color: #1a1a1a; +} + +header { + margin-bottom: 3em; +} + +header h1 { + font-size: 1.8rem; + font-weight: 700; + margin-bottom: 0.5em; +} + +header h1 a { + text-decoration: none; + color: #2c2c2c; + display: inline-flex; + align-items: center; + gap: 0.4em; +} + +.logo { + vertical-align: middle; +} + +header h1 a:hover { + color: #1a1a1a; +} + +nav { + margin-bottom: 0.3em; +} + +nav a { + margin-right: 0.3em; +} + +nav a:not(:last-child)::after { + content: " |"; + color: #d4cfc8; + text-decoration: none; + margin-left: 0.3em; +} + +nav.lang-switch { + font-size: 0.85rem; + margin-top: 0.3em; +} + +nav.lang-switch a::after { + content: ""; +} + +main { + margin-bottom: 3em; +} + +h2 { + font-size: 1.3rem; + font-weight: 600; + margin-top: 1.5em; + margin-bottom: 0.5em; +} + +h3 { + font-size: 1.1rem; + font-weight: 600; + margin-top: 1.2em; + margin-bottom: 0.4em; +} + +p { + margin-bottom: 1em; +} + +ul, ol { + margin-bottom: 1em; + padding-left: 1.5em; +} + +li { + margin-bottom: 0.3em; +} + +code { + font-family: "Fira Code", "Source Code Pro", "Cascadia Code", Consolas, + "Liberation Mono", Menlo, monospace; + background-color: #f0ece6; + padding: 0.1em 0.3em; + border-radius: 2px; + font-size: 0.9em; +} + +pre { + background-color: #f0ece6; + padding: 1em; + overflow-x: auto; + margin-bottom: 1em; + border-radius: 2px; +} + +pre code { + padding: 0; + background: none; +} + +table { + width: 100%; + border-collapse: collapse; + margin-bottom: 1em; +} + +th, td { + text-align: left; + padding: 0.4em 0.6em; + border-bottom: 1px solid #d4cfc8; +} + +th { + font-weight: 600; + border-bottom: 2px solid #d4cfc8; +} + +hr { + border: none; + border-top: 1px solid #d4cfc8; + margin: 2em 0; +} + +footer { + border-top: 1px solid #d4cfc8; + padding-top: 1em; + font-size: 0.85rem; + color: #6a6a6a; +} + +.news-list { + list-style: none; + padding-left: 0; +} + +.news-list li { + margin-bottom: 1em; + padding-bottom: 1em; + border-bottom: 1px solid #d4cfc8; +} + +.news-list li:last-child { + border-bottom: none; +} + +.news-date { + font-size: 0.85rem; + color: #6a6a6a; +} |