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
84 lines
1.3 KiB
CSS
84 lines
1.3 KiB
CSS
.button-container {
|
|
display: table;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
button,
|
|
.button,
|
|
a.button {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 8px 18px;
|
|
text-decoration: none;
|
|
text-align: center;
|
|
font: inherit;
|
|
font-weight: bold;
|
|
appearance: none;
|
|
cursor: pointer;
|
|
outline: none;
|
|
}
|
|
|
|
button.outline,
|
|
.button.outline,
|
|
a.button.outline {
|
|
background: transparent;
|
|
box-shadow: none;
|
|
padding: 8px 18px;
|
|
}
|
|
|
|
button.outline :hover,
|
|
.button.outline :hover,
|
|
a.button.outline :hover {
|
|
transform: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
button.link,
|
|
.button.link,
|
|
a.button.link {
|
|
background: none;
|
|
font-size: var(--font-size);
|
|
}
|
|
|
|
button.small,
|
|
.button.small,
|
|
a.button.small {
|
|
font-size: calc(var(--font-size) * 0.8);
|
|
}
|
|
|
|
button.wide,
|
|
.button.wide,
|
|
a.button.wide {
|
|
min-width: 200px;
|
|
padding: 14px 24px;
|
|
}
|
|
|
|
a.button.inline {
|
|
background: none;
|
|
color: var(--accent);
|
|
padding: initial;
|
|
margin: initial;
|
|
border: initial;
|
|
font-weight: initial;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a.button.inline:active,
|
|
a.button.inline:hover {
|
|
background: none;
|
|
}
|
|
|
|
a.read-more,
|
|
a.read-more:hover,
|
|
a.read-more:active {
|
|
display: inline-flex;
|
|
border: none;
|
|
background: none;
|
|
box-shadow: none;
|
|
padding: 0;
|
|
max-width: 100%;
|
|
text-decoration: none;
|
|
}
|