66 transform : rotate (360deg );
77 }
88}
9- .error-message {
10-
11- }
12-
13- .error-message ::before {
14-
15-
16- top : 0 ;
17- left : 0 ;
18- width : 10px ;
19- height : 10px ;
20- border-radius : 50% ;
21- background-color : pink;
22- }
23-
24- .error-message {
25-
26- color : # FFFFFF ;
27- padding : 10px ;
28- margin : 5px 0 ;
29- border-radius : 5px ;
30- }
319
3210@media (prefers-reduced-motion : no-preference) {
3311 a : nth-of-type (2 ) .logo {
3412 animation : logo-spin infinite 20s linear;
3513 }
3614}
3715
38- .read-the-docs {
39- color : # 888 ;
40- }
41-
4216@tailwind base;
4317@tailwind components;
4418@tailwind utilities;
131105 }
132106}
133107
134- /* Tailwind Styles */
108+ /*
109+ Note: This is layout for the whole site.
110+ */
111+
112+ /* Layout For Whole Site */
135113
136114.container {
137115 @apply relative z-10 mx-auto flex w-full flex-col items-center;
138116}
139117
140- .btnCancel {
141- @apply h-10 rounded-xl border bg-gray-400 px-3 py-1.5 font-satoshi text-sm text-white hover:bg-blue-400;
118+ /*
119+ This is the wording logo in the nav bar
120+ */
121+
122+ .header_logo {
123+ @apply bg-gradient-to-r from-blue-600 via-blue-700 to-blue-600 bg-clip-text text-transparent;
124+ }
125+
126+ /* Tailwind Styles */
127+
128+ /*
129+ Font for body
130+ */
131+
132+ .font_body {
133+ @apply font-satoshi text-sm;
134+ }
135+
136+ /*
137+ The border style of the container
138+ */
139+
140+ .summary_box {
141+ @apply rounded-md border bg-white p-4 px-8 ring-1 hover:ring-slate-300 ;
142142}
143143
144- .btn {
144+ /*
145+ Button
146+ */
147+
148+ .btnBlue {
145149 @apply h-10 rounded-xl border bg-blue-500 px-3 py-1.5 font-satoshi text-sm text-white hover:bg-blue-400;
146150}
147151
152+ .btnGray {
153+ @apply h-10 rounded-xl border bg-gray-400 px-3 py-1.5 font-satoshi text-sm text-white hover:bg-blue-400;
154+ }
155+
156+ .btnRed {
157+ @apply h-10 rounded-xl border bg-red-700 px-3 py-1.5 font-satoshi text-sm text-white hover:bg-blue-400;
158+ }
159+
160+
161+ /*
162+ The heading directly under the nav bar.
163+ */
164+
148165.head_text {
149166 @apply mt-16 text-center text-5xl font-extrabold leading-[1.15 ] text-black sm:text-6xl;
150167}
151168
152- .header_logo {
153- @apply bg-gradient-to-r from-blue-600 via-blue-700 to-blue-600 bg-clip-text text-transparent;
154- }
155-
156169.desc {
157170 @apply mt-7 px-2 text-center font-sans text-3xl font-medium text-gray-800 md:p-0 md:px-0 md:text-5xl;
158171}
162175 letter-spacing : 0.03em ;
163176}
164177
165- . url_input {
166- @apply block w-full rounded-md border-0 bg-white py-2 pl-5 pr-5 font-satoshi text-sm font-medium shadow-sm ring-1 ring-slate-300 hover:border-0 hover:ring-1 hover:ring-sky-500 focus:border-blue-400 focus:outline-none focus:ring focus:ring-blue-300 focus:ring-opacity-40;
167- }
178+ /*
179+ Input field.
180+ */
168181
169- .ani_input {
170- @apply block w-full rounded-md border-0 bg-white py-2 pl-5 pr-5 font-satoshi text-sm font-medium shadow-sm ring-1 ring-slate-300 transition duration-200 hover:border-0 hover:ring-1 hover:ring-sky-500 focus:border-blue-400 focus:outline-none focus:ring focus:ring-blue-300 focus:ring-opacity-40 ;
182+ .input {
183+ @apply block rounded-md border-0 bg-white py-2 pl-5 pr-5 font-satoshi text-sm ring-1 transition duration-200 hover:border-0 hover:ring-1 hover:ring-sky-500 focus:outline-none focus:ring-2 focus:ring-sky-500 ;
171184}
172185
173- input [type = "ani_input" ]: focus ~ .input-text ,
174- input [type = "ani_input" ]: not (: placeholder-shown ) ~ .input-text {
175- @apply -translate-x-2 -translate-y-5 scale-75 transform text-blue-500;
176- }
186+ /*
187+ This is for when the input field is loading
188+ */
177189
178- .url_input_loading {
190+ .input_loading {
179191 @apply block w-full rounded-md border border-gray-300 bg-gray-300 bg-opacity-50 py-2 pl-5 pr-5 font-satoshi text-sm font-medium shadow-lg focus:border-black focus:outline-none focus:ring-0;
180192}
181- .dropdown {
182- @apply block w-64 rounded-md border-0 p-3 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 focus:border-blue-400 focus:outline-none focus:ring focus:ring-blue-300 focus:ring-opacity-40 sm:text-sm sm:leading-6;
183- }
184193
185- .submit_btn {
186- @apply absolute inset-y-0 right-0 my-1.5 mr-1.5 flex w-10 items-center justify-center rounded border border-gray-200 font-sans text-sm font-medium text-gray-400 hover:border-gray-700 hover:text-gray-700;
194+ /*
195+ Dropdown field.
196+ */
197+
198+ .dropdown {
199+ @apply block w-64 font-satoshi cursor-pointer rounded-md border-0 p-3 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset sm:text-sm sm:leading-6 focus:outline-none focus:ring-2 focus:ring-sky-500 hover:border-0 hover:ring-1 hover:ring-sky-500 ;
187200}
188201
189202.link_card {
190203 @apply flex cursor-pointer items-center justify-between rounded-md border bg-white p-3 py-2.5 pl-5 ring-1 hover:bg-indigo-100;
191204}
192205
206+ /*
207+ Circle background for logos
208+ */
209+
193210.copy_btn {
194211 @apply flex h-7 w-7 cursor-pointer items-center justify-center rounded-full bg-white/10 shadow-[inset_10px_-50px_94px_0_rgb (199 , 199 , 199 , 0.2 )] md:mr-10;
195212}
196213
197- . blue_gradient {
198- @apply bg-gradient-to-r from-blue-600 to-cyan-600 bg-clip-text font-black text-transparent;
199- }
214+ /*
215+ Tooltip. Please see Tooltip.tsx under components folder
216+ */
200217
201- .summary_box {
202- @apply w-[870px ] rounded-md border bg-white p-4 px-8 ring-1 hover:ring-slate-300 hover:ring-slate-300;
203- /* backdrop-blur */
204- }
205218.tooltip-container {
206219 @apply cursor-pointer;
207220}
221+
208222.tooltip {
209223 @apply border;
210224 position : absolute;
@@ -220,5 +234,25 @@ input[type="ani_input"]:not(:placeholder-shown) ~ .input-text {
220234}
221235
222236.material-symbols-outlined {
223- font-size : 18px ; /* Adjust the value as needed */
237+ font-size : 18px ;
238+ }
239+
240+ /*
241+ Error message. Please see ErrorMessages.tsx under components folder
242+ */
243+
244+ .error-message ::before {
245+ top : 0 ;
246+ left : 0 ;
247+ width : 10px ;
248+ height : 10px ;
249+ border-radius : 50% ;
250+ background-color : pink;
224251}
252+
253+ .error-message {
254+ color : # FFFFFF ;
255+ padding : 10px ;
256+ margin : 5px 0 ;
257+ border-radius : 5px ;
258+ }
0 commit comments