-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
85 lines (76 loc) · 1.89 KB
/
Copy pathindex.css
File metadata and controls
85 lines (76 loc) · 1.89 KB
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
/* fonts import */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Orbitron:wght@400..900&display=swap");
@import "tailwindcss";
@theme {
--color-primary: #ffffff;
--color-secondary: #D3E7FF;
--color-dim: #2C3148;
--color-skyBlue: #74C8FF;
--font-orbiton: "Orbitron", sans-serif;
--font-manrope: "Manrope", sans-serif;
}
@utility bg-planet-card-bg {
background-image: url('/src/assets/imgs/planet-card-bg.png');
}
@utility bg-rectangle-card-bg {
background-image: url('/src/assets/imgs/rectangle.svg');
}
@layer base {
:root {
--dark-bg: #0a1824;
--dark: #1a1a1a;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
color: white;
width: 100%;
overflow-x: hidden;
overscroll-behavior-y: none;
height: 100%;
user-select: none;
font-family: "Manrope", sans-serif;
}
}
/* components */
@layer components {
.sub-text {
@apply font-manrope text-secondary;
}
.flex-center {
@apply flex justify-center items-center;
}
.detail-sub-text {
@apply font-manrope text-lg w-full text-center text-primary md:text-start md:w-[50vw];
}
.info-sub-text {
@apply tracking-widest text-secondary text-lg uppercase;
}
.nav-text {
@apply font-manrope text-secondary cursor-pointer transition-all;
}
.nav-hover-text-isBack {
@apply text-primary hover:text-secondary;
}
.nav-hover-text-notBack {
@apply text-secondary hover:text-primary;
}
.info-text {
@apply w-52 h-full flex justify-center items-center flex-col gap-1;
}
.info-number {
@apply font-orbiton text-3xl font-bold;
}
.arrow {
@apply absolute right-5 md:right-16 top-16 cursor-pointer z-10 hover:border border-[#e0fbfc50] rounded-full transition-all;
}
.earth-title {
@apply font-orbiton text-8xl font-bold;
}
.underline-div-div {
@apply w-28 h-2 rounded-lg bg-skyBlue;
}
}