|
12 | 12 | --timeweb-border: rgba(0, 102, 204, 0.15); |
13 | 13 | --timeweb-border-dark: rgba(0, 102, 204, 0.2); |
14 | 14 | --timeweb-shadow: rgba(0, 102, 204, 0.2); |
15 | | - /* Тёмно-синяя шапка */ |
16 | | - --header-bg: #0d47a1; |
| 15 | + /* Шапка в тон картинки: тёмно-фиолетовый (кирпич, неон CQRS) */ |
| 16 | + --header-bg: #311b92; |
17 | 17 | } |
18 | 18 |
|
19 | | -/* Шапка сайта — тёмно-синий */ |
| 19 | +/* Шапка сайта — тёмно-фиолетовый */ |
20 | 20 | .md-header, |
21 | 21 | .md-tabs { |
22 | 22 | background-color: var(--header-bg) !important; |
@@ -143,6 +143,69 @@ body, |
143 | 143 | line-height: 1.6; |
144 | 144 | } |
145 | 145 |
|
| 146 | +/* Project status table: full width, columns fill space, badges centered */ |
| 147 | +.project-status-table-wrap { |
| 148 | + width: 100%; |
| 149 | + overflow-x: auto; |
| 150 | +} |
| 151 | + |
| 152 | +/* Material wraps tables in .md-typeset__table — force full width */ |
| 153 | +#project-status ~ .md-typeset__table, |
| 154 | +.project-status-table-wrap .md-typeset__table { |
| 155 | + width: 100% !important; |
| 156 | + max-width: none !important; |
| 157 | + display: block; |
| 158 | +} |
| 159 | + |
| 160 | +.project-status-table-wrap .md-typeset__table table, |
| 161 | +#project-status ~ .md-typeset__table table, |
| 162 | +.project-status-table-wrap table, |
| 163 | +#project-status + table { |
| 164 | + width: 100% !important; |
| 165 | + max-width: none !important; |
| 166 | + table-layout: fixed; |
| 167 | +} |
| 168 | + |
| 169 | +/* Columns fill entire table: Group no wrap, Badges takes the rest */ |
| 170 | +#project-status ~ .md-typeset__table th:first-child, |
| 171 | +#project-status ~ .md-typeset__table td:first-child, |
| 172 | +.project-status-table-wrap th:first-child, |
| 173 | +.project-status-table-wrap td:first-child { |
| 174 | + width: 22%; |
| 175 | + min-width: 11em; |
| 176 | + box-sizing: border-box; |
| 177 | + white-space: nowrap; |
| 178 | +} |
| 179 | + |
| 180 | +#project-status ~ .md-typeset__table th:nth-child(2), |
| 181 | +#project-status ~ .md-typeset__table td:nth-child(2), |
| 182 | +.project-status-table-wrap th:nth-child(2), |
| 183 | +.project-status-table-wrap td:nth-child(2) { |
| 184 | + width: 78%; |
| 185 | + box-sizing: border-box; |
| 186 | + text-align: center; |
| 187 | +} |
| 188 | + |
| 189 | +/* Center badges in Badges column */ |
| 190 | +#project-status ~ .md-typeset__table td:nth-child(2), |
| 191 | +#project-status ~ .md-typeset__table th:nth-child(2), |
| 192 | +.project-status-table-wrap td:nth-child(2), |
| 193 | +.project-status-table-wrap th:nth-child(2), |
| 194 | +#project-status + table td:nth-child(2), |
| 195 | +#project-status + table th:nth-child(2) { |
| 196 | + text-align: center !important; |
| 197 | +} |
| 198 | + |
| 199 | +#project-status ~ .md-typeset__table td:nth-child(2) a, |
| 200 | +#project-status ~ .md-typeset__table td:nth-child(2) img, |
| 201 | +.project-status-table-wrap td:nth-child(2) a, |
| 202 | +.project-status-table-wrap td:nth-child(2) img, |
| 203 | +#project-status + table td:nth-child(2) a, |
| 204 | +#project-status + table td:nth-child(2) img { |
| 205 | + display: inline-block; |
| 206 | + vertical-align: middle; |
| 207 | +} |
| 208 | + |
146 | 209 | /* Код должен оставаться моноширинным */ |
147 | 210 | .md-typeset code, |
148 | 211 | .md-typeset pre, |
|
0 commit comments