diff options
author | Akshay <[email protected]> | 2024-10-29 20:56:27 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2024-10-29 20:56:54 +0000 |
commit | 33e89cce40a62af327635f4cb32da54c3149e812 (patch) | |
tree | fe85506caa2fd9a84fb50c4ce2fb63621f97d8a0 /src/public/styles.css | |
parent | 93b2f948382d4d50c76b0773fab4c44913a1b2f7 (diff) |
improvements to media preview, and galleries
Diffstat (limited to 'src/public/styles.css')
-rw-r--r-- | src/public/styles.css | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/src/public/styles.css b/src/public/styles.css index 385b341..0d0998d 100644 --- a/src/public/styles.css +++ b/src/public/styles.css | |||
@@ -60,7 +60,7 @@ nav { | |||
60 | @media (min-width: 768px) { | 60 | @media (min-width: 768px) { |
61 | .post, .comments-container, .hero, .header { | 61 | .post, .comments-container, .hero, .header { |
62 | flex: 1 1 65%; | 62 | flex: 1 1 65%; |
63 | width: 65%; | 63 | width: 75%; |
64 | } | 64 | } |
65 | .info-container, .comment-info-container { | 65 | .info-container, .comment-info-container { |
66 | font-size: 0.8rem; | 66 | font-size: 0.8rem; |
@@ -121,6 +121,10 @@ nav { | |||
121 | margin-left: auto; | 121 | margin-left: auto; |
122 | } | 122 | } |
123 | 123 | ||
124 | .media-preview img { | ||
125 | object-fit: cover; | ||
126 | } | ||
127 | |||
124 | .post-media { | 128 | .post-media { |
125 | display: block; | 129 | display: block; |
126 | margin: 0 auto; | 130 | margin: 0 auto; |
@@ -143,10 +147,6 @@ nav { | |||
143 | color: #999; | 147 | color: #999; |
144 | } | 148 | } |
145 | 149 | ||
146 | .comment-info-container { | ||
147 | margin-bottom: -12px; | ||
148 | } | ||
149 | |||
150 | hr { | 150 | hr { |
151 | border 1px solid #000; | 151 | border 1px solid #000; |
152 | } | 152 | } |
@@ -171,3 +171,15 @@ pre { | |||
171 | code { | 171 | code { |
172 | overflow-x: auto; | 172 | overflow-x: auto; |
173 | } | 173 | } |
174 | |||
175 | p { | ||
176 | margin-top: 5px; | ||
177 | } | ||
178 | |||
179 | .comment-body { | ||
180 | text-align: left; | ||
181 | } | ||
182 | |||
183 | summary { | ||
184 | display: none; | ||
185 | } | ||