diff options
author | Akshay <[email protected]> | 2024-11-06 12:57:31 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2024-11-06 12:57:31 +0000 |
commit | c3782a25b368c220299f70ba4dafd7bfa8f71c9e (patch) | |
tree | 9dd6dcea39859816cef08b9242172fcd46b366e5 /src | |
parent | 15c50ef0df972b7899e975dc49e4cb9c08cebba0 (diff) |
remove redundant styles
Diffstat (limited to 'src')
-rw-r--r-- | src/public/styles.css | 42 |
1 files changed, 7 insertions, 35 deletions
diff --git a/src/public/styles.css b/src/public/styles.css index ab33161..e5e04ef 100644 --- a/src/public/styles.css +++ b/src/public/styles.css | |||
@@ -191,32 +191,12 @@ summary::before { | |||
191 | flex: 1 1 90%; | 191 | flex: 1 1 90%; |
192 | width: 90%; | 192 | width: 90%; |
193 | } | 193 | } |
194 | .post, .hero { | ||
195 | font-size: 1rem; | ||
196 | } | ||
197 | .comments-container { | ||
198 | font-size: 1rem; | ||
199 | } | ||
200 | .info-container, .comment-info-container, .more | ||
201 | { | ||
202 | font-size: 0.8rem; | ||
203 | } | ||
204 | summary::before { | ||
205 | font-size: 0.7rem; | ||
206 | } | ||
207 | .domain { | ||
208 | font-size: 0.8rem; | ||
209 | } | ||
210 | .media-preview img, | 194 | .media-preview img, |
211 | .media-preview video | 195 | .media-preview video |
212 | { | 196 | { |
213 | width: 5rem; | 197 | width: 5rem; |
214 | height: 5rem; | 198 | height: 5rem; |
215 | } | 199 | } |
216 | .media-preview a { | ||
217 | font-size: 2rem; | ||
218 | padding: 2rem; | ||
219 | } | ||
220 | .post-author { | 200 | .post-author { |
221 | display: inline | 201 | display: inline |
222 | } | 202 | } |
@@ -230,21 +210,6 @@ summary::before { | |||
230 | flex: 1 1 60%; | 210 | flex: 1 1 60%; |
231 | width: 60%; | 211 | width: 60%; |
232 | } | 212 | } |
233 | .post, .hero { | ||
234 | font-size: 1rem; | ||
235 | } | ||
236 | .comments-container { | ||
237 | font-size: 1rem; | ||
238 | } | ||
239 | .info-container, .comment-info-container, .more { | ||
240 | font-size: 0.8rem; | ||
241 | } | ||
242 | summary::before { | ||
243 | font-size: 0.7rem; | ||
244 | } | ||
245 | .domain { | ||
246 | font-size: 0.8rem; | ||
247 | } | ||
248 | .media-preview img, | 213 | .media-preview img, |
249 | .media-preview video | 214 | .media-preview video |
250 | { | 215 | { |
@@ -263,6 +228,13 @@ summary::before { | |||
263 | } | 228 | } |
264 | } | 229 | } |
265 | 230 | ||
231 | @media (min-width: 2560px) { | ||
232 | .post, .comments-container, .hero, .header, .footer { | ||
233 | flex: 1 1 40%; | ||
234 | width: 40%; | ||
235 | } | ||
236 | } | ||
237 | |||
266 | .comments-container, .self-text { | 238 | .comments-container, .self-text { |
267 | text-align: justify; | 239 | text-align: justify; |
268 | } | 240 | } |