Spaces:
Running
Running
atualizacao automatica dos dados da CVM
Browse files- app.js +102 -53
- styles.css +83 -0
app.js
CHANGED
|
@@ -4812,7 +4812,7 @@ const app = document.getElementById('app');
|
|
| 4812 |
if (!app) return;
|
| 4813 |
for (const a of app.querySelectorAll('a[href^="#/gestora/"]:not([data-selo])')) {
|
| 4814 |
a.dataset.selo = '1';
|
| 4815 |
-
if (a.closest('.crumb, .home')) continue;
|
| 4816 |
const gid = parseInt(a.getAttribute('href').slice(10), 10);
|
| 4817 |
if (!PREMIOS[gid] || a.nextElementSibling?.classList.contains('selo-premio')) continue;
|
| 4818 |
a.after(seloNo(gid, a.textContent.trim()));
|
|
@@ -5182,54 +5182,101 @@ const recentes = await q(`select video_id, titulo, publicado, gestora, grupo_id,
|
|
| 5182 |
pessoa, n_temas, eixos
|
| 5183 |
from video_lista
|
| 5184 |
where publicado is not null
|
| 5185 |
-
order by publicado desc, mencoes desc limit
|
| 5186 |
const nGest = (await q1('select count(distinct grupo_id)::int n from video_lista'))?.n ?? 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5187 |
const cartao = r => `
|
| 5188 |
-
<a class="
|
| 5189 |
-
|
| 5190 |
-
|
| 5191 |
-
|
| 5192 |
-
|
| 5193 |
-
|
| 5194 |
-
|
| 5195 |
-
|
| 5196 |
-
|
| 5197 |
-
|
| 5198 |
-
|
| 5199 |
-
</div>
|
| 5200 |
</a>`;
|
|
|
|
|
|
|
| 5201 |
app.innerHTML = `
|
| 5202 |
-
<
|
| 5203 |
-
|
| 5204 |
-
|
| 5205 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5206 |
|
| 5207 |
-
<
|
| 5208 |
-
|
|
|
|
|
|
|
| 5209 |
|
| 5210 |
-
<
|
| 5211 |
-
|
| 5212 |
-
|
| 5213 |
-
<
|
| 5214 |
-
|
| 5215 |
-
|
| 5216 |
-
|
| 5217 |
-
|
| 5218 |
-
|
| 5219 |
-
|
| 5220 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5221 |
|
| 5222 |
-
<
|
| 5223 |
-
|
| 5224 |
-
<
|
| 5225 |
-
|
| 5226 |
-
|
| 5227 |
-
<thead><tr><th>Publicado</th><th>Vídeo</th><th>Quem</th>
|
| 5228 |
-
<th class="num">Assuntos</th></tr></thead>
|
| 5229 |
-
<tbody id="corpoVideos"></tbody>
|
| 5230 |
-
</table>
|
| 5231 |
-
</div>
|
| 5232 |
-
<div id="maisVideos" style="margin-top:.8rem"></div>
|
| 5233 |
<div class="nota-rodape">O vídeo entra no acervo quando o coletor identifica
|
| 5234 |
uma PESSOA de gestora nele: nome citado sem pessoa não basta. A coluna
|
| 5235 |
<b>Assuntos</b> conta quantos caminhos da árvore casaram na legenda, e o
|
|
@@ -5251,17 +5298,19 @@ const linhas = await q(`select video_id, titulo, publicado, gestora, grupo_id,
|
|
| 5251 |
limit ${PASSO} offset ${carregadas}`);
|
| 5252 |
document.getElementById('corpoVideos').insertAdjacentHTML('beforeend',
|
| 5253 |
linhas.map(r => `
|
| 5254 |
-
<
|
| 5255 |
-
<
|
| 5256 |
-
|
| 5257 |
-
<
|
| 5258 |
-
|
| 5259 |
-
|
| 5260 |
-
|
| 5261 |
-
|
| 5262 |
-
|
| 5263 |
-
<
|
| 5264 |
-
|
|
|
|
|
|
|
| 5265 |
carregadas += linhas.length;
|
| 5266 |
const falta = tot - carregadas;
|
| 5267 |
document.getElementById('maisVideos').innerHTML = falta > 0
|
|
|
|
| 4812 |
if (!app) return;
|
| 4813 |
for (const a of app.querySelectorAll('a[href^="#/gestora/"]:not([data-selo])')) {
|
| 4814 |
a.dataset.selo = '1';
|
| 4815 |
+
if (a.closest('.crumb, .home, .cv2-barras')) continue;
|
| 4816 |
const gid = parseInt(a.getAttribute('href').slice(10), 10);
|
| 4817 |
if (!PREMIOS[gid] || a.nextElementSibling?.classList.contains('selo-premio')) continue;
|
| 4818 |
a.after(seloNo(gid, a.textContent.trim()));
|
|
|
|
| 5182 |
pessoa, n_temas, eixos
|
| 5183 |
from video_lista
|
| 5184 |
where publicado is not null
|
| 5185 |
+
order by publicado desc, mencoes desc limit 8`);
|
| 5186 |
const nGest = (await q1('select count(distinct grupo_id)::int n from video_lista'))?.n ?? 0;
|
| 5187 |
+
const nMes = (await q1(`select count(*)::int n from video_lista
|
| 5188 |
+
where try_cast(publicado as date) >= (select max(try_cast(publicado as date))
|
| 5189 |
+
from video_lista) - interval 30 day`))?.n ?? 0;
|
| 5190 |
+
const quem = await q(`select pessoa, any_value(gestora) gestora, any_value(grupo_id) grupo_id,
|
| 5191 |
+
count(*)::int n
|
| 5192 |
+
from video_lista
|
| 5193 |
+
where pessoa is not null and pessoa <> ''
|
| 5194 |
+
and try_cast(publicado as date) >= (select max(try_cast(publicado as date))
|
| 5195 |
+
from video_lista) - interval 60 day
|
| 5196 |
+
group by upper(pessoa), pessoa order by n desc, pessoa limit 8`);
|
| 5197 |
+
let temasTop = [];
|
| 5198 |
+
try {
|
| 5199 |
+
temasTop = await q(`select caminho, tema, eixo, n_videos from video_temas
|
| 5200 |
+
where nivel = 2 order by n_videos desc limit 12`);
|
| 5201 |
+
} catch (e) { console.warn('video_temas:', e.message); }
|
| 5202 |
+
const EIXO_TXT = { Analise: 'Análise', Gestao: 'Gestão', Jurisdicao: 'Jurisdição',
|
| 5203 |
+
Regulacao: 'Regulação' };
|
| 5204 |
+
const eixosDe = s => String(s || '').split(' · ').map(x => x.trim()).filter(Boolean)
|
| 5205 |
+
.map(x => { const t = x[0] + x.slice(1).toLowerCase(); return EIXO_TXT[t] || t; });
|
| 5206 |
+
const dataCurta = d => (d ? dataBR(String(d).slice(0, 10)) : '');
|
| 5207 |
+
const pessoaTxt = p => (p ? (p === p.toUpperCase() ? nomeProprio(p) : p) : '');
|
| 5208 |
+
const ACENTO = { Cambio: 'Câmbio', Politica: 'Política', Credito: 'Crédito', Dolar: 'Dólar',
|
| 5209 |
+
Petroleo: 'Petróleo', Saude: 'Saúde', Imoveis: 'Imóveis', Agronegocio: 'Agronegócio',
|
| 5210 |
+
Previdencia: 'Previdência', Inteligencia: 'Inteligência', Debentures: 'Debêntures',
|
| 5211 |
+
Analise: 'Análise', Economia: 'Economia', Eleicoes: 'Eleições', Energia: 'Energia',
|
| 5212 |
+
Tecnologia: 'Tecnologia', Mineracao: 'Mineração', Logistica: 'Logística', Fiscal: 'Fiscal' };
|
| 5213 |
+
const acentua = t => String(t || '').split(' ').map(w => ACENTO[w] || w
|
| 5214 |
+
.replace(/cao$/, 'ção').replace(/coes$/, 'ções').replace(/sao$/, 'são').replace(/stao$/, 'stão')).join(' ');
|
| 5215 |
+
const thumb = (id, q) => `https://i.ytimg.com/vi/${esc(id)}/${q}.jpg`;
|
| 5216 |
const cartao = r => `
|
| 5217 |
+
<a class="cv2" href="https://youtu.be/${esc(r.video_id)}" target="_blank" rel="noopener noreferrer">
|
| 5218 |
+
<span class="cv2-img">
|
| 5219 |
+
<img loading="lazy" referrerpolicy="no-referrer" src="${thumb(r.video_id, 'mqdefault')}"
|
| 5220 |
+
alt="" width="320" height="180">
|
| 5221 |
+
<span class="cv2-play" aria-hidden="true"></span>
|
| 5222 |
+
<span class="cv2-data">${esc(dataCurta(r.publicado))}</span>
|
| 5223 |
+
</span>
|
| 5224 |
+
<span class="cv2-tit">${esc(r.titulo || r.video_id)}</span>
|
| 5225 |
+
<span class="cv2-quem">${esc(pessoaTxt(r.pessoa))}${r.pessoa && r.gestora ? ' · ' : ''}${
|
| 5226 |
+
esc(r.gestora ? nomeEmpresa(r.gestora) : (r.pessoa ? '' : 'fonte setorial'))}</span>
|
| 5227 |
+
<span class="cv2-chips">${eixosDe(r.eixos).slice(0, 3).map(e => `<i>${esc(e)}</i>`).join('')}</span>
|
|
|
|
| 5228 |
</a>`;
|
| 5229 |
+
const mxQuem = Math.max(1, ...quem.map(r => r.n));
|
| 5230 |
+
const mxTema = Math.max(1, ...temasTop.map(r => r.n_videos));
|
| 5231 |
app.innerHTML = `
|
| 5232 |
+
<section class="cv2-hero">
|
| 5233 |
+
<div class="cv2-hero-txt">
|
| 5234 |
+
<h1>Conteúdo</h1>
|
| 5235 |
+
<p>Podcasts, entrevistas e lives em que alguém de uma gestora aparece, com o assunto
|
| 5236 |
+
de cada conversa. Os vídeos abrem no YouTube.</p>
|
| 5237 |
+
</div>
|
| 5238 |
+
<div class="cv2-nums">
|
| 5239 |
+
<div><b>${nf(tot, 0)}</b><span>conversas gravadas</span></div>
|
| 5240 |
+
<div><b>${nf(nGest, 0)}</b><span>gestoras</span></div>
|
| 5241 |
+
<div><b>${nf(nMes, 0)}</b><span>nos últimos 30 dias</span></div>
|
| 5242 |
+
</div>
|
| 5243 |
+
<div class="cv2-busca">
|
| 5244 |
+
<div class="seg" id="segModoV">
|
| 5245 |
+
<button data-v="gestora" class="on">Buscar</button>
|
| 5246 |
+
<button data-v="assunto">Navegar por assunto</button>
|
| 5247 |
+
</div>
|
| 5248 |
+
<input id="buscaV" type="search"
|
| 5249 |
+
placeholder="ache um ativo ou uma gestora citada em algum vídeo" autocomplete="off">
|
| 5250 |
+
</div>
|
| 5251 |
+
<div id="resBuscaV"></div>
|
| 5252 |
+
</section>
|
| 5253 |
|
| 5254 |
+
<section class="cv2-sec">
|
| 5255 |
+
<h2 class="cv2-h">Mais recentes</h2>
|
| 5256 |
+
<div class="cv2-grade">${recentes.map(cartao).join('')}</div>
|
| 5257 |
+
</section>
|
| 5258 |
|
| 5259 |
+
${quem.length || temasTop.length ? `<section class="cv2-sec cv2-alta">
|
| 5260 |
+
${quem.length ? `<div>
|
| 5261 |
+
<h2 class="cv2-h">Quem mais apareceu <span>nos últimos 60 dias</span></h2>
|
| 5262 |
+
<div class="cv2-barras">${quem.map(r => `
|
| 5263 |
+
<a class="cv2-b" href="${r.grupo_id ? `#/gestora/${r.grupo_id}` : '#/conteudo'}">
|
| 5264 |
+
<span class="cv2-b-n">${esc(pessoaTxt(r.pessoa))}<small>${esc(r.gestora ? nomeEmpresa(r.gestora) : '')}</small></span>
|
| 5265 |
+
<span class="cv2-b-t"><i style="width:${(r.n / mxQuem * 100).toFixed(1)}%"></i></span>
|
| 5266 |
+
<span class="cv2-b-v">${nf(r.n, 0)}</span></a>`).join('')}</div></div>` : ''}
|
| 5267 |
+
${temasTop.length ? `<div>
|
| 5268 |
+
<h2 class="cv2-h">Os assuntos mais discutidos <span>no acervo</span></h2>
|
| 5269 |
+
<div class="cv2-temas">${temasTop.map(r => `
|
| 5270 |
+
<a href="#/temas/${encodeURIComponent(r.caminho)}" style="--w:${(r.n_videos / mxTema).toFixed(3)}">
|
| 5271 |
+
<span>${esc(acentua(r.tema))}</span><b>${nf(r.n_videos, 0)}</b></a>`).join('')}</div>
|
| 5272 |
+
<a class="cv2-mais" href="#/temas">Ver todos os assuntos →</a></div>` : ''}
|
| 5273 |
+
</section>` : ''}
|
| 5274 |
|
| 5275 |
+
<section class="cv2-sec">
|
| 5276 |
+
<h2 class="cv2-h">Todos os vídeos <span>${nf(tot, 0)}, do mais recente para o mais antigo</span></h2>
|
| 5277 |
+
<div class="cv2-lista" id="corpoVideos"></div>
|
| 5278 |
+
<div id="maisVideos" style="margin-top:.8rem"></div>
|
| 5279 |
+
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5280 |
<div class="nota-rodape">O vídeo entra no acervo quando o coletor identifica
|
| 5281 |
uma PESSOA de gestora nele: nome citado sem pessoa não basta. A coluna
|
| 5282 |
<b>Assuntos</b> conta quantos caminhos da árvore casaram na legenda, e o
|
|
|
|
| 5298 |
limit ${PASSO} offset ${carregadas}`);
|
| 5299 |
document.getElementById('corpoVideos').insertAdjacentHTML('beforeend',
|
| 5300 |
linhas.map(r => `
|
| 5301 |
+
<div class="cv2-l">
|
| 5302 |
+
<a class="cv2-l-img" href="https://youtu.be/${esc(r.video_id)}" target="_blank" rel="noopener noreferrer">
|
| 5303 |
+
<img loading="lazy" referrerpolicy="no-referrer" src="${thumb(r.video_id, 'default')}" alt="" width="120" height="90"></a>
|
| 5304 |
+
<div class="cv2-l-txt">
|
| 5305 |
+
<a class="cv2-l-tit" href="https://youtu.be/${esc(r.video_id)}" target="_blank"
|
| 5306 |
+
rel="noopener noreferrer">${esc(r.titulo || r.video_id)}</a>
|
| 5307 |
+
<div class="cv2-l-quem">${r.grupo_id
|
| 5308 |
+
? `<a href="#/gestora/${r.grupo_id}">${esc(nomeEmpresa(r.gestora || ''))}</a>`
|
| 5309 |
+
: '<span class="tinta3">fonte setorial</span>'}${r.pessoa ? ` · ${esc(pessoaTxt(r.pessoa))}` : ''}</div>
|
| 5310 |
+
</div>
|
| 5311 |
+
<div class="cv2-l-meta"><span class="mono">${r.publicado ? esc(dataCurta(r.publicado)) : '—'}</span>
|
| 5312 |
+
${r.n_temas ? `<span class="cv2-l-n" title="assuntos identificados na legenda">${r.n_temas} assunto${r.n_temas > 1 ? 's' : ''}</span>` : ''}</div>
|
| 5313 |
+
</div>`).join(''));
|
| 5314 |
carregadas += linhas.length;
|
| 5315 |
const falta = tot - carregadas;
|
| 5316 |
document.getElementById('maisVideos').innerHTML = falta > 0
|
styles.css
CHANGED
|
@@ -2178,3 +2178,86 @@ h1 .selo-premio::before { width: 14px; height: 14px; }
|
|
| 2178 |
.pr-mais { color: var(--ouro); font-size: 12px; margin: -6px 0 8px; }
|
| 2179 |
.pr-nota { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--regua-fina); color: var(--tinta-3);
|
| 2180 |
font-size: 12px; line-height: 1.4; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2178 |
.pr-mais { color: var(--ouro); font-size: 12px; margin: -6px 0 8px; }
|
| 2179 |
.pr-nota { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--regua-fina); color: var(--tinta-3);
|
| 2180 |
font-size: 12px; line-height: 1.4; }
|
| 2181 |
+
.cv2-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 40px; align-items: end;
|
| 2182 |
+
margin: 4px 0 6px; padding-bottom: 22px; border-bottom: 1px solid var(--regua); }
|
| 2183 |
+
.cv2-hero h1 { margin: 0 0 6px; font-size: 56px; }
|
| 2184 |
+
.cv2-hero-txt p { margin: 0; max-width: 56ch; color: var(--tinta-2); font-size: 15px; line-height: 1.5; }
|
| 2185 |
+
.cv2-nums { display: flex; gap: 34px; }
|
| 2186 |
+
.cv2-nums div { display: flex; flex-direction: column; gap: 2px; }
|
| 2187 |
+
.cv2-nums b { font-family: var(--sans); font-weight: 600; font-size: 34px; line-height: 1; color: var(--tinta); }
|
| 2188 |
+
.cv2-nums span { font-size: 12.5px; color: var(--tinta-3); }
|
| 2189 |
+
.cv2-busca { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 6px; }
|
| 2190 |
+
.cv2-busca input { flex: 1 1 22rem; max-width: 40rem; font: inherit; font-size: 14px; padding: 9px 12px;
|
| 2191 |
+
background: var(--papel-2); color: var(--tinta); border: 1px solid var(--regua); border-radius: 3px; }
|
| 2192 |
+
.cv2-busca input:focus { outline: none; border-color: var(--acento); }
|
| 2193 |
+
#resBuscaV { grid-column: 1 / -1; }
|
| 2194 |
+
.cv2-sec { margin: 30px 0 0; }
|
| 2195 |
+
.cv2-h { margin: 0 0 14px; padding: 0; border: 0; font-family: var(--serif); font-weight: 400; font-size: 30px; }
|
| 2196 |
+
.cv2-h span { font-family: var(--sans); font-size: 13px; color: var(--tinta-3); margin-left: 8px; letter-spacing: 0; }
|
| 2197 |
+
.cv2-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px 18px; }
|
| 2198 |
+
@media (min-width: 1100px) { .cv2-grade { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
|
| 2199 |
+
.cv2 { display: flex; flex-direction: column; gap: 7px; color: var(--tinta); text-decoration: none; min-width: 0; }
|
| 2200 |
+
.cv2-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px;
|
| 2201 |
+
background: var(--papel-2); }
|
| 2202 |
+
.cv2-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s, filter .25s;
|
| 2203 |
+
filter: saturate(.9); }
|
| 2204 |
+
.cv2:hover .cv2-img img { transform: scale(1.04); filter: saturate(1.05); }
|
| 2205 |
+
.cv2-play { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
|
| 2206 |
+
border-radius: 50%; background: rgba(18, 19, 17, .72); opacity: 0; transition: opacity .2s; }
|
| 2207 |
+
.cv2-play::after { content: ""; position: absolute; left: 18px; top: 14px; border-style: solid;
|
| 2208 |
+
border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--tinta); }
|
| 2209 |
+
.cv2:hover .cv2-play { opacity: 1; }
|
| 2210 |
+
.cv2-data { position: absolute; left: 8px; bottom: 8px; padding: 2px 7px; border-radius: 3px; font-size: 11.5px;
|
| 2211 |
+
font-family: var(--mono); color: var(--tinta); background: rgba(18, 19, 17, .82); }
|
| 2212 |
+
.cv2-tit { font-family: var(--serif); font-size: 19px; line-height: 1.18; display: -webkit-box;
|
| 2213 |
+
-webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
| 2214 |
+
.cv2:hover .cv2-tit { color: var(--acento-esc); }
|
| 2215 |
+
.cv2-quem { font-size: 12.5px; color: var(--tinta-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
| 2216 |
+
.cv2-chips { display: flex; flex-wrap: wrap; gap: 5px; }
|
| 2217 |
+
.cv2-chips i { font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 10px; color: var(--tinta-2);
|
| 2218 |
+
border: 1px solid var(--regua); }
|
| 2219 |
+
.cv2-alta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px;
|
| 2220 |
+
padding-top: 26px; border-top: 1px solid var(--regua); }
|
| 2221 |
+
.cv2-barras { display: grid; gap: 4px; }
|
| 2222 |
+
.cv2-b { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) 2.5rem; align-items: center; gap: 12px;
|
| 2223 |
+
padding: 6px 0; color: var(--tinta); text-decoration: none; border-bottom: 1px solid var(--regua-fina); }
|
| 2224 |
+
.cv2-b:hover { color: var(--acento-esc); }
|
| 2225 |
+
.cv2-b-n { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
| 2226 |
+
.cv2-b-n small { display: block; font-size: 11.5px; color: var(--tinta-3); overflow: hidden; text-overflow: ellipsis; }
|
| 2227 |
+
.cv2-b-t { display: block; height: 10px; }
|
| 2228 |
+
.cv2-b-t i { display: block; height: 100%; background: var(--teal); border-radius: 0 5px 5px 0; }
|
| 2229 |
+
.cv2-b-v { font-family: var(--mono); font-size: 13px; text-align: right; }
|
| 2230 |
+
.cv2-temas { display: flex; flex-wrap: wrap; gap: 8px; }
|
| 2231 |
+
.cv2-temas a { --w: .5; display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 12px; border-radius: 18px;
|
| 2232 |
+
text-decoration: none; color: var(--tinta); border: 1px solid var(--regua);
|
| 2233 |
+
background: color-mix(in srgb, var(--teal) calc(var(--w) * 26%), var(--papel-2));
|
| 2234 |
+
font-size: calc(12.5px + var(--w) * 4px); }
|
| 2235 |
+
.cv2-temas a:hover { border-color: var(--acento); }
|
| 2236 |
+
.cv2-temas b { font-family: var(--mono); font-weight: 400; font-size: 11.5px; color: var(--tinta-2); }
|
| 2237 |
+
.cv2-mais { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--acento); text-decoration: none; }
|
| 2238 |
+
.cv2-lista { border-top: 1px solid var(--regua); }
|
| 2239 |
+
.cv2-l { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; align-items: center;
|
| 2240 |
+
padding: 9px 4px; border-bottom: 1px solid var(--regua-fina); }
|
| 2241 |
+
.cv2-l:hover { background: var(--papel-2); }
|
| 2242 |
+
.cv2-l-img img { display: block; width: 96px; height: 54px; object-fit: cover; border-radius: 3px; background: var(--papel-2); }
|
| 2243 |
+
.cv2-l-tit { display: block; color: var(--tinta); text-decoration: none; font-size: 14.5px; line-height: 1.3;
|
| 2244 |
+
overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
|
| 2245 |
+
.cv2-l-tit:hover { color: var(--acento-esc); }
|
| 2246 |
+
.cv2-l-quem { margin-top: 3px; font-size: 12.5px; color: var(--tinta-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
| 2247 |
+
.cv2-l-quem a { color: var(--tinta-2); }
|
| 2248 |
+
.cv2-l-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 12px; color: var(--tinta-3); }
|
| 2249 |
+
.cv2-l-n { font-size: 11px; padding: 1px 7px; border-radius: 10px; border: 1px solid var(--regua); }
|
| 2250 |
+
@media (max-width: 760px) {
|
| 2251 |
+
.cv2-hero { grid-template-columns: 1fr; }
|
| 2252 |
+
.cv2-hero h1 { font-size: 44px; }
|
| 2253 |
+
.cv2-nums { gap: 22px; }
|
| 2254 |
+
.cv2-nums b { font-size: 26px; }
|
| 2255 |
+
.cv2-grade { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
|
| 2256 |
+
.cv2-tit { font-size: 16px; }
|
| 2257 |
+
.cv2-chips { display: none; }
|
| 2258 |
+
.cv2-alta { grid-template-columns: 1fr; }
|
| 2259 |
+
.cv2-b { grid-template-columns: minmax(0, 1fr) 5rem 2rem; }
|
| 2260 |
+
.cv2-l { grid-template-columns: 72px minmax(0, 1fr); }
|
| 2261 |
+
.cv2-l-img img { width: 72px; height: 40px; }
|
| 2262 |
+
.cv2-l-meta { grid-column: 2; flex-direction: row; align-items: center; }
|
| 2263 |
+
}
|