Addet a backbutton to home page and fix the pr error

This commit is contained in:
2026-08-27 10:18:48 +02:00
parent 8de6ff9338
commit 770e170d0e
4 changed files with 61 additions and 8 deletions

View File

@@ -1,4 +1,3 @@
/* CSS for Header component */
.top-nav {
min-height: 72px;
box-sizing: border-box;
@@ -11,14 +10,45 @@
border-bottom: 1px solid var(--colorNeutralStroke2);
}
.nav-start {
display: flex;
align-items: center;
gap: 16px;
}
.brand {
color: var(--colorNeutralForeground1);
font-size: 26px;
font-weight: 600;
}
.home-button {
display: grid;
place-items: center;
width: 44px;
height: 44px;
padding: 0;
border: 1px solid var(--colorNeutralStroke1);
border-radius: 8px;
background: transparent;
color: var(--colorNeutralForeground1);
cursor: pointer;
font-family: inherit;
font-size: 28px;
line-height: 1;
}
.home-button:hover {
background: var(--colorNeutralBackground1Hover);
}
.home-button:focus-visible {
outline: 2px solid var(--colorStrokeFocus2);
outline-offset: 2px;
}
time {
color: var(--colorNeutralForeground2);
font-size: 18px;
white-space: nowrap;
}
}