mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-29 05:46:56 +01:00
e503367a1a
* Move styles into 3 different locations - core - common - hljs * Load all stylesheets in proper order
54 lines
966 B
CSS
54 lines
966 B
CSS
@media screen and (max-width: 768px) {
|
|
/* theme-vars */
|
|
:root {
|
|
--gap: 14px;
|
|
}
|
|
|
|
/* profile-mode */
|
|
.profile img {
|
|
transform: scale(0.85);
|
|
}
|
|
|
|
/* post-entry */
|
|
.first-entry {
|
|
min-height: 260px;
|
|
}
|
|
|
|
/* archive */
|
|
.archive-month {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.archive-year {
|
|
margin-top: 20px;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
/* reset */
|
|
::-webkit-scrollbar {
|
|
width: 19px;
|
|
height: 11px;
|
|
}
|
|
}
|
|
|
|
/* footer */
|
|
@media screen and (max-width: 900px) {
|
|
.list .top-link {
|
|
transform: translateY(-5rem);
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion) {
|
|
/* terms; profile-mode; post-single; post-entry; post-entry; search; search */
|
|
.terms-tags a:active,
|
|
.button:active,
|
|
.share-buttons svg:active,
|
|
.post-entry:active,
|
|
.top-link,
|
|
#searchResults .focus,
|
|
#searchResults li:active {
|
|
transform: none;
|
|
}
|
|
}
|