- Refactored themes to always load with just a single file. This avoids a round trip on each request. - Locally load font when available on the system, then try to load the woff2 file, then fall back to regular woff. - Update markup to use relative urls where it is safe. RSS feeds still use absolute URLs. - Only set og:image:(height/width) when using the standard color icon. - Fixed styles on the pagination buttons. - Added ability to switch font to Source Code Pro (useSourceCodePro). - Added yellow theme. - Added grey theme. - Bold and remove underline for active page in header. - Removed markdownify on summary. - Only display date if present.
95 lines
1.6 KiB
CSS
95 lines
1.6 KiB
CSS
.pagination {
|
|
margin-top: 50px;
|
|
|
|
@media print {
|
|
display: none;
|
|
}
|
|
|
|
&__title {
|
|
display: flex;
|
|
text-align: center;
|
|
position: relative;
|
|
margin: 100px 0 20px;
|
|
|
|
&-h {
|
|
text-align: center;
|
|
margin: 0 auto;
|
|
padding: 5px 10px;
|
|
background: color-mod(var(--accent) blend(#1D1E28 98%));
|
|
font-size: .8rem;
|
|
text-transform: uppercase;
|
|
text-decoration: none;
|
|
letter-spacing: .1em;
|
|
z-index: 1;
|
|
}
|
|
|
|
hr {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
margin-top: 15px;
|
|
z-index: 0;
|
|
}
|
|
}
|
|
|
|
&__buttons {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
.button:hover, a.button:hover, button:hover {
|
|
background: none;
|
|
}
|
|
|
|
.button {
|
|
border: none;
|
|
color: var(--accent);
|
|
background: none;
|
|
position: relative;
|
|
display: inline-flex;
|
|
flex: 1;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1rem;
|
|
border-radius: 0;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
appearance: none;
|
|
overflow: hidden;
|
|
|
|
+.button {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
a, a:hover {
|
|
display: flex;
|
|
padding: 8px 16px;
|
|
text-decoration: none;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
background: none !important;
|
|
border: none;
|
|
}
|
|
|
|
&__text {
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
&.next .button__icon {
|
|
margin-left: 8px;
|
|
}
|
|
|
|
&.previous .button__icon {
|
|
margin-right: 8px;
|
|
}
|
|
}
|
|
} |