-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
119 lines (99 loc) · 1.85 KB
/
styles.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
/* Estilos generales */
body {
margin: 0;
font-family: Arial, sans-serif;
background-image: url('background.jpg');
background-size: cover;
background-attachment: fixed;
}
header {
padding: 40px;
text-align: center;
color: #000000;
}
nav ul {
list-style: none;
padding: 0;
}
nav ul li {
display: inline-block;
margin-right: 10px;
}
nav ul li a {
color: #000000;
text-decoration: none;
}
.projects {
padding: 80px 0;
text-align: center;
color: #fff;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
.project {
display: inline-block;
width: calc(25% - 40px);
background-color: rgba(0, 0, 0, 0.8);
padding: 40px;
margin: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
footer {
padding: 20px;
text-align: center;
color: #fff;
background-color: rgba(0, 0, 0, 0.5);
}
/* Estilos para efecto de parallax */
header {
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.projects {
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
/* Estilos adicionales */
h1 {
font-size: 36px;
}
h2 {
font-size: 24px;
}
p {
font-size: 18px;
text-align: center;
}
a {
font-size: 18px;
}
/* Estilos responsivos */
@media screen and (max-width: 768px) {
header {
padding: 20px;
}
h1 {
font-size: 28px;
}
h2 {
font-size: 20px;
}
p {
font-size: 16px;
}
.project {
width: calc(50% - 40px);
}
}
@media screen and (max-width: 480px) {
.project {
width: 100%;
}
}