forked from Minkyung-Kwak/Piro20_PR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
102 lines (91 loc) · 1.76 KB
/
style.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
@import "reset.css";
body {
font-family: "TheJamsil5Bold";
background: linear-gradient(to top, black, #292929);
height: 100dvh;
text-align: center;
font-family: "IBM Plex Sans KR", sans-serif;
}
@keyframes headerChange {
0%,
100% {
background: black;
color: #a3e4a5;
}
50% {
background: #d2f2d3;
color: black;
}
}
header {
font-size: 3rem;
height: 7rem;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(to right, black, #3b5044);
color: #0bec12;
width: 100%;
font-weight: 700;
animation: headerChange 10s ease-in-out infinite alternate;
}
@keyframes fadeInScaleUp {
0% {
opacity: 0;
transform: scale(0.9);
}
100% {
opacity: 1;
transform: scale(1);
}
}
#main_grid {
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 1rem;
}
#main_grid div {
animation: fadeInScaleUp 0.8s ease-in-out;
}
section {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 3rem;
width: 100%;
font-weight: 500;
}
.title_text {
width: 28rem;
font-size: 1.5rem;
margin-bottom: 0.3rem;
padding: 1.5rem;
border-radius: 12px;
background: linear-gradient(90deg, #dcdcdc 50%, #0bec12 0) var(--_p, 100%) /
200% no-repeat;
-webkit-background-clip: text;
background-clip: text;
color: transparent;
transition: background-position 0.8s ease;
cursor: pointer;
}
.title_text:hover {
--_p: 0%;
}
.my_text {
margin-bottom: 2rem;
width: 28rem;
font-size: 1.2rem;
padding: 1rem 0;
background: transparent;
border-radius: 12px;
border: 2px solid #0bec12;
color: white;
transition: background-color 0.5s ease-in-out;
}
.my_text:hover {
background-color: #0bec12;
color: black;
cursor: pointer;
}