summaryrefslogtreecommitdiff
path: root/assets/css/core/zmedia.css
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2025-09-01 11:27:12 -0700
committerrtk0c <[email protected]>2025-09-01 11:27:12 -0700
commit86b0d0c422e34c38837b5b5495ad6d295d0e73d2 (patch)
tree039e513e5cebe1ba60b747372b50d8049edf29ae /assets/css/core/zmedia.css
Squashed 'themes/PaperMod/' content from commit 5a46517
git-subtree-dir: themes/PaperMod git-subtree-split: 5a4651783fa9159123d947bd3511b355146d4797
Diffstat (limited to 'assets/css/core/zmedia.css')
-rw-r--r--assets/css/core/zmedia.css55
1 files changed, 55 insertions, 0 deletions
diff --git a/assets/css/core/zmedia.css b/assets/css/core/zmedia.css
new file mode 100644
index 0000000..a68fd71
--- /dev/null
+++ b/assets/css/core/zmedia.css
@@ -0,0 +1,55 @@
+@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;
+ }
+
+ /* footer */
+ .footer {
+ padding: calc((var(--footer-height) - var(--gap) - 10px) / 2) var(--gap);
+ }
+}
+
+/* footer */
+@media screen and (max-width: 900px) {
+ .list .top-link {
+ transform: translateY(-5rem);
+ }
+}
+
+@media screen and (max-width: 340px) {
+ .share-buttons {
+ justify-content: unset;
+ }
+}
+
+@media (prefers-reduced-motion) {
+ /* terms; profile-mode; post-single; post-entry; post-entry; search; search */
+ .terms-tags a:active,
+ .button:active,
+ .post-entry:active,
+ .top-link,
+ #searchResults .focus,
+ #searchResults li:active {
+ transform: none;
+ }
+}