|
21 | 21 | } |
22 | 22 | } |
23 | 23 |
|
24 | | -/* NavBar */ |
25 | | -.nav-link-mobile { |
26 | | - @apply font-Barlow text-base my-5; |
27 | | -} |
28 | | -.nav-link-desktop { |
29 | | - @apply font-Barlow text-base mx-6 py-10 border-b-white border-b-4 border-opacity-0; |
30 | | -} |
31 | | -.nav-link-desktop:hover { |
32 | | - @apply border-b-white border-b-4 border-opacity-50; |
33 | | -} |
34 | | -.nav-link-desktop.active { |
35 | | - @apply border-b-white border-b-4; |
36 | | -} |
| 24 | +@layer components { |
| 25 | + /* NavBar */ |
| 26 | + .nav-link-mobile { |
| 27 | + @apply font-Barlow text-base my-5; |
| 28 | + } |
| 29 | + .nav-link-desktop { |
| 30 | + @apply font-Barlow text-base mx-6 py-10 border-b-white border-b-4 border-opacity-0; |
| 31 | + } |
| 32 | + .nav-link-desktop:hover { |
| 33 | + @apply border-b-white border-b-4 border-opacity-50; |
| 34 | + } |
| 35 | + .nav-link-desktop.active { |
| 36 | + @apply border-b-white border-b-4; |
| 37 | + } |
37 | 38 |
|
38 | | -/* Home Page */ |
39 | | -.circle-hover { |
40 | | - @apply shadow-none; |
41 | | -} |
42 | | -.circle-hover:hover { |
43 | | - @apply shadow-[0_0_0_70px_rgba(255,255,255,0.1)] cursor-pointer; |
44 | | -} |
| 39 | + /* Home Page */ |
| 40 | + .circle-hover { |
| 41 | + @apply shadow-none; |
| 42 | + } |
| 43 | + .circle-hover:hover { |
| 44 | + @apply shadow-[0_0_0_70px_rgba(255,255,255,0.1)] cursor-pointer; |
| 45 | + } |
45 | 46 |
|
46 | | -/* Destination Page */ |
47 | | -.destination-tab { |
48 | | - @apply m-5 font-Barlow uppercase text-base pb-2; |
49 | | -} |
50 | | -.destination-tab:hover { |
51 | | - @apply border-b-white border-b-2 border-solid border-opacity-50; |
52 | | -} |
53 | | -.destination-tab.active { |
54 | | - @apply border-b-white border-b-2 border-solid border-opacity-100; |
55 | | -} |
| 47 | + /* Destination Page */ |
| 48 | + .destination-tab { |
| 49 | + @apply m-5 font-Barlow uppercase text-base pb-2; |
| 50 | + } |
| 51 | + .destination-tab:hover { |
| 52 | + @apply border-b-white border-b-2 border-solid border-opacity-50; |
| 53 | + } |
| 54 | + .destination-tab.active { |
| 55 | + @apply border-b-white border-b-2 border-solid border-opacity-100; |
| 56 | + } |
56 | 57 |
|
57 | | -/* Crew Page */ |
58 | | -.crew-info-container { |
59 | | - @apply flex-col; |
60 | | -} |
61 | | -.crew-container-text { |
62 | | - @apply order-2 lg:order-1; |
63 | | -} |
64 | | -.crew-container-tab { |
65 | | - @apply order-1 lg:order-2; |
66 | | -} |
67 | | -.crew-tab { |
68 | | - @apply bg-white opacity-20 hover:opacity-50 w-2.5 lg:w-4 h-2.5 lg:h-4 rounded-full mr-6; |
69 | | -} |
70 | | -.crew-tab.active { |
71 | | - @apply opacity-100; |
72 | | -} |
| 58 | + /* Crew Page */ |
| 59 | + .crew-info-container { |
| 60 | + @apply flex-col; |
| 61 | + } |
| 62 | + .crew-container-text { |
| 63 | + @apply order-2 lg:order-1; |
| 64 | + } |
| 65 | + .crew-container-tab { |
| 66 | + @apply order-1 lg:order-2; |
| 67 | + } |
| 68 | + .crew-tab { |
| 69 | + @apply bg-white opacity-20 hover:opacity-50 w-2.5 lg:w-4 h-2.5 lg:h-4 rounded-full mr-6; |
| 70 | + } |
| 71 | + .crew-tab.active { |
| 72 | + @apply opacity-100; |
| 73 | + } |
73 | 74 |
|
74 | | -/* Tech page */ |
75 | | -.tab-tech { |
76 | | - @apply w-[40px] h-[40px] lg:h-[80px] lg:w-[80px] text-base lg:text-3xl font-Bellefair border-white border-solid border-[1px] border-opacity-30 hover:border-opacity-100 lg:border-2 rounded-full; |
77 | | -} |
78 | | -.tab-tech.active { |
79 | | - @apply bg-white text-black; |
| 75 | + /* Tech page */ |
| 76 | + .tab-tech { |
| 77 | + @apply w-[40px] h-[40px] lg:h-[80px] lg:w-[80px] text-base lg:text-3xl font-Bellefair border-white border-solid border-[1px] border-opacity-30 hover:border-opacity-100 lg:border-2 rounded-full; |
| 78 | + } |
| 79 | + .tab-tech.active { |
| 80 | + @apply bg-white text-black; |
| 81 | + } |
80 | 82 | } |
0 commit comments