diff --git a/src/styles/header.css b/src/styles/header.css new file mode 100644 index 0000000..c4d7501 --- /dev/null +++ b/src/styles/header.css @@ -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; + } \ No newline at end of file