generated from BuiltByMom/LookMom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.base.css
148 lines (136 loc) · 3.59 KB
/
style.base.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
@tailwind base;
:root {
--color-primary: 220 95% 50%;
--color-neutral-0: 0 0% 100%;
--color-neutral-50: 0 0% 98%;
--color-neutral-100: 0 0% 96%;
--color-neutral-200: 0 0% 92%;
--color-neutral-300: 0 0% 88%;
--color-neutral-400: 0 0% 62%;
--color-neutral-500: 0 0% 50%;
--color-neutral-600: 0 0% 36%;
--color-neutral-700: 229 34% 24%;
--color-neutral-800: 229 34% 16%;
--color-neutral-900: 229 34% 13%;
--color-yellow-900: 32 100% 45%;
--color-yellow-300: 32 100% 95%;
--color-yellow-200: 32 100% 90%;
--color-error-900: 328 100% 45%;
--color-error-300: 328 100% 95%;
--color-error-200: 328 100% 90%;
--color-red-900: 0 100% 45%;
--color-red-300: 0 100% 95%;
--color-red-200: 0 100% 90%;
--default-rounded: 6px;
}
body {
@apply text-neutral-900 bg-[#F1EBD9];
}
h1 {
@apply text-xl font-bold text-neutral-900;
}
h4 {
@apply text-lg font-bold text-neutral-700;
}
#__next {
@apply w-full h-full;
}
/* 🔵 - Yearn Finance ******************************************************
** Overwritting the defaults to match our needs
**************************************************************************/
* {
@apply scroll-smooth font-sans;
}
input::placeholder {
@apply text-neutral-400 not-italic;
}
textarea::placeholder {
@apply text-neutral-400 not-italic;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
-webkit-box-shadow: 0 0 0px 1000px rgba(0, 0, 0, 0) inset;
transition: background-color 5000s ease-in-out 0s;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type='number'] {
-moz-appearance: textfield;
}
label[aria-invalid='true'] {
@apply text-neutral-500 transition-colors;
& > form > div {
@apply border-[#FE0000] focus-within:border-[#FE0000] text-[#FE0000] focus-within:text-[#FE0000];
}
& > p {
@apply text-[#FF0000];
}
}
:focus {
outline-width: 0px;
outline-offset: 0px;
outline: none;
outline-color: transparent;
}
/* 🔵 - Yearn Finance ******************************************************
** Then, we import the tailwind class. They will be able to overwrite all
** the previous classes, not the next ones directly.
**************************************************************************/
@tailwind components;
@tailwind utilities;
/* 🔵 - Yearn Finance ******************************************************
** Shorthand for some group of style used across the application
***************************************************************************/
.max-w-6xl {
@apply max-w-[1232px] px-4;
}
/* 🔵 - Yearn Finance ******************************************************
** Some accessibilities fixes
**************************************************************************/
.scrollbar-none::-webkit-scrollbar {
display: none;
}
.scrollbar-none {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
.hover-fix::before {
display: block;
content: attr(title);
font-weight: bold;
height: 0;
overflow: hidden;
visibility: hidden;
}
.font-number {
@apply font-mono tabular-nums;
}
[type='text']:focus,
input:where(:not([type])):focus,
[type='email']:focus,
[type='url']:focus,
[type='password']:focus,
[type='number']:focus,
[type='date']:focus,
[type='datetime-local']:focus,
[type='month']:focus,
[type='search']:focus,
[type='tel']:focus,
[type='time']:focus,
[type='week']:focus,
[multiple]:focus,
textarea:focus,
select:focus {
outline: none;
box-shadow: none;
}