-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
62 lines (56 loc) · 1.19 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
:root {
/* colors */
--primaryColor: #CA3216;
--darkText: #F2F2F2;
--darkCard: #111111;
--darkBackground: #000000;
--darkFooter: #1B1B1B;
/* spaces */
--marginCards: 10px;
--paddingCards: 15px;
--borderRadiusCards: 15px;
--buttonMargin: 10px;
--buttonPadding: 10px;
--buttonBorderRadius: 5px;
}
body {
height: 100vh;
width: 100%;
color: var(--darkText);
background-color: var(--darkBackground);
display: flex;
perspective: 1000px;
}
main {
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.cardOutide {
padding: 7% 20%;
}
.cardInside {
min-height: fit-content;
height: 50vh;
padding: var(--paddingCards);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2), 0 0 50px rgba(0, 0, 0, 0.2);
border-radius: var(--borderRadiusCards);
background: var(--darkCard);
transform-style: preserve-3d;
}
.cardInside h3 {
margin-bottom: 10px;
}