Skip to content

Commit 07a0fce

Browse files
committed
fix: fixed search on phone
1 parent 76335a3 commit 07a0fce

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
## Прогресс документации:
2020

2121
<div style="display: flex; align-items: center; gap: 0.75rem; margin: 1rem 0;">
22-
<div style="flex: 0 0 65%; height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden;">
22+
<div style="flex: 0 0 65%; height: 8px; background: transparent; border: 1px solid #34373e; border-radius: 4px; overflow: hidden;">
2323
<div style="width: 10%; height: 100%; background: linear-gradient(90deg, #865b74ff, #D990B9);"></div>
2424
</div>
25-
<span style="color: rgba(255,255,255,0.7); font-size: 0.9rem;">10%</span>
25+
<span style="color: #a87794; font-size: 0.9rem;">10%</span>
2626
</div>

docs/stylesheets/extra.css

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
background-color: transparent;
3232
}
3333

34+
3435
/* Общая форма admonition */
3536
.md-typeset .admonition {
3637
border-radius: 12px;
@@ -59,7 +60,11 @@
5960

6061
/* Footer */
6162
.md-copyright {
62-
display: none
63+
display: none;
64+
}
65+
66+
.md-typeset a.headerlink {
67+
color: #d990b9;
6368
}
6469

6570

@@ -82,7 +87,7 @@
8287
/* Хедер */
8388
[data-md-color-scheme="slate"] .md-header {
8489
background: rgba(22,24,29,.85);
85-
backdrop-filter: blur(12px);
90+
/* backdrop-filter: blur(12px); Не трогать, ломает поиск на мобиле */
8691
box-shadow: none;
8792
}
8893

@@ -124,7 +129,7 @@
124129
/* Хедер */
125130
[data-md-color-scheme="default"] .md-header {
126131
background: rgba(189, 121, 158,.85);
127-
backdrop-filter: blur(12px);
132+
/* backdrop-filter: blur(12px); Не трогать, ломает поиск на мобиле*/
128133
box-shadow: none;
129134
}
130135

0 commit comments

Comments
 (0)