Skip to content

Commit c0ae290

Browse files
Правка стилей
1 parent 86ff1dd commit c0ae290

2 files changed

Lines changed: 65 additions & 3 deletions

File tree

web/client/css/main.css

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3100,3 +3100,64 @@ img {
31003100
gap: var(--spacing-xs);
31013101
}
31023102
}
3103+
3104+
/* ===== Resources Card ===== */
3105+
.resources-card {
3106+
background-color: var(--bg-secondary);
3107+
padding: var(--spacing-md);
3108+
border-radius: var(--radius-md);
3109+
border: 1px solid var(--accent-primary);
3110+
}
3111+
3112+
.resources-card h3 {
3113+
font-size: 0.875rem;
3114+
margin-bottom: var(--spacing-xs);
3115+
color: var(--text-primary);
3116+
font-weight: 600;
3117+
text-transform: uppercase;
3118+
letter-spacing: 0.5px;
3119+
}
3120+
3121+
.resources-description {
3122+
font-size: 0.75rem;
3123+
color: var(--text-secondary);
3124+
margin-bottom: var(--spacing-md);
3125+
line-height: 1.4;
3126+
}
3127+
3128+
.resources-links {
3129+
display: flex;
3130+
justify-content: center;
3131+
gap: var(--spacing-sm);
3132+
}
3133+
3134+
.resource-link {
3135+
display: flex;
3136+
align-items: center;
3137+
justify-content: center;
3138+
padding: var(--spacing-xs);
3139+
border-radius: var(--radius-sm);
3140+
transition: var(--transition);
3141+
color: var(--text-secondary);
3142+
background-color: var(--bg-tertiary);
3143+
border: 1px solid var(--border-color);
3144+
width: 40px;
3145+
height: 40px;
3146+
}
3147+
3148+
.resource-link:hover {
3149+
background-color: var(--bg-hover);
3150+
border-color: var(--accent-primary);
3151+
color: var(--accent-primary);
3152+
transform: translateY(-2px);
3153+
box-shadow: var(--shadow);
3154+
}
3155+
3156+
.resource-link svg {
3157+
display: block;
3158+
transition: var(--transition);
3159+
}
3160+
3161+
.resource-link:hover svg {
3162+
transform: scale(1.1);
3163+
}

web/client/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
</svg>
4646
</a>
4747
<a href="https://openyellow.org/rss.xml" target="_blank" class="nav-link nav-link-icon" title="RSS">
48-
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
48+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="currentColor">
4949
<path d="M6.503 20.752c0 1.794-1.456 3.248-3.251 3.248-1.796 0-3.252-1.454-3.252-3.248 0-1.794 1.456-3.248 3.252-3.248 1.795.001 3.251 1.454 3.251 3.248zm-6.503-12.572v4.811c6.05.062 10.96 4.966 11.022 11.009h4.817c-.062-8.71-7.118-15.758-15.839-15.82zm0-3.368c10.58.046 19.152 8.594 19.183 19.188h4.817c-.03-13.231-10.755-23.954-24-24v4.812z"/>
5050
</svg>
5151
</a>
@@ -101,14 +101,15 @@ <h3>Списки проектов</h3>
101101
<!-- Resources -->
102102
<div class="sidebar-card resources-card">
103103
<h3>Ресурсы</h3>
104+
<p class="resources-description">Следите за новостями и обновлениями проекта</p>
104105
<div class="resources-links">
105106
<a href="https://t.me/openyellowproject" target="_blank" class="resource-link" title="Telegram канал">
106-
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="15 60 110 90" fill="currentColor">
107+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="15 60 110 90" fill="currentColor">
107108
<path fill-rule="evenodd" clip-rule="evenodd" d="M76.33 132.14L62.5 143.73L58.59 144.26L49.84 114.11L19.06 104L113.82 67.8799L118.29 67.9799L103.36 149.19L76.33 132.14ZM100.03 83.1399L56.61 109.17L61.61 130.5L62.98 130.19L68.2 113.73L102.9 83.4799L100.03 83.1399Z"/>
108109
</svg>
109110
</a>
110111
<a href="https://openyellow.org/rss.xml" target="_blank" class="resource-link" title="RSS лента">
111-
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="currentColor">
112+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
112113
<path d="M6.503 20.752c0 1.794-1.456 3.248-3.251 3.248-1.796 0-3.252-1.454-3.252-3.248 0-1.794 1.456-3.248 3.252-3.248 1.795.001 3.251 1.454 3.251 3.248zm-6.503-12.572v4.811c6.05.062 10.96 4.966 11.022 11.009h4.817c-.062-8.71-7.118-15.758-15.839-15.82zm0-3.368c10.58.046 19.152 8.594 19.183 19.188h4.817c-.03-13.231-10.755-23.954-24-24v4.812z"/>
113114
</svg>
114115
</a>

0 commit comments

Comments
 (0)