mirror of
https://github.com/panr/hugo-theme-terminal.git
synced 2025-03-15 02:39:06 +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
86 lines
1.3 KiB
CSS
86 lines
1.3 KiB
CSS
.pagination {
|
|
margin-top: 50px;
|
|
}
|
|
|
|
.pagination__title {
|
|
display: flex;
|
|
text-align: center;
|
|
position: relative;
|
|
margin: 100px 0 20px;
|
|
}
|
|
|
|
.pagination__title-h {
|
|
text-align: center;
|
|
margin: 0 auto;
|
|
padding: 5px 10px;
|
|
background: var(--background);
|
|
color: color-mix(in srgb var(--foreground) 30%, transparent);
|
|
font-size: calc(var(--font-size) * 0.8);
|
|
text-transform: uppercase;
|
|
text-decoration: none;
|
|
letter-spacing: 0.1em;
|
|
z-index: 1;
|
|
}
|
|
|
|
.pagination__title hr {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
margin-top: 15px;
|
|
z-index: 0;
|
|
}
|
|
|
|
.pagination__buttons {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-flow: row wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.pagination__buttons a {
|
|
display: inline-flex;
|
|
max-width: 100%;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.button {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: inherit;
|
|
padding: 0;
|
|
appearance: none;
|
|
}
|
|
|
|
.button a {
|
|
display: flex;
|
|
justify-content: center;
|
|
flex: 1;
|
|
padding: 8px 16px;
|
|
}
|
|
|
|
.button__text {
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.next .button__icon {
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.prev .button__icon {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
@media print {
|
|
.pagination {
|
|
display: none;
|
|
}
|
|
}
|