Skip to content

Commit 7254b2e

Browse files
committed
website: small cleanup
1 parent cc14adb commit 7254b2e

3 files changed

Lines changed: 4 additions & 35 deletions

File tree

website/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@
7676
<script src="./app.js" defer></script>
7777
</head>
7878
<body>
79-
<a class="skip-link" href="#main" data-i18n="nav.skip">Skip to content</a>
80-
8179
<header class="top-bar" data-scrolled="false">
8280
<div class="top-bar__inner">
8381
<a class="brand" href="#top" aria-label="Monogram">

website/styles.css

Lines changed: 4 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -117,34 +117,12 @@ p {
117117
outline-offset: 4px;
118118
}
119119

120-
.skip-link {
121-
position: fixed;
122-
top: 16px;
123-
left: 16px;
124-
z-index: 30;
125-
padding: 10px 14px;
126-
color: var(--md-sys-color-on-primary);
127-
background: var(--md-sys-color-primary);
128-
border-radius: 999px;
129-
transform: translateY(-140%);
130-
transition: transform 160ms ease;
131-
}
132-
133-
.skip-link:focus {
134-
transform: translateY(0);
135-
}
136-
137120
.top-bar {
138121
position: sticky;
139122
top: 0;
140123
z-index: 20;
141124
min-height: var(--top-bar-height);
142125
padding: 18px 0 12px;
143-
transition: background-color 180ms ease;
144-
}
145-
146-
.top-bar[data-scrolled="true"] {
147-
background: color-mix(in srgb, var(--md-sys-color-surface) 88%, transparent);
148126
}
149127

150128
.top-bar__inner,
@@ -166,10 +144,6 @@ p {
166144
transition: background-color 180ms ease;
167145
}
168146

169-
.top-bar[data-scrolled="true"] .top-bar__inner {
170-
background: var(--md-sys-color-surface-container-low);
171-
}
172-
173147
.brand {
174148
display: inline-flex;
175149
align-items: center;
@@ -354,7 +328,7 @@ md-filter-chip.lang-switch__chip::part(selected-icon) {
354328

355329
.hero {
356330
min-height: calc(100svh - var(--top-bar-height));
357-
padding-top: 20px;
331+
padding-top: 14px;
358332
}
359333

360334
.screenshots {
@@ -471,8 +445,8 @@ md-filter-chip.lang-switch__chip::part(selected-icon) {
471445
}
472446

473447
.button-icon-circle--telegram {
474-
color: #ffffff;
475-
background: #229ed9;
448+
color: #f6fbff;
449+
background: #5a9fc2;
476450
}
477451

478452
.button-icon-circle--release {
@@ -992,7 +966,7 @@ md-filter-chip.lang-switch__chip::part(selected-icon) {
992966
}
993967

994968
.hero {
995-
padding-top: 8px;
969+
padding-top: 4px;
996970
}
997971

998972
.hero-shell {

website/translations.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ window.MONOGRAM_TRANSLATIONS = {
33
"meta.title": "Monogram for Android",
44
"meta.description": "Fast, polished unofficial Telegram client for Android with Material 3 design and TDLib under the hood",
55
"meta.previewAlt": "Monogram preview showing the Android chat list on a phone screen with the Monogram logo",
6-
"nav.skip": "Skip to content",
76
"brand.logoAlt": "Monogram logo",
87
"brand.tagline": "Telegram for Android",
98
"lang.switcher": "Language switcher",
@@ -29,7 +28,6 @@ window.MONOGRAM_TRANSLATIONS = {
2928
"meta.title": "Monogram для Android",
3029
"meta.description": "Быстрый и аккуратный неофициальный Telegram-клиент для Android с дизайном Material 3 и TDLib под капотом",
3130
"meta.previewAlt": "Превью Monogram: список чатов Android-приложения на экране телефона и логотип Monogram",
32-
"nav.skip": "Перейти к содержимому",
3331
"brand.logoAlt": "Логотип Monogram",
3432
"brand.tagline": "Telegram для Android",
3533
"lang.switcher": "Переключатель языка",
@@ -55,7 +53,6 @@ window.MONOGRAM_TRANSLATIONS = {
5553
"meta.title": "Monogram Android 版",
5654
"meta.description": "快速精致的 Android 非官方 Telegram 客户端,采用 Material 3 设计,并基于 TDLib 构建",
5755
"meta.previewAlt": "Monogram 预览图,展示手机屏幕上的 Android 聊天列表和 Monogram 标志",
58-
"nav.skip": "跳转到内容",
5956
"brand.logoAlt": "Monogram 标志",
6057
"brand.tagline": "Android 版 Telegram",
6158
"lang.switcher": "语言切换",

0 commit comments

Comments
 (0)