sardine-cms-theme-ph7x-reference 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sardine_cms_theme_ph7x_reference-0.1.0/.gitignore +37 -0
- sardine_cms_theme_ph7x_reference-0.1.0/PKG-INFO +25 -0
- sardine_cms_theme_ph7x_reference-0.1.0/README.md +16 -0
- sardine_cms_theme_ph7x_reference-0.1.0/pyproject.toml +18 -0
- sardine_cms_theme_ph7x_reference-0.1.0/src/cms_theme_ph7x_reference/__init__.py +19 -0
- sardine_cms_theme_ph7x_reference-0.1.0/src/cms_theme_ph7x_reference/assets/blog.css +409 -0
- sardine_cms_theme_ph7x_reference-0.1.0/src/cms_theme_ph7x_reference/assets/favicon.svg +8 -0
- sardine_cms_theme_ph7x_reference-0.1.0/src/cms_theme_ph7x_reference/assets/fonts/OFL.txt +92 -0
- sardine_cms_theme_ph7x_reference-0.1.0/src/cms_theme_ph7x_reference/assets/fonts/inter-normal-latin.woff2 +0 -0
- sardine_cms_theme_ph7x_reference-0.1.0/src/cms_theme_ph7x_reference/assets/fonts/inter-normal-latinext.woff2 +0 -0
- sardine_cms_theme_ph7x_reference-0.1.0/src/cms_theme_ph7x_reference/assets/fonts/newsreader-italic-latin.woff2 +0 -0
- sardine_cms_theme_ph7x_reference-0.1.0/src/cms_theme_ph7x_reference/assets/fonts/newsreader-italic-latinext.woff2 +0 -0
- sardine_cms_theme_ph7x_reference-0.1.0/src/cms_theme_ph7x_reference/assets/fonts/newsreader-normal-latin.woff2 +0 -0
- sardine_cms_theme_ph7x_reference-0.1.0/src/cms_theme_ph7x_reference/assets/fonts/newsreader-normal-latinext.woff2 +0 -0
- sardine_cms_theme_ph7x_reference-0.1.0/src/cms_theme_ph7x_reference/assets/legal.css +279 -0
- sardine_cms_theme_ph7x_reference-0.1.0/src/cms_theme_ph7x_reference/assets/sardine.css +68 -0
- sardine_cms_theme_ph7x_reference-0.1.0/src/cms_theme_ph7x_reference/assets/site.css +403 -0
- sardine_cms_theme_ph7x_reference-0.1.0/src/cms_theme_ph7x_reference/assets/utils.css +9 -0
- sardine_cms_theme_ph7x_reference-0.1.0/src/cms_theme_ph7x_reference/templates/article.html.j2 +33 -0
- sardine_cms_theme_ph7x_reference-0.1.0/src/cms_theme_ph7x_reference/templates/base.html.j2 +50 -0
- sardine_cms_theme_ph7x_reference-0.1.0/src/cms_theme_ph7x_reference/templates/listing.html.j2 +53 -0
- sardine_cms_theme_ph7x_reference-0.1.0/src/cms_theme_ph7x_reference/templates/not_found.html.j2 +15 -0
- sardine_cms_theme_ph7x_reference-0.1.0/src/cms_theme_ph7x_reference/templates/page.html.j2 +123 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*.egg-info/
|
|
5
|
+
.venv/
|
|
6
|
+
venv/
|
|
7
|
+
.mypy_cache/
|
|
8
|
+
.ruff_cache/
|
|
9
|
+
.pytest_cache/
|
|
10
|
+
.coverage
|
|
11
|
+
htmlcov/
|
|
12
|
+
dist/
|
|
13
|
+
build/
|
|
14
|
+
|
|
15
|
+
# Node (admin panel UI, if applicable)
|
|
16
|
+
node_modules/
|
|
17
|
+
*.tsbuildinfo
|
|
18
|
+
|
|
19
|
+
# Environment and secrets
|
|
20
|
+
.env
|
|
21
|
+
.env.*
|
|
22
|
+
!.env.example
|
|
23
|
+
|
|
24
|
+
# Local databases
|
|
25
|
+
*.sqlite3
|
|
26
|
+
*.db
|
|
27
|
+
|
|
28
|
+
# Static build output
|
|
29
|
+
_site/
|
|
30
|
+
out/
|
|
31
|
+
export/
|
|
32
|
+
|
|
33
|
+
# OS / editors
|
|
34
|
+
.DS_Store
|
|
35
|
+
.idea/
|
|
36
|
+
.vscode/
|
|
37
|
+
!.vscode/settings.json
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: sardine-cms-theme-ph7x-reference
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Sardine CMS reference theme: dark editorial design system with local fonts
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
Requires-Python: >=3.12
|
|
7
|
+
Requires-Dist: sardine-cms-build
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
|
|
10
|
+
# cms-theme-ph7x-reference
|
|
11
|
+
|
|
12
|
+
The Sardine CMS reference theme: a dark editorial design system — token-driven,
|
|
13
|
+
local Inter/Newsreader fonts (OFL, shipped alongside), CSS-only effects that
|
|
14
|
+
honor reduced motion, zero inline styles, no external requests.
|
|
15
|
+
|
|
16
|
+
```toml
|
|
17
|
+
# sardine.toml
|
|
18
|
+
[site]
|
|
19
|
+
theme = "ph7x-reference"
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Installed as a package, discovered via the `sardine.themes` entry point
|
|
23
|
+
(ADR-0012); it layers over the default theme's templates, so it only ships
|
|
24
|
+
what it changes. Conformance: docs/DESIGN_RULES.md, tested by the theme
|
|
25
|
+
conformance suite.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# cms-theme-ph7x-reference
|
|
2
|
+
|
|
3
|
+
The Sardine CMS reference theme: a dark editorial design system — token-driven,
|
|
4
|
+
local Inter/Newsreader fonts (OFL, shipped alongside), CSS-only effects that
|
|
5
|
+
honor reduced motion, zero inline styles, no external requests.
|
|
6
|
+
|
|
7
|
+
```toml
|
|
8
|
+
# sardine.toml
|
|
9
|
+
[site]
|
|
10
|
+
theme = "ph7x-reference"
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Installed as a package, discovered via the `sardine.themes` entry point
|
|
14
|
+
(ADR-0012); it layers over the default theme's templates, so it only ships
|
|
15
|
+
what it changes. Conformance: docs/DESIGN_RULES.md, tested by the theme
|
|
16
|
+
conformance suite.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "sardine-cms-theme-ph7x-reference"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "Sardine CMS reference theme: dark editorial design system with local fonts"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.12"
|
|
7
|
+
license = "Apache-2.0"
|
|
8
|
+
dependencies = ["sardine-cms-build"]
|
|
9
|
+
|
|
10
|
+
[project.entry-points."sardine.themes"]
|
|
11
|
+
ph7x-reference = "cms_theme_ph7x_reference:ReferenceTheme"
|
|
12
|
+
|
|
13
|
+
[build-system]
|
|
14
|
+
requires = ["hatchling"]
|
|
15
|
+
build-backend = "hatchling.build"
|
|
16
|
+
|
|
17
|
+
[tool.hatch.build.targets.wheel]
|
|
18
|
+
packages = ["src/cms_theme_ph7x_reference"]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"""Sardine CMS reference theme (dark editorial design system)."""
|
|
2
|
+
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
|
|
5
|
+
from cms_build.themes.jinja import JinjaTheme
|
|
6
|
+
|
|
7
|
+
__version__ = "0.1.0"
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ReferenceTheme(JinjaTheme):
|
|
11
|
+
"""Layers over the default theme: only changed templates/assets ship here."""
|
|
12
|
+
|
|
13
|
+
name = "ph7x-reference"
|
|
14
|
+
|
|
15
|
+
def __init__(self, overrides: Path | None = None) -> None:
|
|
16
|
+
super().__init__(
|
|
17
|
+
layers=("cms_theme_ph7x_reference", "cms_build.themes.default"),
|
|
18
|
+
overrides=overrides,
|
|
19
|
+
)
|
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
/* ═══════════════════════════════════════════════════════════════════════════
|
|
2
|
+
[hidden] TEM DE ESCONDER. Ponto.
|
|
3
|
+
|
|
4
|
+
O [hidden]{display:none} do browser tem especificidade ZERO. QUALQUER regra
|
|
5
|
+
nossa com 'display' (grid, flex, block, inline-flex...) derrota-o em silencio,
|
|
6
|
+
e o elemento que devia estar escondido APARECE.
|
|
7
|
+
|
|
8
|
+
Ja mordeu duas vezes neste projeto:
|
|
9
|
+
- o aviso de privacidade nao desaparecia;
|
|
10
|
+
- o formulario de contacto aparecia ANTES de o visitante aceitar o reCAPTCHA.
|
|
11
|
+
|
|
12
|
+
Esta linha mata a classe de bug inteira. NAO A APAGUES.
|
|
13
|
+
═══════════════════════════════════════════════════════════════════════════ */
|
|
14
|
+
[hidden]{display:none!important}
|
|
15
|
+
|
|
16
|
+
/* Blog. Herda o chrome do legal.css (header, footer, fontes, cores).
|
|
17
|
+
Aqui só o que é próprio do blog: grelha de cartões e tipografia de artigo.
|
|
18
|
+
|
|
19
|
+
ATENÇÃO à largura: o legal.css define --maxw:900px, porque as páginas legais
|
|
20
|
+
são texto corrido e 900px é a largura certa para as ler. O SITE usa 1220px.
|
|
21
|
+
Herdar o --maxw das legais encolhia a grelha do blog para 900 e desalinhava-a
|
|
22
|
+
de tudo o resto. Por isso o blog tem a SUA largura, explícita. */
|
|
23
|
+
.b-hero,.b-filters,.b-grid,.b-pager,.b-more,.b-more h2,.b-post{--bw:1220px}
|
|
24
|
+
|
|
25
|
+
/* ── lista ────────────────────────────────────────────────────────────────── */
|
|
26
|
+
.b-hero{max-width:var(--bw);margin:0 auto;padding:140px 28px 40px}
|
|
27
|
+
.b-hero h1{font-family:var(--serif);font-size:clamp(2.4rem,5.2vw,4rem);font-weight:300;line-height:1.06;letter-spacing:-.02em;color:var(--head);margin:14px 0 18px}
|
|
28
|
+
.b-hero .sub{color:var(--muted);font-size:1.06rem;max-width:60ch;line-height:1.75}
|
|
29
|
+
|
|
30
|
+
.b-filters{max-width:var(--bw);margin:0 auto;padding:0 28px 34px;display:flex;flex-wrap:wrap;gap:10px}
|
|
31
|
+
.b-filters a{border:1px solid var(--line-2);border-radius:100px;padding:.44rem .95rem;font-size:.78rem;color:var(--muted);text-decoration:none;transition:color .3s,border-color .3s}
|
|
32
|
+
.b-filters a:hover{color:var(--head);border-color:var(--faint)}
|
|
33
|
+
|
|
34
|
+
.b-grid{max-width:var(--bw);margin:0 auto;padding:0 28px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
|
|
35
|
+
|
|
36
|
+
.b-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:var(--panel);text-decoration:none;transition:border-color .5s,transform .5s cubic-bezier(.16,1,.3,1)}
|
|
37
|
+
.b-card:hover{border-color:var(--line-2);transform:translateY(-4px)}
|
|
38
|
+
.b-thumb{background:#121212;overflow:hidden;aspect-ratio:1200/440}
|
|
39
|
+
.b-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.16,1,.3,1)}
|
|
40
|
+
.b-card:hover .b-thumb img{transform:scale(1.03)}
|
|
41
|
+
.b-cbody{padding:26px 26px 28px;display:flex;flex-direction:column;flex:1;min-width:0}
|
|
42
|
+
.b-ctag{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--faint)}
|
|
43
|
+
.b-card h2{font-family:var(--serif);font-size:1.42rem;font-weight:400;line-height:1.28;color:var(--head);margin:12px 0 10px;overflow-wrap:break-word}
|
|
44
|
+
.b-card p{color:var(--muted);font-size:.94rem;line-height:1.7;flex:1;overflow-wrap:break-word}
|
|
45
|
+
.b-cmeta{display:flex;align-items:center;gap:8px;margin-top:20px;font-size:.76rem;color:var(--faint)}
|
|
46
|
+
.b-dot{opacity:.5}
|
|
47
|
+
.b-empty{color:var(--muted);padding:20px 0}
|
|
48
|
+
|
|
49
|
+
.b-pager{max-width:var(--bw);margin:0 auto;padding:48px 28px 0;display:flex;align-items:center;justify-content:center;gap:18px;font-size:.85rem}
|
|
50
|
+
.b-pager a{color:var(--muted);text-decoration:none;border-bottom:1px solid var(--line-2);padding-bottom:2px}
|
|
51
|
+
.b-pager a:hover{color:var(--accent);border-color:var(--accent)}
|
|
52
|
+
.b-pager span{color:var(--faint)}
|
|
53
|
+
|
|
54
|
+
/* ── artigo ───────────────────────────────────────────────────────────────── */
|
|
55
|
+
.b-post{max-width:var(--bw);margin:0 auto;padding:140px 28px 0}
|
|
56
|
+
|
|
57
|
+
/* O legal.css estiliza o ELEMENTO <header> (sticky, navy, z-index, borda),
|
|
58
|
+
porque assume que só existe um na página. O <header> semântico do artigo
|
|
59
|
+
(correto: um <header> dentro de um <article>) apanhava tudo isso e ficava
|
|
60
|
+
com um painel azul sticky por trás do título. */
|
|
61
|
+
.b-head{position:relative;background:transparent;border-bottom:0;z-index:auto;padding:10px 0 40px}
|
|
62
|
+
|
|
63
|
+
/* Os efeitos são os MESMOS da home: a aurora em CSS e a rede em <canvas>.
|
|
64
|
+
Copiados, não imitados: se a home mudar, isto tem de mudar com ela. */
|
|
65
|
+
.aurora span{position:absolute;border-radius:50%;filter:blur(90px);opacity:.5;animation:drift 20s ease-in-out infinite}
|
|
66
|
+
.aurora .a1{width:900px;height:900px;background:radial-gradient(circle,#12213c,transparent 65%);top:-160px;right:-60px}
|
|
67
|
+
.aurora .a2{width:760px;height:760px;background:radial-gradient(circle,rgba(216,207,192,.06),transparent 60%);bottom:-180px;left:-80px;animation-delay:-8s}
|
|
68
|
+
@keyframes drift{0%,100%{transform:translate(0,0)}50%{transform:translate(40px,-36px)}}
|
|
69
|
+
@media(max-width:820px){.two{grid-template-columns:1fr;gap:30px}.two .lbl{position:static}}
|
|
70
|
+
@media(max-width:820px){.exp .row{grid-template-columns:1fr;gap:12px}}
|
|
71
|
+
@media(max-width:820px){.case{grid-template-columns:1fr}.case-visual{min-height:0}.case-visual img{height:auto}.case-alt .case-visual{order:0}.case-alt .case-body{order:1}}
|
|
72
|
+
@media(max-width:760px){
|
|
73
|
+
.clients-sec .wrap{padding:0}
|
|
74
|
+
/* esbatimento largo: os logos entram e saem, nunca aparecem decepados */
|
|
75
|
+
.clients-mask{-webkit-mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent);mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent)}
|
|
76
|
+
.clients-row{justify-content:flex-start;width:max-content;animation:marq 26s linear infinite}
|
|
77
|
+
.clients-row:hover,.clients-row:active{animation-play-state:paused}
|
|
78
|
+
/* escala mais leve: a faixa flui, em vez de espremer 3,5 logos grandes */
|
|
79
|
+
.cset{flex-wrap:nowrap;gap:46px;padding-right:46px}
|
|
80
|
+
.cset.dup{display:flex}
|
|
81
|
+
.tile{height:42px}
|
|
82
|
+
.tile img{max-height:42px;max-width:140px;opacity:.8}
|
|
83
|
+
}
|
|
84
|
+
/* Aurora e rede de partículas no cabeçalho do artigo. As propriedades base
|
|
85
|
+
vivem inline na homepage (não estão no legal.css), por isso vêm para aqui,
|
|
86
|
+
scoped ao .b-head para não afetarem mais nada. */
|
|
87
|
+
.b-head{overflow:hidden;border-radius:6px}
|
|
88
|
+
.b-head .aurora{position:absolute;inset:0;overflow:hidden;pointer-events:none}
|
|
89
|
+
.b-head .aurora span{position:absolute;border-radius:50%;filter:blur(90px);opacity:.5;animation:drift 20s ease-in-out infinite}
|
|
90
|
+
.b-head .a1{width:560px;height:560px;background:radial-gradient(circle,#12213c,transparent 65%);top:-200px;right:-80px}
|
|
91
|
+
.b-head .a2{width:460px;height:460px;background:radial-gradient(circle,rgba(216,207,192,.06),transparent 60%);bottom:-200px;left:-100px;animation-delay:-8s}
|
|
92
|
+
.b-head .net{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:.9}
|
|
93
|
+
@keyframes drift{0%,100%{transform:translate(0,0)}50%{transform:translate(26px,-22px)}}
|
|
94
|
+
@media(prefers-reduced-motion:reduce){.b-head .aurora span{animation:none}}
|
|
95
|
+
|
|
96
|
+
.b-head>*{position:relative;z-index:1}
|
|
97
|
+
.b-back{font-size:.8rem;color:var(--muted);text-decoration:none}
|
|
98
|
+
.b-back:hover{color:var(--accent)}
|
|
99
|
+
.b-cat{display:inline-block;margin-left:14px;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--faint);text-decoration:none}
|
|
100
|
+
.b-cat:hover{color:var(--accent)}
|
|
101
|
+
.b-post h1{max-width:22ch;font-family:var(--serif);font-size:clamp(2.4rem,5vw,4.2rem);font-weight:300;line-height:1.1;letter-spacing:-.02em;color:var(--head);margin:22px 0 18px}
|
|
102
|
+
.b-lede{max-width:70ch;color:var(--ink);font-size:1.2rem;line-height:1.75;margin-bottom:26px}
|
|
103
|
+
.b-by{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:.8rem;color:var(--faint);padding-bottom:34px;border-bottom:1px solid var(--line)}
|
|
104
|
+
|
|
105
|
+
.b-cover{margin:34px 0 40px;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#121212}
|
|
106
|
+
.b-cover img{width:100%;height:auto;display:block}
|
|
107
|
+
|
|
108
|
+
/* width/height nos <img> são presentational hints: onde o CSS só define max-width,
|
|
109
|
+
o atributo height passa a valer como altura literal e ESTICA a imagem.
|
|
110
|
+
width/height:auto devolve o comando ao CSS e deixa os atributos só a dar o rácio. */
|
|
111
|
+
.b-body img{width:auto;height:auto;max-width:100%;display:block;margin:32px auto;border:1px solid var(--line);border-radius:6px}
|
|
112
|
+
|
|
113
|
+
.b-body{color:var(--ink);font-size:1.08rem;line-height:1.85}
|
|
114
|
+
/* Só margin-BOTTOM. Escrever 'margin:0' aqui punha margin-top:0 com mais
|
|
115
|
+
especificidade do que a regra de baixo, e matava o espaçamento todo: os
|
|
116
|
+
parágrafos ficavam colados uns aos outros. O legal.css dá margin-bottom
|
|
117
|
+
ao 'article p'; é só essa que se anula. */
|
|
118
|
+
.b-body p,.b-body ul,.b-body ol{margin-bottom:0}
|
|
119
|
+
.b-body>*+*{margin-top:26px}
|
|
120
|
+
/* :first-of-type porque o legal.css tem 'article h2:first-of-type{margin-top:0}',
|
|
121
|
+
que faz sentido numa página legal (o título encosta ao topo) e tem mais
|
|
122
|
+
especificidade do que a nossa. Sem isto o primeiro h2 cola-se ao parágrafo. */
|
|
123
|
+
.b-body h2,.b-body h2:first-of-type{font-family:var(--serif);font-size:1.75rem;font-weight:400;color:var(--head);margin-top:54px;line-height:1.3}
|
|
124
|
+
.b-body h3{font-size:1.12rem;font-weight:600;color:var(--head);margin-top:38px;letter-spacing:.01em}
|
|
125
|
+
.b-body strong{color:var(--head);font-weight:500}
|
|
126
|
+
.b-body a{color:var(--accent);text-decoration:none;border-bottom:1px solid rgba(216,207,192,.32)}
|
|
127
|
+
.b-body a:hover{border-color:var(--accent)}
|
|
128
|
+
.b-body ul,.b-body ol{padding-left:22px}
|
|
129
|
+
.b-body li+li{margin-top:10px}
|
|
130
|
+
.b-body blockquote{border-left:2px solid var(--accent);padding:4px 0 4px 22px;color:var(--head);font-family:var(--serif);font-size:1.25rem;font-style:italic}
|
|
131
|
+
.b-body code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em;background:var(--panel);border:1px solid var(--line);border-radius:4px;padding:.12em .4em}
|
|
132
|
+
.b-body pre{background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:20px;overflow-x:auto}
|
|
133
|
+
.b-body pre code{background:none;border:0;padding:0}
|
|
134
|
+
|
|
135
|
+
.b-tags{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:48px;font-size:.78rem;color:var(--faint)}
|
|
136
|
+
.b-tags a{color:var(--muted);text-decoration:none;border:1px solid var(--line-2);border-radius:100px;padding:.34rem .8rem}
|
|
137
|
+
.b-tags a:hover{color:var(--head);border-color:var(--faint)}
|
|
138
|
+
|
|
139
|
+
.b-author{margin:60px 0 0;padding:34px;border:1px solid var(--line);border-radius:6px;background:var(--panel)}
|
|
140
|
+
.b-author h2{font-family:var(--serif);font-size:1.35rem;font-weight:400;color:var(--head);margin-bottom:12px}
|
|
141
|
+
.b-author p{color:var(--muted);font-size:.96rem;line-height:1.75}
|
|
142
|
+
.b-cta{display:inline-block;margin-top:20px;font-size:.85rem;color:var(--accent);text-decoration:none;border-bottom:1px solid rgba(216,207,192,.32);padding-bottom:2px}
|
|
143
|
+
.b-cta:hover{border-color:var(--accent)}
|
|
144
|
+
|
|
145
|
+
.b-more{max-width:var(--bw);margin:0 auto;padding:110px 0 0}
|
|
146
|
+
.b-more h2{max-width:var(--bw);margin:0 auto 30px;padding:0 28px;font-family:var(--serif);font-size:1.6rem;font-weight:300;color:var(--head)}
|
|
147
|
+
|
|
148
|
+
main{padding-bottom:110px}
|
|
149
|
+
|
|
150
|
+
/* ── mobile ───────────────────────────────────────────────────────────────── */
|
|
151
|
+
@media(max-width:900px){
|
|
152
|
+
.b-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
|
|
153
|
+
}
|
|
154
|
+
@media(max-width:640px){
|
|
155
|
+
.b-hero{padding:120px 22px 30px}
|
|
156
|
+
.b-grid{grid-template-columns:minmax(0,1fr);padding:0 22px;gap:20px}
|
|
157
|
+
.b-filters{padding:0 22px 26px}
|
|
158
|
+
.b-post{padding:120px 22px 0}
|
|
159
|
+
.b-more h2{padding:0 22px}
|
|
160
|
+
.b-author{padding:26px 22px}
|
|
161
|
+
}
|
|
162
|
+
/* ── contacto ─────────────────────────────────────────────────────────────── */
|
|
163
|
+
.ct{max-width:var(--bw);--bw:1220px;margin:0 auto;padding:150px 28px 0}
|
|
164
|
+
.ct h1{max-width:16ch;font-family:var(--serif);font-size:clamp(2.4rem,5vw,4.2rem);font-weight:300;line-height:1.06;letter-spacing:-.02em;color:var(--head);margin:14px 0 20px}
|
|
165
|
+
.ct-sub{max-width:70ch;color:var(--muted);font-size:1.1rem;line-height:1.75;margin-bottom:52px}
|
|
166
|
+
|
|
167
|
+
/* o portão: o script da Google só entra depois de aceitarem */
|
|
168
|
+
.ct-gate{border:1px solid var(--line-2);border-radius:8px;background:var(--panel);padding:36px 40px}
|
|
169
|
+
.ct-gate h2{font-family:var(--serif);font-size:1.4rem;font-weight:400;color:var(--head);margin-bottom:12px}
|
|
170
|
+
.ct-gate p{max-width:78ch;color:var(--muted);font-size:.96rem;line-height:1.75}
|
|
171
|
+
.ct-gate-a{display:flex;flex-wrap:wrap;align-items:center;gap:22px;margin-top:26px}
|
|
172
|
+
|
|
173
|
+
.ct-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 28px}
|
|
174
|
+
.ct-row{margin-bottom:26px}
|
|
175
|
+
.ct-row.wide{grid-column:1 / -1}
|
|
176
|
+
.ct-consent{grid-column:1 / -1}
|
|
177
|
+
.ct-actions{grid-column:1 / -1}
|
|
178
|
+
.ct-rc{grid-column:1 / -1}
|
|
179
|
+
.ct-row label{display:block;font-size:.82rem;letter-spacing:.04em;color:var(--muted);margin-bottom:9px}
|
|
180
|
+
.ct-opt{color:var(--faint);font-size:.76rem}
|
|
181
|
+
.ct-row input,.ct-row textarea{width:100%;background:var(--panel);border:1px solid var(--line-2);border-radius:4px;padding:13px 15px;color:var(--head);font-family:var(--sans);font-size:1rem;line-height:1.6;transition:border-color .3s}
|
|
182
|
+
.ct-row input:focus,.ct-row textarea:focus{outline:0;border-color:var(--accent)}
|
|
183
|
+
.ct-row textarea{resize:vertical;min-height:180px}
|
|
184
|
+
|
|
185
|
+
.ct-consent{display:flex;gap:12px;align-items:flex-start;margin:30px 0;font-size:.9rem;color:var(--muted);line-height:1.7;cursor:pointer}
|
|
186
|
+
.ct-consent input{margin-top:5px;accent-color:var(--accent);width:16px;height:16px;flex:none}
|
|
187
|
+
.ct-consent a{color:var(--accent);border-bottom:1px solid rgba(216,207,192,.32)}
|
|
188
|
+
/* consentimentos seguidos ficam JUNTOS: são o mesmo bloco, não dois assuntos */
|
|
189
|
+
.ct-consent + .ct-consent{margin-top:-18px}
|
|
190
|
+
|
|
191
|
+
.ct-actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px}
|
|
192
|
+
.ct-err{color:#e0796f;font-size:.88rem}
|
|
193
|
+
.ct-rc{margin-top:26px;color:var(--faint);font-size:.76rem;line-height:1.6}
|
|
194
|
+
|
|
195
|
+
.ct-done{border:1px solid var(--line-2);border-radius:8px;background:var(--panel);padding:38px 40px}
|
|
196
|
+
.ct-done h2{font-family:var(--serif);font-size:1.6rem;font-weight:400;color:var(--head);margin-bottom:12px}
|
|
197
|
+
.ct-done p{max-width:78ch;color:var(--muted);font-size:1rem;line-height:1.8}
|
|
198
|
+
|
|
199
|
+
@media(max-width:900px){
|
|
200
|
+
.ct-form{grid-template-columns:minmax(0,1fr)}
|
|
201
|
+
}
|
|
202
|
+
@media(max-width:640px){
|
|
203
|
+
.ct{padding:120px 22px 0}
|
|
204
|
+
.ct-gate,.ct-done{padding:24px 20px}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/* O .btn e o .eyebrow vivem no home.css, que estas páginas não carregam.
|
|
208
|
+
Definidos aqui SÓ para o contacto, em vez de duplicar o chrome todo. */
|
|
209
|
+
.ct .eyebrow{display:block;font-size:.72rem;font-weight:500;letter-spacing:.24em;text-transform:uppercase;color:var(--muted);margin-bottom:18px}
|
|
210
|
+
.ct .btn{display:inline-flex;align-items:center;gap:.6em;font-family:var(--sans);font-size:.9rem;font-weight:500;padding:.85em 1.9em;border-radius:2px;border:1px solid var(--line-2);color:var(--head);background:transparent;cursor:pointer;transition:.3s}
|
|
211
|
+
.ct .btn:hover{background:var(--head);color:#0e1626;border-color:var(--head)}
|
|
212
|
+
.ct .btn:disabled{opacity:.5;cursor:default}
|
|
213
|
+
.ct .btn:disabled:hover{background:transparent;color:var(--head);border-color:var(--line-2)}
|
|
214
|
+
.ct .btn-t{font-size:.88rem;color:var(--muted);border-bottom:1px solid var(--line-2);padding-bottom:2px;text-decoration:none;transition:.3s}
|
|
215
|
+
.ct .btn-t:hover{color:var(--accent);border-color:var(--accent)}
|
|
216
|
+
|
|
217
|
+
/* O emblema flutuante da Google. Escondê-lo só é permitido se a atribuição
|
|
218
|
+
aparecer em texto, e aparece: é o .ct-rc, logo abaixo do botão. */
|
|
219
|
+
.grecaptcha-badge{visibility:hidden}
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
/* ── código nos artigos ───────────────────────────────────────────────────────
|
|
223
|
+
Realce feito NO BUILD, com Pygments. Nada de Prism nem highlight.js: seriam
|
|
224
|
+
30 a 100 KB de JavaScript carregados por todos os leitores para colorir texto
|
|
225
|
+
que nunca muda. A página de artigo mantém-se com ZERO JavaScript. */
|
|
226
|
+
.hl-box{position:relative;margin:32px 0}
|
|
227
|
+
.hl-lang{position:absolute;top:0;right:0;padding:6px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);border-left:1px solid var(--line);border-bottom:1px solid var(--line)}
|
|
228
|
+
.b-body .hl{background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:22px;overflow-x:auto;font-size:.88rem;line-height:1.7}
|
|
229
|
+
.b-body .hl pre{background:none;border:0;padding:0;margin:0}
|
|
230
|
+
.b-body .hl code{background:none;border:0;padding:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
|
|
231
|
+
.hl .c { color: #7F848E } /* Comment */
|
|
232
|
+
.hl .err { color: #ABB2BF } /* Error */
|
|
233
|
+
.hl .esc { color: #ABB2BF } /* Escape */
|
|
234
|
+
.hl .g { color: #ABB2BF } /* Generic */
|
|
235
|
+
.hl .k { color: #C678DD } /* Keyword */
|
|
236
|
+
.hl .l { color: #ABB2BF } /* Literal */
|
|
237
|
+
.hl .n { color: #E06C75 } /* Name */
|
|
238
|
+
.hl .o { color: #56B6C2 } /* Operator */
|
|
239
|
+
.hl .x { color: #ABB2BF } /* Other */
|
|
240
|
+
.hl .p { color: #ABB2BF } /* Punctuation */
|
|
241
|
+
.hl .ch { color: #7F848E } /* Comment.Hashbang */
|
|
242
|
+
.hl .cm { color: #7F848E } /* Comment.Multiline */
|
|
243
|
+
.hl .cp { color: #7F848E } /* Comment.Preproc */
|
|
244
|
+
.hl .cpf { color: #7F848E } /* Comment.PreprocFile */
|
|
245
|
+
.hl .c1 { color: #7F848E } /* Comment.Single */
|
|
246
|
+
.hl .cs { color: #7F848E } /* Comment.Special */
|
|
247
|
+
.hl .gd { color: #E06C75 } /* Generic.Deleted */
|
|
248
|
+
.hl .ge { color: #ABB2BF; font-style: italic } /* Generic.Emph */
|
|
249
|
+
.hl .ges { color: #ABB2BF } /* Generic.EmphStrong */
|
|
250
|
+
.hl .gr { color: #E06C75 } /* Generic.Error */
|
|
251
|
+
.hl .gh { color: #ABB2BF; font-weight: bold } /* Generic.Heading */
|
|
252
|
+
.hl .gi { color: #98C379 } /* Generic.Inserted */
|
|
253
|
+
.hl .go { color: #E06C75 } /* Generic.Output */
|
|
254
|
+
.hl .gp { color: #ABB2BF } /* Generic.Prompt */
|
|
255
|
+
.hl .gs { color: #ABB2BF; font-weight: bold } /* Generic.Strong */
|
|
256
|
+
.hl .gu { color: #ABB2BF; font-weight: bold } /* Generic.Subheading */
|
|
257
|
+
.hl .gt { color: #E06C75 } /* Generic.Traceback */
|
|
258
|
+
.hl .kc { color: #E5C07B } /* Keyword.Constant */
|
|
259
|
+
.hl .kd { color: #C678DD } /* Keyword.Declaration */
|
|
260
|
+
.hl .kn { color: #C678DD } /* Keyword.Namespace */
|
|
261
|
+
.hl .kp { color: #C678DD } /* Keyword.Pseudo */
|
|
262
|
+
.hl .kr { color: #C678DD } /* Keyword.Reserved */
|
|
263
|
+
.hl .kt { color: #E5C07B } /* Keyword.Type */
|
|
264
|
+
.hl .ld { color: #ABB2BF } /* Literal.Date */
|
|
265
|
+
.hl .m { color: #D19A66 } /* Literal.Number */
|
|
266
|
+
.hl .s { color: #98C379 } /* Literal.String */
|
|
267
|
+
.hl .na { color: #E06C75 } /* Name.Attribute */
|
|
268
|
+
.hl .nb { color: #E5C07B } /* Name.Builtin */
|
|
269
|
+
.hl .nc { color: #E5C07B } /* Name.Class */
|
|
270
|
+
.hl .no { color: #E06C75 } /* Name.Constant */
|
|
271
|
+
.hl .nd { color: #61AFEF } /* Name.Decorator */
|
|
272
|
+
.hl .ni { color: #E06C75 } /* Name.Entity */
|
|
273
|
+
.hl .ne { color: #E06C75 } /* Name.Exception */
|
|
274
|
+
.hl .nf { color: #61AFEF; font-weight: bold } /* Name.Function */
|
|
275
|
+
.hl .nl { color: #E06C75 } /* Name.Label */
|
|
276
|
+
.hl .nn { color: #E06C75 } /* Name.Namespace */
|
|
277
|
+
.hl .nx { color: #E06C75 } /* Name.Other */
|
|
278
|
+
.hl .py { color: #E06C75 } /* Name.Property */
|
|
279
|
+
.hl .nt { color: #E06C75 } /* Name.Tag */
|
|
280
|
+
.hl .nv { color: #E06C75 } /* Name.Variable */
|
|
281
|
+
.hl .ow { color: #56B6C2 } /* Operator.Word */
|
|
282
|
+
.hl .pm { color: #ABB2BF } /* Punctuation.Marker */
|
|
283
|
+
.hl .w { color: #ABB2BF } /* Text.Whitespace */
|
|
284
|
+
.hl .mb { color: #D19A66 } /* Literal.Number.Bin */
|
|
285
|
+
.hl .mf { color: #D19A66 } /* Literal.Number.Float */
|
|
286
|
+
.hl .mh { color: #D19A66 } /* Literal.Number.Hex */
|
|
287
|
+
.hl .mi { color: #D19A66 } /* Literal.Number.Integer */
|
|
288
|
+
.hl .mo { color: #D19A66 } /* Literal.Number.Oct */
|
|
289
|
+
.hl .sa { color: #98C379 } /* Literal.String.Affix */
|
|
290
|
+
.hl .sb { color: #98C379 } /* Literal.String.Backtick */
|
|
291
|
+
.hl .sc { color: #98C379 } /* Literal.String.Char */
|
|
292
|
+
.hl .dl { color: #98C379 } /* Literal.String.Delimiter */
|
|
293
|
+
.hl .sd { color: #98C379 } /* Literal.String.Doc */
|
|
294
|
+
.hl .s2 { color: #98C379 } /* Literal.String.Double */
|
|
295
|
+
.hl .se { color: #98C379 } /* Literal.String.Escape */
|
|
296
|
+
.hl .sh { color: #98C379 } /* Literal.String.Heredoc */
|
|
297
|
+
.hl .si { color: #98C379 } /* Literal.String.Interpol */
|
|
298
|
+
.hl .sx { color: #98C379 } /* Literal.String.Other */
|
|
299
|
+
.hl .sr { color: #98C379 } /* Literal.String.Regex */
|
|
300
|
+
.hl .s1 { color: #98C379 } /* Literal.String.Single */
|
|
301
|
+
.hl .ss { color: #98C379 } /* Literal.String.Symbol */
|
|
302
|
+
.hl .bp { color: #E5C07B } /* Name.Builtin.Pseudo */
|
|
303
|
+
.hl .fm { color: #56B6C2; font-weight: bold } /* Name.Function.Magic */
|
|
304
|
+
.hl .vc { color: #E06C75 } /* Name.Variable.Class */
|
|
305
|
+
.hl .vg { color: #E06C75 } /* Name.Variable.Global */
|
|
306
|
+
.hl .vi { color: #E06C75 } /* Name.Variable.Instance */
|
|
307
|
+
.hl .vm { color: #E06C75 } /* Name.Variable.Magic */
|
|
308
|
+
.hl .il { color: #D19A66 } /* Literal.Number.Integer.Long */
|
|
309
|
+
|
|
310
|
+
/* ARMADILHA DO STICKY FOOTER, e ja custou caro.
|
|
311
|
+
O body e um flex container (para o rodape ficar sempre em baixo). Num flex
|
|
312
|
+
container, um filho com margin:0 auto ENCOLHE AO CONTEUDO e centra-se: o
|
|
313
|
+
max-width deixa de esticar. O .hero e o .meta sao filhos diretos do body e
|
|
314
|
+
ficaram a 685px em vez de 1220px, com o titulo a flutuar ao centro enquanto
|
|
315
|
+
o texto do artigo continuava a esquerda.
|
|
316
|
+
O width:100% devolve-lhes a largura, e o max-width volta a mandar.
|
|
317
|
+
NAO APAGUES ISTO. */
|
|
318
|
+
body > .hero, body > .meta{width:100%}
|
|
319
|
+
|
|
320
|
+
/* O FUNDO, EM TELEMÓVEL.
|
|
321
|
+
O efeito foi desenhado para um ecrã largo, onde ocupa uma fatia. Num
|
|
322
|
+
telemóvel ocupa o ecrã INTEIRO, e o que era ambiente passa a ser ruído por
|
|
323
|
+
cima do texto. Não se apaga: suaviza-se, e a rede de nós deixa de animar
|
|
324
|
+
(também poupa bateria, que num telemóvel não é detalhe). */
|
|
325
|
+
@media(max-width:760px){
|
|
326
|
+
/* A aurora fica difusa e parada: num ecrã pequeno, uma mancha a mexer atrás
|
|
327
|
+
do texto é ruído, e animá-la gasta bateria. A rede corre, mas mais discreta:
|
|
328
|
+
agora vive só no cabeçalho, acaba antes do primeiro parágrafo, e por isso
|
|
329
|
+
já não compete com a leitura. */
|
|
330
|
+
.aurora span{opacity:.22;filter:blur(70px);animation:none}
|
|
331
|
+
.net{opacity:.55}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/* O FUNDO VIVE NO CABEÇALHO, não na página toda.
|
|
335
|
+
Era position:fixed;inset:0 e acompanhava o scroll: a meio de um artigo
|
|
336
|
+
continuavam a passar linhas por trás do texto. Passa a ser uma faixa
|
|
337
|
+
ancorada ao topo, à largura toda do ecrã, com a altura do cabeçalho REAL
|
|
338
|
+
desta página (o fx.js mede-o e escreve o --fxh). O mask esbate o fim, para
|
|
339
|
+
não haver um corte a direito onde a faixa acaba.
|
|
340
|
+
O fallback de 520px serve só enquanto o JS não corre. */
|
|
341
|
+
/* A AURORA fica: é ambiente, é difusa, e não compete com o texto.
|
|
342
|
+
A REDE não. Era ela que passava linhas por trás do texto durante a leitura
|
|
343
|
+
inteira, e em tablet e telemóvel tornava-se ruído. Fica presa ao cabeçalho.
|
|
344
|
+
|
|
345
|
+
A altura NÃO é um número escrito à mão: um valor fixo acerta num breakpoint
|
|
346
|
+
e falha nos outros (o mesmo cabeçalho tem 951px no desktop e 699px no
|
|
347
|
+
telemóvel). O fx.js mede o cabeçalho real e escreve o --fxh. */
|
|
348
|
+
.aurora{position:fixed;inset:0;z-index:-2;overflow:hidden;pointer-events:none}
|
|
349
|
+
/* z-index:-1 e pointer-events:none NAO SAO DECORACAO.
|
|
350
|
+
Quando prendi a rede ao cabeçalho reescrevi esta regra e deixei cair as duas.
|
|
351
|
+
O canvas ficou POR CIMA do hero: comeu todos os cliques (o botão "Ver os
|
|
352
|
+
projetos" deixou de funcionar) e o botão direito passou a oferecer "Guardar
|
|
353
|
+
imagem", porque quem estava por baixo do rato era o canvas, não o site.
|
|
354
|
+
Um fundo que intercepta cliques não é um fundo. NAO AS TIRES. */
|
|
355
|
+
.net{position:absolute;top:0;left:0;width:100%;height:var(--fxh,520px);
|
|
356
|
+
z-index:-1;pointer-events:none;
|
|
357
|
+
-webkit-mask-image:linear-gradient(to bottom,#000 66%,transparent);
|
|
358
|
+
mask-image:linear-gradient(to bottom,#000 66%,transparent)}
|
|
359
|
+
|
|
360
|
+
/* O aviso de proteção do formulário. A atribuição ao reCAPTCHA é OBRIGATÓRIA
|
|
361
|
+
quando o distintivo está escondido (e está: o .grecaptcha-badge sai). */
|
|
362
|
+
.ct-prot{margin-top:34px;padding-top:26px;border-top:1px solid var(--line-2)}
|
|
363
|
+
.ct-prot h2{font-family:var(--sans);font-size:.9rem;font-weight:600;color:var(--head);margin:0 0 8px}
|
|
364
|
+
.ct-prot p{color:var(--muted);font-size:.84rem;line-height:1.7;margin:0}
|
|
365
|
+
.ct-rc{margin-top:10px!important;font-size:.78rem!important;color:var(--faint)!important}
|
|
366
|
+
.grecaptcha-badge{visibility:hidden}
|
|
367
|
+
|
|
368
|
+
/* OS CANAIS DIRETOS, na página de contacto. Não dependem do formulário nem da
|
|
369
|
+
API. Se o formulário falhar, e um dia falha, quem cá chega tem de conseguir
|
|
370
|
+
alcançar-nos na mesma. Um formulário partido numa página sem alternativa é um
|
|
371
|
+
cliente perdido que nunca nos vai dizer que tentou. */
|
|
372
|
+
.ct-alt{margin-top:56px;padding-top:34px;border-top:1px solid var(--line-2)}
|
|
373
|
+
.ct-alt h2{font-family:var(--serif);font-size:1.45rem;font-weight:400;color:var(--head);margin:0 0 22px}
|
|
374
|
+
.ct-ways{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}
|
|
375
|
+
.ct-ways li{display:flex;flex-direction:column;gap:5px}
|
|
376
|
+
.ct-ways span{font-family:var(--sans);font-size:.72rem;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
|
|
377
|
+
.ct-ways a{color:var(--head);font-size:1.02rem;border-bottom:1px solid var(--line-2);padding-bottom:3px;align-self:start;transition:color .3s,border-color .3s}
|
|
378
|
+
.ct-ways a:hover{color:var(--accent);border-color:var(--accent)}
|
|
379
|
+
/* O honeypot fica fora do ecrã, NÃO com display:none (um bot headless lê isso e
|
|
380
|
+
ignora o campo). Assim continua no DOM, preenchível por um bot, invisível
|
|
381
|
+
para o humano. Ver contact.template.html. */
|
|
382
|
+
.ct-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
|
|
383
|
+
|
|
384
|
+
/* ── ferramentas da lista: pesquisa + vistas ──────────────────────────────── */
|
|
385
|
+
.b-tools{--bw:1220px;max-width:var(--bw);margin:6px auto 20px;padding:0 28px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
|
|
386
|
+
.b-search-wrap{position:relative;flex:1;min-width:220px;max-width:420px}
|
|
387
|
+
.b-search-i{position:absolute;left:15px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--faint);pointer-events:none}
|
|
388
|
+
.b-search{width:100%;box-sizing:border-box;background:var(--panel);border:1px solid var(--line-2);border-radius:100px;color:var(--head);font-family:var(--sans);font-size:.9rem;padding:.72em 1.1em .72em 2.7em;transition:border-color .3s}
|
|
389
|
+
.b-search::placeholder{color:var(--faint)}
|
|
390
|
+
.b-search:focus{outline:none;border-color:var(--faint)}
|
|
391
|
+
.b-search::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
|
|
392
|
+
.b-views{display:inline-flex;gap:6px;margin-left:auto}
|
|
393
|
+
.b-views button{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;background:transparent;border:1px solid var(--line-2);border-radius:8px;color:var(--muted);cursor:pointer;transition:color .3s,border-color .3s,background .3s}
|
|
394
|
+
.b-views button svg{width:17px;height:17px}
|
|
395
|
+
.b-views button:hover{color:var(--head);border-color:var(--faint)}
|
|
396
|
+
.b-views button.on{color:var(--head);border-color:var(--faint);background:var(--panel)}
|
|
397
|
+
|
|
398
|
+
/* vista em lista: a mesma grelha, uma coluna, cada cartao em linha */
|
|
399
|
+
.b-grid.as-list{grid-template-columns:minmax(0,1fr);gap:14px}
|
|
400
|
+
.b-grid.as-list .b-card{flex-direction:row;align-items:stretch}
|
|
401
|
+
.b-grid.as-list .b-thumb{flex:0 0 32%;max-width:250px;aspect-ratio:auto}
|
|
402
|
+
.b-grid.as-list .b-cbody{padding:20px 26px}
|
|
403
|
+
.b-grid.as-list .b-card h2{margin-top:6px;font-size:1.26rem}
|
|
404
|
+
@media(max-width:640px){
|
|
405
|
+
.b-tools{padding:0 22px}
|
|
406
|
+
.b-views{margin-left:0}
|
|
407
|
+
.b-grid.as-list .b-card{flex-direction:column}
|
|
408
|
+
.b-grid.as-list .b-thumb{flex:none;max-width:none;aspect-ratio:1200/440}
|
|
409
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="Tin rocket">
|
|
2
|
+
<rect width="64" height="64" rx="14" fill="#0a0c12"/>
|
|
3
|
+
<g transform="translate(32 32) rotate(-38)">
|
|
4
|
+
<ellipse rx="17" ry="7" fill="none" stroke="#d8cfc0" stroke-width="2.5"/>
|
|
5
|
+
<path fill="#d8cfc0" d="M-17 0 Q-21 -3.5 -24 -5 Q-22 -1.8 -22 0 Q-22 1.8 -24 5 Q-21 3.5 -17 0Z"/>
|
|
6
|
+
<circle cx="12" cy="-1.5" r="1.6" fill="#0a0c12" stroke="#d8cfc0" stroke-width="1.4"/>
|
|
7
|
+
</g>
|
|
8
|
+
</svg>
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
These fonts are licensed under the SIL Open Font License, Version 1.1.
|
|
2
|
+
|
|
3
|
+
- Inter: Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter)
|
|
4
|
+
- Newsreader: Copyright 2020 The Newsreader Project Authors
|
|
5
|
+
(https://github.com/productiontype/Newsreader)
|
|
6
|
+
|
|
7
|
+
-----------------------------------------------------------
|
|
8
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
9
|
+
-----------------------------------------------------------
|
|
10
|
+
|
|
11
|
+
PREAMBLE
|
|
12
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
13
|
+
development of collaborative font projects, to support the font creation
|
|
14
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
15
|
+
open framework in which fonts may be shared and improved in partnership
|
|
16
|
+
with others.
|
|
17
|
+
|
|
18
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
19
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
20
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
21
|
+
redistributed and/or sold with any software provided that any reserved
|
|
22
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
23
|
+
however, cannot be released under any other type of license. The
|
|
24
|
+
requirement for fonts to remain under this license does not apply
|
|
25
|
+
to any document created using the fonts or their derivatives.
|
|
26
|
+
|
|
27
|
+
DEFINITIONS
|
|
28
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
29
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
30
|
+
include source files, build scripts and documentation.
|
|
31
|
+
|
|
32
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
33
|
+
copyright statement(s).
|
|
34
|
+
|
|
35
|
+
"Original Version" refers to the collection of Font Software components as
|
|
36
|
+
distributed by the Copyright Holder(s).
|
|
37
|
+
|
|
38
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
39
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
40
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
41
|
+
new environment.
|
|
42
|
+
|
|
43
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
44
|
+
writer or other person who contributed to the Font Software.
|
|
45
|
+
|
|
46
|
+
PERMISSION & CONDITIONS
|
|
47
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
48
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
49
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
50
|
+
Software, subject to the following conditions:
|
|
51
|
+
|
|
52
|
+
1) Neither the Font Software nor any of its individual components,
|
|
53
|
+
in Original or Modified Versions, may be sold by itself.
|
|
54
|
+
|
|
55
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
56
|
+
redistributed and/or sold with any software, provided that each copy
|
|
57
|
+
contains the above copyright notice and this license. These can be
|
|
58
|
+
included either as stand-alone text files, human-readable headers or
|
|
59
|
+
in the appropriate machine-readable metadata fields within text or
|
|
60
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
61
|
+
|
|
62
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
63
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
64
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
65
|
+
presented to the users.
|
|
66
|
+
|
|
67
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
68
|
+
Software shall not be used to promote, endorse or advertise any
|
|
69
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
70
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
71
|
+
permission.
|
|
72
|
+
|
|
73
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
74
|
+
must be distributed entirely under this license, and must not be
|
|
75
|
+
distributed under any other license. The requirement for fonts to
|
|
76
|
+
remain under this license does not apply to any document created
|
|
77
|
+
using the Font Software.
|
|
78
|
+
|
|
79
|
+
TERMINATION
|
|
80
|
+
This license becomes null and void if any of the above conditions are
|
|
81
|
+
not met.
|
|
82
|
+
|
|
83
|
+
DISCLAIMER
|
|
84
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
85
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
86
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
87
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
88
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
89
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
90
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
91
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
92
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|