-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
94 lines (81 loc) · 1.44 KB
/
style.css
File metadata and controls
94 lines (81 loc) · 1.44 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
* {
margin: 0;
box-sizing: border-box;
padding: 0;
}
body {
display: flex;
flex-direction: column;
min-height: 100vh;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
text-align: center;
padding: 20px;
background: #020617;
color: white;
line-height: 1.6;
}
header {
height: 47px;
}
h1 {
font-size: 1.8rem;
}
main {
flex: 1;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 15px;
max-width: 900px;
margin: 30px auto;
}
.card {
background: #1e293b;
padding: 25px;
border: 2px solid #0c1421;
border-radius: 12px;
text-decoration: none;
color: #38bdf8;
transition: transform .3s, background .3s;
display: flex;
flex-direction: column;
gap: 8px;
}
/* Efecto táctil para móvil y hover para PC */
.card:active,
.card:hover {
background: #0ea5e9;
color: white;
transform: translateY(-5px);
}
.card h2 {
font-size: 1.4rem;
transition: color .2s;
}
.card p {
color: #94a3b8;
font-size: 0.9rem;
transition: color .2s;
}
.card:hover p {
color: white;
}
footer {
height: 150px;
padding: 40px 20px;
border-top: 1px solid #1e293b;
color: #94a3b8;
font-size: 0.9rem;
}
footer a {
color: #38bdf8;
text-decoration: none;
font-weight: bold;
transition: 0.3s;
}
footer p {
margin-top: 10px;
font-size: 0.8rem;
opacity: 0.7;
}