Show public document count and recent uploads on landing
This commit is contained in:
@@ -114,6 +114,25 @@ button { font-family: inherit; }
|
||||
.shot-caption { position: absolute; left: 1rem; bottom: 0; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: .35rem .6rem; font-size: .76rem; color: var(--text-muted); }
|
||||
/* Секции */
|
||||
.landing-section { padding: 2rem 0 .6rem; }
|
||||
.public-documents { display: grid; grid-template-columns: minmax(190px, .34fr) 1fr; gap: 1.4rem;
|
||||
margin: 1.4rem 0 .3rem; padding: 1.4rem; border: 1px solid var(--border-light);
|
||||
border-radius: var(--radius-lg); background: var(--bg-card); box-shadow: var(--shadow-sm); }
|
||||
.public-documents h2 { font-size: 1.13rem; margin-bottom: .35rem; }
|
||||
.public-documents > div:first-child { grid-column: 1 / -1; }
|
||||
.public-documents .section-lead { margin-bottom: 0; font-size: .88rem; }
|
||||
.public-doc-content { display: contents; }
|
||||
.public-doc-stat { align-self: center; display: flex; flex-direction: column; gap: .25rem; }
|
||||
.public-doc-stat strong { font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; letter-spacing: -.04em; color: var(--accent); font-variant-numeric: tabular-nums; }
|
||||
.public-doc-stat span { color: var(--text-muted); font-size: .88rem; line-height: 1.35; }
|
||||
.public-doc-feed { min-width: 0; }
|
||||
.public-doc-feed h3 { font-size: .9rem; margin-bottom: .45rem; }
|
||||
.public-doc-list { list-style: none; margin: 0; padding: 0; }
|
||||
.public-doc-item { display: flex; justify-content: space-between; gap: .6rem; padding: .48rem 0;
|
||||
border-top: 1px solid var(--border-light); font-size: .84rem; }
|
||||
.public-doc-title { min-width: 0; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical; overflow: hidden; }
|
||||
.public-doc-meta { flex: 0 0 auto; color: var(--text-muted); white-space: nowrap; font-size: .76rem; }
|
||||
.public-doc-empty { color: var(--text-muted); font-size: .86rem; }
|
||||
.landing-section h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: -.015em; margin-bottom: .4rem; }
|
||||
.section-lead { color: var(--text-muted); max-width: 44rem; margin-bottom: 1.2rem; }
|
||||
.caption { font-size: .78rem; color: var(--text-muted); margin-top: .6rem; }
|
||||
@@ -159,6 +178,9 @@ button { font-family: inherit; }
|
||||
.msg-ai .table-wrap th, .msg-ai .table-wrap td { padding: .3rem .25rem; }
|
||||
}
|
||||
@media (max-width: 900px) {
|
||||
.public-documents { grid-template-columns: 1fr; gap: .8rem; }
|
||||
.public-doc-stat { flex-direction: row; align-items: center; gap: .8rem; }
|
||||
.public-doc-item { flex-direction: column; gap: .15rem; }
|
||||
.hero-grid, .login-grid { grid-template-columns: 1fr; gap: 1.4rem; }
|
||||
.pains, .steps { grid-template-columns: 1fr; }
|
||||
.pair { grid-template-columns: 1fr; gap: 1rem; }
|
||||
@@ -556,6 +578,14 @@ html { color-scheme: light; }
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<section class="public-documents" id="public-documents" aria-labelledby="public-documents-h">
|
||||
<div>
|
||||
<h2 id="public-documents-h">Нормативы в сервисе</h2>
|
||||
<p class="section-lead">Загруженные сборники ТСН Москвы и письма-индексы Минстроя.</p>
|
||||
</div>
|
||||
<div class="public-doc-content">{{PUBLIC_DOCUMENTS}}</div>
|
||||
</section>
|
||||
|
||||
<section class="landing-section" aria-labelledby="pains-h">
|
||||
<h2 id="pains-h">Знакомо?</h2>
|
||||
<p class="section-lead">Каждый день одно и то же — и на это уходит вечер.</p>
|
||||
|
||||
Reference in New Issue
Block a user