-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
107 lines (98 loc) · 1.66 KB
/
style.css
File metadata and controls
107 lines (98 loc) · 1.66 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
@import url("./css/navbar.css");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Times New Roman', Times, serif;
}
/*Banner*/
.banner {
width: 100%;
height: 60rem;
animation: banner 10s infinite linear alternate;
background-size: 100% 100%;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
@keyframes banner{
0%, 20%{
background-image: url("./img/img-banner1.webp");
}
25%, 45%{
background-image: url("./img/img-banner2.webp");
}
50%, 70%{
background-image: url("./img/img-banner3.webp");
}
75%, 100%{
background-image: url("./img/img-banner4.webp");
}
}
.capa{
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background: rgba(0,0,0,0.6);
}
.info {
z-index: 1;
width: 100%;
max-width: 550px;
text-align: center;
}
.info h1 {
color: #fff;
font-size: 45px;
margin-bottom: 20px;
letter-spacing: 1px;
}
.info p {
color: #c7c7c7;
line-height: 1.7;
margin-bottom: 30px;
}
.info a {
color: #fff;
text-decoration: none;
background: #3088e0;
padding: 16px 37px;
display: inline-block;
border-radius: 50px;
box-shadow: 7px 5px 5px rgba(11, 11, 11, 0.653);
;
}
.info a:hover {
background: #3e6286;
}
/*Portfolio con tres columnas usando flexbox y flex wrap*/
img {
max-width: 100%;
}
#titulo-portfolio {
font-size: 3rem;
text-align: center;
padding: 2rem;
flex-basis: calc(100% - 1rem);
}
.contenedor {
max-width: 1200px;
width: 95%;
margin: 0 auto;
}
.contenedor {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.fotografia {
flex-basis: calc(33.3% - 1rem);
}
.fotografia h2, p {
font-size: 1rem;
text-align: center;
padding: 5px 5px 10px;
}