-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinput.css
196 lines (172 loc) · 3.31 KB
/
input.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
*:not(button) a {
@apply hover:text-secondary
}
body {
@apply grid grid-cols-1 grid-rows-layout
}
h1 {
@apply text-4xl lg:text-5xl my-8;
}
h2 {
@apply text-3xl lg:text-4xl my-4;
}
h3 {
@apply text-2xl lg:text-3xl my-2 uppercase;
}
img {
@apply inline-block
}
.alert-success {
@apply bg-green-300 text-green-700;
}
.alert-error {
@apply bg-red-300 text-red-700;
}
.alert-warning {
@apply bg-yellow-300 text-yellow-700;
}
button {
@apply bg-secondary hover:bg-primary text-white hover:text-white font-bold py-2 px-4 rounded my-2;
}
button a {
@apply text-white;
}
button.danger {
@apply bg-red-500 hover:bg-red-900 text-white hover:text-white font-bold py-2 px-4 rounded my-2;
}
textarea, input[type="text"] {
@apply border border-gray-300 rounded;
}
nav a {
@apply inline-block py-3 px-2
}
.navlinks a {
@apply hover:text-secondary
}
nav input[type="text"] {
@apply border-secondary border-b-2 border-t-0 border-l-0 border-r-0
}
footer a {
@apply hover:text-primary
}
.page h2 {
@apply my-8
}
input[type="checkbox"] {
@apply accent-tertiary mr-12
}
label {
@apply mr-2
}
input[type="radio"] {
@apply appearance-auto
}
.messages {
@apply my-1
}
.page ul {
@apply list-disc pl-5 ml-5 marker:text-black mb-4
}
}
@layer utilities {
.font-thin {
font-variation-settings: 'wght' 100;
}
.font-extralight {
font-variation-settings: 'wght' 200;
}
.font-light {
font-variation-settings: 'wght' 300;
}
.font-normal {
font-variation-settings: 'wght' 400;
}
.font-medium {
font-variation-settings: 'wght' 500;
}
.font-semibold {
font-variation-settings: 'wght' 600;
}
.font-bold {
font-variation-settings: 'wght' 700;
}
.font-extrabold {
font-variation-settings: 'wght' 800;
}
.font-black {
font-variation-settings: 'wght' 900;
}
}
.toots {
@apply grid grid-cols-1 lg:grid-cols-3 gap-4
}
.toot {
@apply border-t-4 border-primary pt-2 bg-white mx-2 my-2
}
.toot .boost {
@apply text-xs text-gray-500 mb-2 pb-2
}
.toot .attachment {
@apply rounded mt-1
}
.toot a {
@apply text-tertiary hover:text-primary
}
.search button {
@apply text-black bg-transparent hover:bg-primary hover:text-white
}
.search button.active {
@apply text-white hover:bg-primary hover:text-white bg-primary
}
.search button a {
@apply hover:text-white
}
.search input {
@apply text-black text-left placeholder:text-slate-300 border-b-2 border-primary border-t-0 border-l-0 border-r-0
}
.textarea {
@apply border border-gray-300 rounded;
}
.alert {
@apply shadow-sm shadow-slate-700
}
.alert-success {
@apply bg-primary text-white
}
.alert-error {
@apply bg-red-700 text-white
}
.alert-warning {
@apply bg-orange-700 text-white
}
.asteriskField {
@apply hidden
}
nav .menu a {
@apply text-white h-auto
}
.menu {
@apply shadow-2xl
}
summary::marker {
@apply hidden
}
input[type="checkbox"] {
@apply mr-0
}
#div_id_is_public input[type="checkbox"] {
@apply mr-10
}
form a {
@apply underline text-primary
}
.announcement b {
@apply font-bold;
}
.announcement a {
@apply underline text-primary
}