Icons as SVG assets via CSS masks; bordeaux links without underline; pencil for article edit

This commit is contained in:
2026-10-02 21:02:13 +03:00
parent f12943c462
commit df919507d7
31 changed files with 144 additions and 133 deletions

View File

@@ -15,17 +15,17 @@
</noscript>
<link rel="icon" type="image/svg+xml" th:href="@{/favicon.svg(v='2')}">
<!-- v=4: сброс кэша стилей после редизайна; при изменении css поднимать версию -->
<link rel="stylesheet" th:href="@{/css/app.css(v='11')}">
<link id="hljs-light" rel="stylesheet" th:href="@{/css/hljs-github.css(v='11')}">
<link id="hljs-dark" rel="stylesheet" th:href="@{/css/hljs-github-dark.css(v='11')}" disabled>
<script th:src="@{/js/highlight.min.js(v='11')}" defer></script>
<script th:src="@{/js/table-scroll.js(v='11')}" defer></script>
<script th:src="@{/js/tablekit.js(v='11')}" defer></script>
<script th:src="@{/js/theme-init.js(v='11')}"></script>
<script th:src="@{/js/app.js(v='11')}" defer></script>
<script th:src="@{/js/ui-state.js(v='11')}" defer></script>
<script th:src="@{/js/md-content.js(v='11')}" defer></script>
<script th:src="@{/js/submit-guard.js(v='11')}" defer></script>
<link rel="stylesheet" th:href="@{/css/app.css(v='13')}">
<link id="hljs-light" rel="stylesheet" th:href="@{/css/hljs-github.css(v='13')}">
<link id="hljs-dark" rel="stylesheet" th:href="@{/css/hljs-github-dark.css(v='13')}" disabled>
<script th:src="@{/js/highlight.min.js(v='13')}" defer></script>
<script th:src="@{/js/table-scroll.js(v='13')}" defer></script>
<script th:src="@{/js/tablekit.js(v='13')}" defer></script>
<script th:src="@{/js/theme-init.js(v='13')}"></script>
<script th:src="@{/js/app.js(v='13')}" defer></script>
<script th:src="@{/js/ui-state.js(v='13')}" defer></script>
<script th:src="@{/js/md-content.js(v='13')}" defer></script>
<script th:src="@{/js/submit-guard.js(v='13')}" defer></script>
</head>
<body>
<div class="page">
@@ -48,20 +48,7 @@
</th:block>
<button type="button" class="btn btn-secondary theme-btn"
aria-label="Сменить тему" title="Сменить тему">
<svg class="theme-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="12" cy="12" r="5" fill="none" stroke="currentColor" stroke-width="1.6"/>
<path d="M12 7 a5 5 0 0 1 0 10 z" fill="currentColor"/>
<g stroke="currentColor" stroke-width="1.6" stroke-linecap="round">
<line x1="12" y1="1.4" x2="12" y2="3.2"/>
<line x1="12" y1="20.8" x2="12" y2="22.6"/>
<line x1="1.4" y1="12" x2="3.2" y2="12"/>
<line x1="20.8" y1="12" x2="22.6" y2="12"/>
<line x1="4.5" y1="4.5" x2="5.8" y2="5.8"/>
<line x1="18.2" y1="18.2" x2="19.5" y2="19.5"/>
<line x1="4.5" y1="19.5" x2="5.8" y2="18.2"/>
<line x1="18.2" y1="5.8" x2="19.5" y2="4.5"/>
</g>
</svg>
<span class="theme-icon ico ico-theme" aria-hidden="true"></span>
</button>
<a th:if="${currentUser == null}" th:href="@{/login}" class="btn">Войти</a>
<form th:if="${currentUser != null}" th:action="@{/logout}" method="post">