add header.css

This commit is contained in:
Profile Profile
2026-03-16 11:15:36 +03:00
parent 8f9e67ec08
commit 795153b26e

51
src/styles/header.css Normal file
View File

@@ -0,0 +1,51 @@
.top-bar {
display: flex;
justify-content: space-between;
align-items: center;
}
.header__subtitle {
font-size: 22px;
font-weight: bold;
margin-left: 42px;
position: relative;
display: flex;
align-items: center;
gap: 10px;
}
.header__subtitle::before {
content: '';
position: absolute;
top: 50%;
left: -15px;
width: 3px;
height: 80%;
border-left: 3px solid;
transform: translate(0, -40%);
}
.header__news-badge {
color: inherit;
font-weight: inherit;
position: relative;
padding-right: 10px;
}
.header__news-badge::after {
content: '|';
position: absolute;
right: -2px;
color: inherit;
font-weight: inherit;
}
.header__subtitle a {
text-decoration: none;
color: inherit;
font-weight: inherit;
}
.header__subtitle a:hover {
text-decoration: underline;
}