summaryrefslogtreecommitdiff
path: root/common.css
diff options
context:
space:
mode:
authorradiohotline <radiohotline@disroot.org>2026-02-17 21:42:11 +0300
committerradiohotline <radiohotline@disroot.org>2026-02-17 21:42:11 +0300
commitbc0cb08c503f736ac5bb07a14b7dc09b582c5c89 (patch)
tree2bc2dc2af19792f1d1d0b436169fa9e374ca7129 /common.css
parent2d2287524d566143105c42196a3de2bb7132cfc7 (diff)
responsiveness
Diffstat (limited to 'common.css')
-rw-r--r--common.css45
1 files changed, 20 insertions, 25 deletions
diff --git a/common.css b/common.css
index cf4e037..30f664b 100644
--- a/common.css
+++ b/common.css
@@ -118,46 +118,41 @@ a:hover {
align-items: center;
align-self: flex-start;
gap: 20px;
+ flex-direction: row;
}
-@media (min-width: 900px) {
- .art {
- margin-left: 0%;
- margin-right: 0%;
- }
+.art-container img {
+ height: 300px;
+ width: auto;
+}
- .art-nav {
- margin-left: 30%;
- margin-right: 30%;
+/* mobile */
+
+@media (max-width: 900px) {
+ body {
+ background-size: cover;
}
.art-container {
- flex-direction: row;
+ flex-direction: column;
}
.art-container img {
- height: 300px;
- width: auto;
-
+ height: auto;
+ width: 80vw;
}
-}
-@media (max-width: 400px) {
- body {
- margin-left: 15px;
- margin-right: 15px;
- font-size: 20px;
+ .logo {
+ position: relative;
+ margin: 20px;
}
- .art-container {
- flex-direction: column;
+ .logo img {
+ width: 80vw;
}
- .art-container img {
- height: auto;
- width: 80vw;
- margin-left: 5vw;
- margin-right: 5vw;
+ .logo img:hover {
+ width: 85vw;
}
}