-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
132 lines (110 loc) · 2.15 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
font-size: 62.5%;
--ff-heading: 'Roboto', sans-serif;
--fc-decoration: yellow;
--fc-text: white;
--bg-card: #1D1C19;
}
body {
background-color: #121214;
background-image: url(./assets/bg.svg);
background-position-x: center;
background-repeat: no-repeat;
background-size: cover;
}
header {
padding-top: 6rem;
text-align: center;
margin-bottom: 6.3rem;
}
.cards {
display: flex;
flex-direction: column;
gap: 2rem;
align-items: center;
text-align: center;
}
.card {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
background: var(--bg-card);
width: 31.6rem;
height: 41rem;
border-bottom: 2px var(--fc-decoration) solid;
border-radius: 0 0 20px 20px;
}
.card h2 {
display: flex;
justify-content: center;
align-items: center;
gap: 1.6rem;
width: 17.7rem;
height: 4.6rem;
border: rgba(116, 102, 21, 1) solid 2px;
color: var(--fc-decoration);
font-size: 2.5rem;
font-family: var(--ff-heading);
text-transform: uppercase;
font-weight: 700;
line-height: 3rem;
}
.card h2 span {
color: var(--fc-text);
font-size: 1.6rem;
}
.card ul {
margin-top: -3rem;
list-style: none;
font-family: var(--ff-heading);
}
.card ul li {
display: flex;
gap: 3.7rem;
}
.card ul li + li {
border-top: 1px solid rgba(128, 128, 128, 0.281);
}
.card ul li strong {
color: var(--fc-text);
font-size: 3.6rem;
font-weight: 900;
line-height: 8rem;
}
.card h2:hover,
.card ul li strong:hover,
.card ul li img:hover {
transform: scale(1.2);
transition: .5s;
}
.card {
opacity: 0;
animation: appear .2s forwards;
}
@keyframes appear {
0%{
transform: translateY(-50px);
opacity: 0;
}
100%{
opacity: 1;
}
}
@media (min-width: 667px){
#app{
display: flex;
flex-direction: column;
align-items: center;
}
.cards{
max-width: 67rem;
flex-direction: row;
flex-wrap: wrap;
}
}