mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2024-12-29 08:03:18 -05:00
d3813138d7
amend to4b24a94
&e03348c
77 lines
1.2 KiB
CSS
77 lines
1.2 KiB
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 */
|
|
.terms-tags a:active {
|
|
transform: none;
|
|
}
|
|
|
|
/* profile-mode */
|
|
.button:active {
|
|
transform: none;
|
|
}
|
|
|
|
/* post-single */
|
|
.share-buttons svg:active {
|
|
transform: none;
|
|
}
|
|
|
|
/* post-entry */
|
|
.post-entry:active {
|
|
transform: none;
|
|
}
|
|
|
|
/* footer */
|
|
.top-link {
|
|
transition: none;
|
|
}
|
|
|
|
/* search */
|
|
#searchResults .focus {
|
|
transform: none;
|
|
}
|
|
|
|
#searchResults li:active {
|
|
transform: none;
|
|
}
|
|
}
|