-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
133 lines (113 loc) · 2.17 KB
/
Copy pathstyles.css
File metadata and controls
133 lines (113 loc) · 2.17 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
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
132
133
body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
height: 100vh;
align-items: center;
background-image: radial-gradient(circle at 80.04% 19.96%, #a573fa 0, #7e5be8 25%, #4d42d4 50%, #002cc0 75%, #001caf 100%);
}
/*que la clase titulo este arriba centrada y con un tamaño de 50px*/
.titulo {
position: absolute;
top: 0;
left: 0;
right: 0;
text-align: center;
font-size: 50px;
color: #fff;
font-family: 'Roboto', sans-serif;
font-weight: 300;
margin: 0;
padding: 20px 0;
}
/*que la clase descripcion este arriba centrada y con un tamaño de 50px*/
.descripcion {
position: absolute;
top: 0;
left: 0;
right: 0;
text-align: center;
font-size: 20px;
color: #fff;
font-family: 'Roboto', sans-serif;
font-weight: 300;
margin: 0;
padding: 80px 0;
margin-top: 10px;
}
#piano {
height: 290px;
padding: 90px 30px 0 30px;
border-radius: 10px;
}
.teclas {
position: relative;
}
.teclas-blancas {
display: flex;
}
.teclas-negras {
position: relative;
display: flex;
}
.tecla-blanca {
width: 68px;
height: 280px;
background-color: #fff;
border-radius: 0 0 5px 5px;
border: solid #000 2px;
box-sizing: border-box;
}
.tecla-negra {
width: 38px;
height: 160px;
border-radius: 0 0 5px 5px;
box-sizing: border-box;
position: absolute;
background-color: #000;
}
.tecla-negra:nth-child(1) {
left: 48px;
}
.tecla-negra:nth-child(2) {
left: 117px;
}
.tecla-negra:nth-child(3) {
left: 253px;
}
.tecla-negra:nth-child(4) {
left: 320px;
}
.tecla-negra:nth-child(5) {
left: 389px;
}
.tecla-negra:nth-child(6) {
left: 525px;
}
.tecla-negra:nth-child(7) {
left: 594px;
}
.tecla-negra:nth-child(8) {
left: 730px;
}
.tecla-negra:nth-child(9) {
left: 797px;
}
.tecla-negra:nth-child(10) {
left: 865px;
}
/*hacer footer con degradado*/
footer {
position: absolute;
bottom: 0;
left: 0;
right: 0;
text-align: center;
font-size: 20px;
color: #fff;
font-family: 'Roboto', sans-serif;
font-weight: 300;
margin: 0;
padding: 20px 0;
}