mirror of
https://github.com/panr/hugo-theme-terminal.git
synced 2025-03-14 18:29:03 +03:00
* revamp code highlighting * replace standard Fira Code with a variable version * change buttons arrows * redesign code blocks * make terminal logo more prominent * separate terminal theme styles from terminal.css Terminal.css styles only can change the color scheme. * update docs and version * remove USERS.md * fix header pattern * remove old prismjs shortcode * remove old rss template * remove old figure shortcode * [chore] update yarn LOL, I'm still using 1.22.x * [chore] update package-lock.json * fix pagination & boost meta visibility * fix code blocks on mobile & move some parts from CSS to JS
46 lines
733 B
CSS
46 lines
733 B
CSS
.header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
}
|
|
|
|
.header__inner {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.header__logo {
|
|
display: flex;
|
|
flex: 1;
|
|
}
|
|
|
|
.header__logo::after {
|
|
content: "";
|
|
background: repeating-linear-gradient(90deg, var(--accent), var(--accent) 2px, transparent 0, transparent 10px);
|
|
display: block;
|
|
width: 100%;
|
|
right: 10px;
|
|
}
|
|
|
|
.header__logo a {
|
|
flex: 0 0 auto;
|
|
max-width: 100%;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
text-decoration: none;
|
|
background: var(--accent);
|
|
color: var(--background);
|
|
font-weight: bold;
|
|
padding: 5px 10px;
|
|
}
|
|
|
|
@media print {
|
|
.header {
|
|
display: none;
|
|
}
|
|
}
|