diff options
author | jdlugosz963 <jdlugosz963@gmail.com> | 2021-12-17 00:22:38 +0100 |
---|---|---|
committer | jdlugosz963 <jdlugosz963@gmail.com> | 2021-12-17 00:22:38 +0100 |
commit | c6b4c6a90a3bb77add64994f51d3e2af790c8452 (patch) | |
tree | c4faaf7e4e48fa09b555c0f4ba50e204f73e8617 /src/assets | |
parent | cee635ff1db9ba7c9212547831287efe56c69a1f (diff) | |
download | lom_frontend-c6b4c6a90a3bb77add64994f51d3e2af790c8452.tar.gz lom_frontend-c6b4c6a90a3bb77add64994f51d3e2af790c8452.zip |
make styles and add some features
Diffstat (limited to 'src/assets')
-rw-r--r-- | src/assets/css/tailwind.css | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/assets/css/tailwind.css b/src/assets/css/tailwind.css new file mode 100644 index 0000000..1028353 --- /dev/null +++ b/src/assets/css/tailwind.css | |||
@@ -0,0 +1,31 @@ | |||
1 | @tailwind base; | ||
2 | @tailwind components; | ||
3 | @tailwind utilities; | ||
4 | |||
5 | @layer base { | ||
6 | .inset-center { | ||
7 | position: absolute; | ||
8 | top: 50%; | ||
9 | left: 50%; | ||
10 | transform: translate(-50%, -50%); | ||
11 | } | ||
12 | |||
13 | kbd { | ||
14 | @apply bg-gray-600; | ||
15 | @apply p-1; | ||
16 | @apply rounded-md; | ||
17 | @apply border-gray-800; | ||
18 | @apply font-fira; | ||
19 | } | ||
20 | |||
21 | .searcher { | ||
22 | @apply inset-center; | ||
23 | @apply w-2/3; | ||
24 | @apply h-90; | ||
25 | @apply shadow-lg; | ||
26 | @apply bg-gray-900; | ||
27 | @apply p-4 rounded-lg; | ||
28 | @apply border-2; | ||
29 | @apply border-blue-900; | ||
30 | } | ||
31 | } | ||