fix(theme): correct typography and logo accessibility

Declare the Alro heading font with its intended 700 weight and explicitly apply that weight to branded headings. Preserve the homepage logo image in the accessibility tree while rendering the theme-specific visual artwork.

Update repository guidance to document the self-contained theme architecture, Gitea 1.27.3 synchronization requirements, production asset hashing, and the complete six-theme verification matrix.
This commit is contained in:
cole-maxwell1
2026-09-08 11:24:47 -05:00
parent 0875dfa276
commit 5acb05d7cf
5 changed files with 28 additions and 14 deletions
+10 -1
View File
@@ -39,7 +39,16 @@ html:is(
)
.page-content.home
img.logo {
display: none;
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
clip-path: inset(50%);
white-space: nowrap;
border: 0;
}
html:is(
@@ -13,7 +13,7 @@ gitea-theme-meta-info {
@font-face {
font-family: "alro";
src: url("../fonts/alro-bold-700.woff2") format("woff2");
font-weight: 400;
font-weight: 700;
font-style: normal;
font-display: swap;
}
@@ -392,6 +392,7 @@ h6,
.page-title,
.repository .ui.header {
font-family: var(--cc-font-heading);
font-weight: 700;
letter-spacing: 0.02em;
}
@@ -13,7 +13,7 @@ gitea-theme-meta-info {
@font-face {
font-family: "alro";
src: url("../fonts/alro-bold-700.woff2") format("woff2");
font-weight: 400;
font-weight: 700;
font-style: normal;
font-display: swap;
}
@@ -366,6 +366,7 @@ h6,
.page-title,
.repository .ui.header {
font-family: var(--cc-font-heading);
font-weight: 700;
letter-spacing: 0.02em;
}