]> Untitled Git - lemmy-ui.git/blob - src/assets/css/main.css
Fixing nav-link
[lemmy-ui.git] / src / assets / css / main.css
1 .navbar-toggler {
2   border: 0px;
3 }
4
5 .navbar-expand-lg .navbar-nav .nav-link {
6   padding-right: 0.75rem !important;
7   padding-left: 0.75rem !important;
8 }
9
10 .pointer {
11   cursor: pointer;
12 }
13
14 .pointer-events {
15   pointer-events: auto !important;
16 }
17
18 .not-allowed {
19   cursor: not-allowed;
20 }
21
22 .no-click {
23   pointer-events: none;
24   opacity: 0.65;
25 }
26
27 .upvote:hover {
28   color: var(--info);
29 }
30
31 .upvote {
32   margin-bottom: -5px;
33 }
34
35 .downvote:hover {
36   color: var(--danger);
37 }
38
39 .downvote {
40   margin-top: -10px;
41 }
42
43 .custom-select {
44   -moz-appearance: none;
45 }
46
47 .md-div p {
48   overflow: hidden;
49   text-overflow: ellipsis;
50 }
51
52 .md-div p:last-child {
53   margin-bottom: 0px;
54 }
55
56 .md-div img {
57   max-height: 40vh;
58   max-width: 100%;
59   height: auto;
60 }
61
62 .md-div h1 {
63   font-size: 2rem;
64 }
65 .md-div h2 {
66   font-size: 1.8rem;
67 }
68 .md-div h3 {
69   font-size: 1.6rem;
70 }
71 .md-div h4 {
72   font-size: 1.4rem;
73 }
74 .md-div h5 {
75   font-size: 1.2rem;
76 }
77
78 .md-div table {
79   border-collapse: collapse;
80   width: 100%;
81   margin-bottom: 1rem;
82   border: 1px solid var(--dark);
83 }
84
85 .md-div table th,
86 .md-div table td {
87   padding: 0.3rem;
88   vertical-align: top;
89   border-top: 1px solid var(--dark);
90   border: 1px solid var(--dark);
91 }
92
93 .md-div table thead th {
94   vertical-align: bottom;
95   border-bottom: 2px solid var(--dark);
96 }
97
98 .md-div table tbody + tbody {
99   border-top: 2px solid var(--dark);
100 }
101
102 .vote-bar {
103   margin-top: -6.5px;
104 }
105
106 .post-title {
107   line-height: 1;
108 }
109
110 .post-title a:visited {
111   color: var(--gray) !important;
112 }
113
114 .icon {
115   display: inline-flex;
116   width: 1em;
117   height: 1em;
118   stroke-width: 0;
119   stroke: currentColor;
120   fill: currentColor;
121   vertical-align: middle;
122   align-self: center;
123   -webkit-touch-callout: none;
124   -webkit-user-select: none;
125   -khtml-user-select: none;
126   -moz-user-select: none;
127   -ms-user-select: none;
128   user-select: none;
129 }
130
131 .icon-inline {
132   margin-bottom: 2px;
133 }
134
135 .spinner-large {
136   display: block;
137   margin: 1em auto;
138   width: 2em;
139   height: 2em;
140 }
141
142 .spin {
143   animation: spins 2s linear infinite;
144 }
145
146 @keyframes spins {
147   0% {
148     transform: rotate(0deg);
149   }
150   100% {
151     transform: rotate(359deg);
152   }
153 }
154
155 .dropdown-content {
156   position: absolute;
157   background-color: var(--light);
158   min-width: 160px;
159   box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
160   z-index: 2000;
161 }
162
163 blockquote {
164   border-left: 2px solid var(--secondary);
165   margin: 0.5em 5px;
166   padding: 0.1em 5px;
167 }
168
169 .mouse-icon {
170   margin-top: -4px;
171 }
172
173 .new-comments {
174   max-height: 50vh;
175   overflow-x: hidden;
176   overflow-y: auto;
177 }
178
179 .thumbnail {
180   object-fit: cover;
181   min-height: 60px;
182   max-height: 80px;
183   width: 100%;
184 }
185
186 .thumbnail svg {
187   height: 1.25rem;
188   width: 1.25rem;
189 }
190
191 .no-s-hows {
192   position: absolute !important;
193   top: -9999px !important;
194   left: -9999px !important;
195 }
196
197 hr {
198   border-top: 1px solid var(--light);
199 }
200
201 .emoji {
202   max-height: 1.2em !important;
203 }
204
205 .text-wrap-truncate {
206   overflow: hidden;
207   text-overflow: ellipsis;
208 }
209
210 .overflow-wrap-anywhere {
211   overflow-wrap: anywhere;
212 }
213
214 #app {
215   display: flex;
216   flex-direction: column;
217   min-height: 100vh;
218 }
219
220 .fl-1 {
221   flex: 1;
222 }
223
224 .img-blur {
225   filter: blur(10px);
226   -webkit-filter: blur(10px);
227   -moz-filter: blur(10px);
228   -o-filter: blur(10px);
229   -ms-filter: blur(10px);
230 }
231
232 .img-expanded {
233   max-height: 90vh;
234 }
235
236 .btn-animate:active {
237   transform: scale(1.2);
238   -webkit-transform: scale(1.2);
239   -ms-transform: scale(1.2);
240 }
241
242 .mini-overlay {
243   position: absolute;
244   top: 0;
245   right: 0;
246   padding: 2px;
247   height: 1.5em;
248   width: 1.5em;
249   background: rgba(0, 0, 0, 0.4);
250   background-color: rgba(0, 0, 0, 0.4);
251   border-bottom-left-radius: 0.25rem !important;
252   border-top-right-radius: 0.25rem !important;
253 }
254
255 .link-overlay:hover {
256   transition: 0.1s;
257   -webkit-transition: 0.1s;
258   opacity: 1;
259 }
260
261 .link-overlay {
262   transition: opacity 0.1s ease-in-out;
263   -webkit-transition: opacity 0.1s ease-in-out;
264   position: absolute;
265   opacity: 0;
266   left: 0;
267   height: 100%;
268   width: 100%;
269   padding: 10px;
270   background: rgba(0, 0, 0, 0.6);
271   background-color: rgba(0, 0, 0, 0.6);
272 }
273
274 .placeholder {
275   height: 50px;
276   width: 50px;
277 }
278
279 .unselectable {
280   -webkit-touch-callout: none;
281   -webkit-user-select: none;
282   -khtml-user-select: none;
283   -moz-user-select: none;
284   -ms-user-select: none;
285   user-select: none;
286 }
287
288 .list-inline-item-action {
289   display: inline-block;
290 }
291
292 .list-inline-item-action:not(:last-child) {
293   margin-right: 1.2rem;
294 }
295
296 pre {
297   white-space: pre-wrap;
298   word-break: keep-all;
299 }
300
301 .form-control.search-input {
302   float: right !important;
303   transition: width 0.2s ease-out 0s !important;
304 }
305
306 .show-input {
307   width: 13em !important;
308 }
309 .hide-input {
310   background: transparent !important;
311   background-color: transparent !important;
312   width: 0px !important;
313   padding: 0 !important;
314 }
315
316 br.big {
317   display: block;
318   content: "";
319   margin-top: 1rem;
320 }
321
322 .banner {
323   object-fit: cover;
324   width: 100%;
325   max-height: 240px;
326 }
327
328 .avatar-overlay {
329   width: 20%;
330   height: 20%;
331   max-width: 120px;
332   max-height: 120px;
333 }
334
335 .avatar-pushup {
336   margin-top: -60px;
337 }
338
339 .img-icon {
340   width: 2rem;
341   height: 2rem;
342 }
343
344 .tribute-container ul {
345   margin: 0;
346   margin-top: 2px;
347   padding: 0;
348   list-style: none;
349   background: var(--light);
350 }
351 .tribute-container li {
352   padding: 5px 5px;
353   cursor: pointer;
354 }
355 .tribute-container li.highlight {
356   background: var(--primary);
357 }
358 .tribute-container li span {
359   font-weight: bold;
360 }
361 .tribute-container li.no-match {
362   cursor: default;
363 }
364 .tribute-container .menu-highlighted {
365   font-weight: bold;
366 }
367
368 .honeypot {
369   display:none !important;
370 }