paulca / paulca.com Public

Clone
git clone https://amadan.net/paulca/paulca.com

Plain git — no account needed to clone.

1.post-box {
2 margin-top: 1rem;
3 margin-bottom: 1rem;
4 position: relative;
5 width: 100%;
6
7 & form {
8 position: relative;
9 width: 100%;
10 }
11
12 & form textarea {
13 border: none;
14 outline: none;
15 padding: 1rem;
16 width: 100%;
17 min-height: 80px;
18 resize: none;
19 margin-bottom: 0;
20 padding-right: 80px;
21 border: 1px solid var(--border-color);
22 border-radius: 0.5rem;
23 }
24
25 & form input[type="submit"] {
26 position: absolute;
27 bottom: 1rem;
28 right: 1rem;
29 }
30
31 & label {
32 display: none;
33 }
34
35 & button {
36 position: absolute;
37 bottom: 1rem;
38 right: 1rem;
39 }
40}
41
42/* Responsive adjustments for post box */
43@media (max-width: 767px) {
44 .post-box {
45 padding: 0.25rem;
46
47 & form textarea {
48 padding: 0.75rem;
49 min-height: 60px;
50 padding-right: 80px;
51 }
52
53 & form input[type="submit"],
54 & button {
55 bottom: 1rem;
56 right: 0.75rem;
57 font-size: 0.9rem;
58 padding: 0.4rem 0.8rem;
59 }
60 }
61}
62