-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.css
78 lines (67 loc) · 2.14 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
@tailwind base;
@tailwind components;
@tailwind utilities;
.page-layout {
@apply min-h-screen transition-all overflow-hidden
bg-secondary-200 text-black
dark:text-white dark:bg-secondary-700;
}
.headline {
@apply flex flex-wrap items-center justify-between p-6 mx-auto shadow-xl
from-primary-400 to-primary-200
dark:from-primary-900 dark:to-primary-600 bg-gradient-to-r;
}
.nav-bar {
@apply self-center space-y-4
md:flex md:flex-row md:space-x-4 md:space-y-0;
}
.nav-item {
@apply flex justify-between px-2 py-2 rounded-lg transition-all space-x-1
hover:bg-primary-500 hover:text-white focus:bg-primary-500 focus:text-white focus:outline-none;
}
.dark-mode-button {
@apply justify-between px-2 py-2 rounded-lg transition-all space-x-1
hover:bg-primary-500 hover:text-white focus:outline-none;
}
.dark-mode-button-dark {
@apply dark-mode-button flex dark:hidden;
}
.dark-mode-button-light {
@apply dark-mode-button hidden dark:flex;
}
.dropdown-menu {
@apply absolute p-4 shadow-xl right-4 top-20 transition-all scale-0
bg-primary-300 ring-2 ring-primary-200 rounded-lg
dark:bg-primary-800 dark:ring-primary-700;
}
.footline {
@apply fixed inset-x-0 bottom-0 p-2 text-center
bg-opacity-50 bg-secondary-50 text-black
dark:bg-secondary-800 dark:bg-opacity-50 dark:text-white;
}
.card-layout {
@apply flex justify-center flex-wrap;
}
.card-group {
@apply justify-self-center px-2 py-2 m-2;
}
.card-group-text {
@apply flex p-4 space-x-4;
}
.link-card {
@apply relative flex items-center h-20 max-w-sm p-3 m-2 space-x-4 transition-all rounded-lg shadow-xl border
bg-secondary-100 border-secondary-400
hover:bg-primary-500 focus:bg-primary-500 focus:text-white hover:text-white focus:outline-none w-80 hover:-translate-y-1
dark:hover:bg-primary-500 dark:bg-secondary-600 dark:border-secondary-800;
}
.card-tag {
@apply absolute -right-1 w-1 h-7 bottom-2 transition-all text-center justify-center rounded-lg text-sm
group-hover:w-16
bg-highlight-400 text-white;
}
.fa-icon {
@apply fill-current;
}
svg {
@apply w-auto h-auto aspect-square;
}