-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathestilo.css
119 lines (110 loc) · 2.35 KB
/
estilo.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
/*Normalize*/
* {
margin: 0;
padding: 0;
}
body {
width: 100%;
background-image: url(img/Monster-Hunter-Backgrounds2.jpg);
font-family: 'Caviar Dreams';
font-weight: bold;
font-size: 1.5rem;
color: rgb(163, 116, 0);
line-height: 1.85rem;
}
h1 {
margin: 1rem auto;
text-align: center;
font-family: 'Cocogoose';
font-weight: bold;
color: rgb(135, 96, 0);
}
p {
margin: 1rem auto;
text-align: justify;
}
.bg {
height: 250px;
width: 100%;
background-size: contain, cover;
background-image: url(img/bg.png);
background-repeat: no-repeat;
background-attachment: fixed;
background-position: 0px -46px;
overflow: hidden;
position: relative;
}
.logo {
display: flex;
justify-content: center;
align-items: center;
font-family: 'COCOGOOSE';
font-size: 3rem;
font-weight: bold;
text-align: center;
height: 100%;
color: #f2d0a8;
background-color: rgba(114, 45, 11, 0.45);
text-shadow: 4px 4px 0px #722d0b;
overflow: hidden;
}
article {
background-color: rgba(255, 241, 206, 0.7);
border: 1px solid orange;
}
article.Contenido{
max-width: 800px;
margin: 0 auto;
text-align: center;
}
.galeria {
display: grid;
grid-template-columns: repeat(3, 1fr);
}
.galeria figure img {
width: 154px;
height: auto;
}
.galeria figure{
position: relative;
overflow: hidden;
opacity: 0;
transition: opacity 1s ease-in;
}
.galeria figure.mostrar{
opacity: 1;
transition: opacity 1s ease-in;
}
.galeria figure figcaption{
font-size: inherit;
transition: font-size 0.3s ease-in;
transition: border-top 0.1s ease-in;
}
.galeria figure:hover figcaption{
border-top: 2px solid rgb(135, 96, 0);
font-size: 2rem;
color: rgb(135, 96, 0);
}
figcaption {
text-align: center;
}
figcaption span.subtitulo{
font-family: 'Caviar Dreams';
font-weight: normal;
}
.galeria figure img{
transform: scale(1);
transition: transform 0.2s ease;
}
.galeria figure img:hover{
transform: scale(1.1);
}
footer{
color: aliceblue;
display: flex;
height: 60px;
background-color: rgba(114, 45, 11, 1);
}
footer p:hover{
color: rgb(163, 116, 0);
}