-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
76 lines (65 loc) · 1.17 KB
/
styles.css
File metadata and controls
76 lines (65 loc) · 1.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
/* General */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f9;
}
/* Encabezado */
header {
background-color: rgba(0, 128, 128, 0.9);
color: white;
text-align: center;
padding: 1rem 0;
display: block;
}
/* Sección principal */
#languages {
display: block;
padding: 20px;
}
/* Caja de cada lenguaje */
.language {
display: inline-block;
width: 30%;
margin: 1%;
padding: 15px;
border: 1px solid #ccc;
border-radius: 8px;
text-align: center;
background-color: #fff;
transition: transform 0.2s ease, background-color 0.3s ease;
}
.language h2 {
margin: 0 0 10px;
}
/* Colores específicos */
.easy {
border-color: #32cd32;
/* Lime green */
}
.medium {
border-color: #ff7f50;
/* Coral */
}
.hard {
border-color: #ff4500;
/* Orange red */
}
/* Hover y Active */
.language:hover {
transform: scale(1.05);
background-color: #f0f8ff;
/* AliceBlue */
}
.language:active {
background-color: rgba(255, 69, 0, 0.2);
/* Light red */
}
/* Jerarquías avanzadas */
#languages>.language:first-child {
border-width: 2px;
}
#languages>.language:last-child p:last-of-type {
font-weight: bold;
}