Skip to content

Commit 89e71b5

Browse files
committed
correction style
1 parent 6764446 commit 89e71b5

File tree

2 files changed

+55
-53
lines changed

2 files changed

+55
-53
lines changed

astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ import react from "@astrojs/react";
66

77
export default defineConfig({
88
integrations: [tailwind(), react()],
9-
site: "https://jodieaddis.github.io/space-tourism",
9+
site: "https://jodieaddis.github.io",
1010
base: "/space-tourism/",
1111
});

public/style/style.css

Lines changed: 54 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -21,60 +21,62 @@
2121
}
2222
}
2323

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+
}
3738

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+
}
4546

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+
}
5657

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+
}
7374

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+
}
8082
}

0 commit comments

Comments
 (0)