summaryrefslogtreecommitdiff
path: root/themes/PaperMod/assets/css/core/zmedia.css
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2022-10-21 21:09:12 +0200
committerChristoph Cullmann <cullmann@kde.org>2022-10-21 21:09:12 +0200
commitec19540d9299cd65b3598bcb0acb69a6545c6e10 (patch)
tree7958239128857bf857da542da2360507feccec80 /themes/PaperMod/assets/css/core/zmedia.css
parent9e3457474b73741354cf222eb419e4733c2aac20 (diff)
add simple theme
Diffstat (limited to 'themes/PaperMod/assets/css/core/zmedia.css')
m---------themes/PaperMod0
-rw-r--r--themes/PaperMod/assets/css/core/zmedia.css49
2 files changed, 49 insertions, 0 deletions
diff --git a/themes/PaperMod b/themes/PaperMod
deleted file mode 160000
-Subproject 3a0a4811cbc07c0bea09ef55b3c1bfb39b48cdd
diff --git a/themes/PaperMod/assets/css/core/zmedia.css b/themes/PaperMod/assets/css/core/zmedia.css
new file mode 100644
index 0000000..210d486
--- /dev/null
+++ b/themes/PaperMod/assets/css/core/zmedia.css
@@ -0,0 +1,49 @@
+@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 (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;
+ }
+}