forked from full-stack-bcn/p2-typescript-2023
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylesDetail.css
67 lines (56 loc) · 1020 Bytes
/
stylesDetail.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
body {
margin: 50px 10%;
font-family: Verdana, sans-serif;
background-color: #262626;
color: white;
font-size: 1.5rem;
display: flex;
flex-direction: column;
}
h1 {
font-size: 5rem;
margin-top: 100px;
margin-bottom: 0;
text-align: center;
}
h3 {
font-size: 2rem;
font-weight: normal;
text-align: center;
}
body > div:nth-child(2) {
display: flex;
flex-direction: row;
}
body > div:nth-child(1) > div:nth-child(2) {
display: flex;
flex-direction: row;
justify-content: space-evenly;
margin: 50px;
}
body > div > div {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
body > div:nth-child(2) > div {
flex: 1;
align-items: center;
background-color: #3d3d3d;
margin: 20px;
padding: 20px;
border-radius: 15px;
height: 200px;
}
span.numt {
font-size: 6rem;
font-weight: bold;
transition: all 0.7s ease;
}
span.subt {
font-size: 0.7rem;
}
body > div:nth-child(2) > div:hover span.numt {
font-size: 8rem;
}