add header.css
This commit is contained in:
51
src/styles/header.css
Normal file
51
src/styles/header.css
Normal 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;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user