aboutsummaryrefslogtreecommitdiff
path: root/themes/simple/layouts/partials/tailwind.html
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2022-10-07 22:20:29 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2022-10-07 22:20:29 +0200
commit69356cf90779944324f8c17779d562db4a3fd9e2 (patch)
treefa3599bda0cd92f94056467661ec3c2a2f260567 /themes/simple/layouts/partials/tailwind.html
parentf4fa1ef9989da487a13d552cfe161a073390fffe (diff)
downloadmitjafelicijan.com-69356cf90779944324f8c17779d562db4a3fd9e2.tar.gz
Added Cactus comment to the site
Diffstat (limited to 'themes/simple/layouts/partials/tailwind.html')
-rw-r--r--themes/simple/layouts/partials/tailwind.html103
1 files changed, 102 insertions, 1 deletions
diff --git a/themes/simple/layouts/partials/tailwind.html b/themes/simple/layouts/partials/tailwind.html
index 2492d72..1786ffd 100644
--- a/themes/simple/layouts/partials/tailwind.html
+++ b/themes/simple/layouts/partials/tailwind.html
@@ -4,7 +4,6 @@
4 /* Container */ 4 /* Container */
5 .container-blog { 5 .container-blog {
6 max-width: 700px; 6 max-width: 700px;
7 margin: 0 auto;
8 } 7 }
9 8
10 /* User text selection */ 9 /* User text selection */
@@ -102,5 +101,107 @@
102 @apply my-10; 101 @apply my-10;
103 } 102 }
104 103
104 /* Cactus Comments */
105 .comments img {
106 max-width: auto !important;
107 max-width: unset !important;
108 max-width: inherit !important;
109 }
110 .cactus-container .cactus-editor-textarea {
111 @apply border w-full px-3 py-2 outline-none rounded mb-2;
112 }
113
114 .cactus-container .cactus-editor-name input {
115 @apply border w-full px-3 py-2 mb-2 outline-none rounded;
116 }
117
118 .cactus-container .cactus-editor-name {
119 @apply mb-1;
120 }
121
122 /* Cactus: Buttons */
123 .cactus-editor-buttons {
124 @apply flex gap-2;
125 }
126
127 .cactus-container .cactus-button {
128 @apply text-base bg-gray-200 font-medium px-4 py-1 rounded;
129 }
130
131 .cactus-container .cactus-editor {
132 @apply mb-10;
133 }
134
135 /* Cactus: Comment List */
136 .cactus-container .cactus-comments-list {
137 @apply flex flex-col gap-8;
138 }
139
140 .cactus-container .cactus-comment {
141 @apply flex gap-4;
142 }
143
144 .cactus-container .cactus-comment .cactus-comment-avatar img {
145 @apply w-10 h-10 rounded-full;
146 }
147
148 .cactus-container .cactus-comment .cactus-comment-avatar-placeholder {
149 @apply w-10 h-10 rounded-full bg-gray-300;
150 }
151
152 .cactus-container .cactus-comment .cactus-comment-header {
153 @apply flex gap-2 items-center;
154 }
155
156 .cactus-container .cactus-comment .cactus-comment-header .cactus-comment-displayname {
157 @apply font-semibold;
158 }
159
160 .cactus-container .cactus-comment .cactus-comment-header .cactus-comment-time {
161 @apply text-gray-400 text-sm;
162 }
163
164 /* Cactus: Login */
165 .cactus-container .cactus-login-form-wrapper {
166 @apply border mb-6 p-3 relative rounded;
167 }
168
169 .cactus-container .cactus-login-form .cactus-login-close {
170 @apply absolute right-3 top-3 w-4 h-4;
171 }
172
173 .cactus-container .cactus-login-form .cactus-login-title {
174 @apply font-bold mb-4 mt-0 pt-0;
175 }
176
177 /* Cactus: Login with a button */
178 .cactus-container .cactus-login-form .cactus-login-client {
179 @apply mb-6;
180 }
181
182 .cactus-container .cactus-login-form .cactus-login-client-title {
183 @apply font-semibold mb-2;
184 }
185
186 /* Cactus: Login with credentials */
187 .cactus-container .cactus-login-form .cactus-login-credentials {
188 }
189
190 .cactus-container .cactus-login-form .cactus-login-credentials-title {
191 @apply font-semibold mb-1;
192 }
193
194 .cactus-container .cactus-login-form .cactus-login-field {
195 @apply flex gap-4 mb-2 items-center;
196 }
197
198 .cactus-container .cactus-login-form .cactus-login-label {
199 @apply w-20;
200 }
201
202 .cactus-container .cactus-login-form input {
203 @apply border px-2 py-1 rounded;
204 }
205
105 } 206 }
106</style> 207</style>