-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.css
117 lines (115 loc) · 2.93 KB
/
tailwind.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
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
html {
font-size: 1.5vmax;
}
body {
@apply flex flex-col bg-neutral-800 text-neutral-300 break-normal p-2 min-h-svh;
}
main {
@apply grow;
}
hr {
@apply rounded-2xl h-0.5 w-11/12 my-1 bg-neutral-500 border-0 self-center;
}
ul {
@apply list-disc list-inside ps-8;
}
ol {
@apply list-decimal list-inside ps-8;
}
pre {
@apply py-2;
}
code {
@apply font-mono text-xs;
}
pre code {
@apply block bg-black px-2 overflow-x-auto;
}
h1 {
@apply text-xl font-bold;
}
h2 {
@apply text-lg font-bold;
}
blockquote {
@apply p-4 my-4 border-s-4 border-gray-300 bg-gray-50 dark:border-gray-500 dark:bg-gray-800;
}
button {
@apply px-1.5 my-1 bg-neutral-700 rounded-lg;
}
button:enabled {
@apply hover:rounded-sm hover:bg-neutral-400 hover:text-black motion-safe:transition-all motion-safe:duration-100;
}
button:disabled {
@apply bg-gray-600 border-black;
}
}
@layer components {
.alternating-item {
@apply block even:bg-neutral-700 hover:bg-neutral-400 hover:text-black;
}
.common-table {
@apply border-collapse border-neutral-300;
}
.common-table th {
@apply text-center px-1 py-0.5;
}
.common-table tr {
@apply alternating-item;
}
.common-table td {
@apply border border-inherit px-1 py-0.5 text-center;
}
.common-text-input {
@apply text-center m-1 rounded bg-neutral-600 shadow-sm shadow-black placeholder:text-neutral-300 accent-black;
}
.common-btn {
@apply px-1.5 bg-neutral-700 rounded-lg hover:rounded-sm hover:bg-neutral-400 hover:text-black motion-safe:transition-all motion-safe:duration-200;
}
.clickable {
@apply hover:rounded-sm hover:bg-neutral-500 hover:text-black motion-safe:transition-all motion-safe:duration-200;
}
.nav-btn {
@apply rounded py-0.5 px-1.5 text-xl text-black hover:bg-neutral-700 hover:text-neutral-300 hover:drop-shadow-lg bg-clip-border motion-safe:transition-all motion-safe:duration-200;
}
.toggle-btn {
@apply sm:inline my-2 py-0.5 px-1.5 text-xl bg-neutral-700 rounded-2xl hover:text-black bg-clip-border motion-safe:transition-all motion-safe:duration-200;
}
.toggle-menu {
@apply bg-neutral-500 max-h-[65dvh] overflow-auto;
}
.dynamic-flow {
@apply flex flex-col md:flex-row;
}
.inline-link {
@apply text-blue-600 hover:text-fuchsia-600;
}
.indent {
@apply ml-3 rtl:mr-3;
}
.mobile-nav {
@apply sm:hidden;
}
.desktop-nav {
@apply sm:inline hidden;
}
#reader-content {
@apply px-8 sm:px-28;
}
.note {
@apply px-12 my-4 border-s-4 border-neutral-500;
}
.modal {
@apply p-4 bg-gray-800 shadow-lg shadow-black fixed top-[15%] bottom-[15%] left-[15%] right-[15%] overflow-y-scroll;
}
.layout {
contain: layout;
}
.chat-msg-list {
@apply flex flex-col absolute top-0 right-0 left-0 bottom-0 overflow-y-scroll;
}
}