-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
170 lines (140 loc) · 2.86 KB
/
index.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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
*{
margin: 0;
padding: 0;
}
body{
background:whitesmoke;
font-family: 'Roboto', sans-serif;
}
header{
background-color: black;
color: rgb(240, 229, 245);
display: flex;
justify-content:space-between;
align-items: center;
padding:25px;
}
a{
text-decoration: none;
color: whitesmoke;
}
.titulo{
margin: 25px 25px;
color: blueviolet;
}
nav{
width:960px;
margin: 0 auto;
display: flex;
justify-content:space-between;
}
.menu{
margin: 35px;
position:relative;
color:rgb(232, 232, 213);
}
.select-lang{
cursor: pointer;
display:flex;
justify-content: space-between;
line-height: 2;
width: 100px;
}
.select-lang:before {
content: '';
display: block;
width: 32px;
height: 32px;
background-image: url(https://flagsapi.com/ES/flat/32.png);
}
.menu ul{
border-radius: 6px;
margin: 0;
padding: 0;
background-color: rgb(50, 50, 50);
border: 2px solid rgb(50, 50, 50);
position:absolute;
display:none;
}
.menu:hover ul {
display:block;
}
.menu ul li{
list-style: none;
display: flex;
justify-content: space-between;
}
.menu ul li a{
width:125px;
display: block;
padding: 5px 10px;
}
.menu ul li a:hover {
background-color: rgb(14, 14, 14);
border-radius: 5px;
}
.menu ul li a:before {
content: '';
display: inline-block;
vertical-align: middle;
margin-right: 5px;
width: 32px;
height: 32px;
}
.es:before {
background-image: url(https://flagsapi.com/ES/flat/32.png);
}
.en:before {
background-image: url(https://flagsapi.com/GB/flat/32.png);
}
img {
border-radius: 50%;
border: 5px solid black;
box-shadow: 4px 4px 10px black;
width: 220px;
height: auto;
}
img:hover{
animation: pulse;
animation-duration: 1.3s;
}
h1{font-size: 3em}
section {
flex-direction: column;
display: flex;
margin: 40px auto;
max-height: 10%;
justify-content: center;
align-items: center;
font-size: 1.1rem;
}
#text {
background-color: rgb(2, 2, 2);
color: whitesmoke;
padding: 50px 50px;
min-width: 86%;
border: 5px solid blueviolet;
border-radius: 11px;
font-size: 1rem;
}
button {
font-size: 0.8rem;
font-weight: bold;
padding: 10px 30px;
max-width: 170px;
border-radius: 14px;
border: 2px solid black;
box-shadow: 2px 2px 10px rgb(97, 19, 171);
color: rgb(255, 255, 255);
background-color: blueviolet;
}
button:hover {
background-color: rgb(110, 19, 195);
animation: headShake;
animation-duration: 1s;
}
footer{
background-color: black;
color: white;
padding: 0%;
}