aboutsummaryrefslogtreecommitdiff
path: root/src/public/styles.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/public/styles.css')
-rw-r--r--src/public/styles.css42
1 files changed, 28 insertions, 14 deletions
diff --git a/src/public/styles.css b/src/public/styles.css
index 9616ac8..f619dcc 100644
--- a/src/public/styles.css
+++ b/src/public/styles.css
@@ -33,13 +33,13 @@ nav {
33.post, .comments-container, .hero, .header, .footer { 33.post, .comments-container, .hero, .header, .footer {
34 padding: 0.3rem; 34 padding: 0.3rem;
35 flex: 1 1 95%; 35 flex: 1 1 95%;
36 font-size: 0.8rem; 36 font-size: 1rem;
37 width: 100%; 37 width: 100%;
38} 38}
39 39
40.info-container, .comment-info-container { 40.info-container, .comment-info-container, .more {
41 color: #777; 41 color: #777;
42 font-size: 0.6rem; 42 font-size: 0.8rem;
43 display: flex; 43 display: flex;
44} 44}
45 45
@@ -68,8 +68,16 @@ nav {
68 68
69.media-preview img { 69.media-preview img {
70 object-fit: cover; 70 object-fit: cover;
71 width: 3rem; 71}
72 height: 3rem; 72
73.media-preview img,
74.media-preview video {
75 width: 4rem;
76 height: 4rem;
77}
78
79.post-author {
80 display: none
73} 81}
74 82
75@media (min-width: 768px) { 83@media (min-width: 768px) {
@@ -78,17 +86,21 @@ nav {
78 width: 90%; 86 width: 90%;
79 font-size: 1rem; 87 font-size: 1rem;
80 } 88 }
81 .info-container, .comment-info-container { 89 .info-container, .comment-info-container, .more {
82 font-size: 0.9rem; 90 font-size: 0.9rem;
83 } 91 }
84 .domain { 92 .domain {
85 font-size: 0.9rem; 93 font-size: 0.9rem;
86 } 94 }
87 .media-preview img { 95 .media-preview img,
88 object-fit: cover; 96 .media-preview video
97 {
89 width: 7rem; 98 width: 7rem;
90 height: 7rem; 99 height: 7rem;
91 } 100 }
101 .post-author {
102 display: inline
103 }
92} 104}
93 105
94@media (min-width: 1080px) { 106@media (min-width: 1080px) {
@@ -97,17 +109,21 @@ nav {
97 width: 50%; 109 width: 50%;
98 font-size: 1rem; 110 font-size: 1rem;
99 } 111 }
100 .info-container, .comment-info-container { 112 .info-container, .comment-info-container, .more {
101 font-size: 0.9rem; 113 font-size: 0.9rem;
102 } 114 }
103 .domain { 115 .domain {
104 font-size: 0.9rem; 116 font-size: 0.9rem;
105 } 117 }
106 .media-preview img { 118 .media-preview img,
107 object-fit: cover; 119 .media-preview video
120 {
108 width: 7rem; 121 width: 7rem;
109 height: 7rem; 122 height: 7rem;
110 } 123 }
124 .post-author {
125 display: inline
126 }
111} 127}
112 128
113.comments-container, .self-text { 129.comments-container, .self-text {
@@ -127,7 +143,6 @@ nav {
127 143
128.more { 144.more {
129 margin-bottom: 0px; 145 margin-bottom: 0px;
130 font-size: 0.7rem;
131 color: #777; 146 color: #777;
132} 147}
133 148
@@ -162,8 +177,7 @@ nav {
162.post-media { 177.post-media {
163 display: block; 178 display: block;
164 margin: 0 auto; 179 margin: 0 auto;
165 max-width: 100%; 180 max-width: 85%;
166 max-height: 400px;
167} 181}
168 182
169.title-container,.info-container, .comment-info-container { 183.title-container,.info-container, .comment-info-container {