-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.scss
129 lines (121 loc) · 1.92 KB
/
style.scss
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
120
121
122
123
124
125
126
127
128
129
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;700&family=Oswald:wght@400;700&display=swap");
$fuente-0: "Oswald", sans-serif;
$fuente-1: "Ubuntu", sans-serif;
body {
background-color: black;
color: whitesmoke;
max-width: 800px;
margin: 0 auto;
font-family: $fuente-1;
h3 {
font-family: $fuente-0;
text-transform: uppercase;
}
}
.trabajos {
width: 100%;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
align-items: center;
animation-name: inicioTrabajos;
animation-duration: 2s;
}
@keyframes inicioTrabajos {
0% {
opacity: 0;
}
50% {
opacity: 0;
}
100% {
opacity: 1;
}
}
article * {
margin: 5px;
}
article {
img {
display: block;
width: 90%;
margin: 10px auto;
filter: grayscale(90%);
border-radius: 4px;
transition: 0.4s;
}
&:hover {
img {
transform: scale(1.05);
filter: grayscale(0%);
}
.titulo {
color: #f7c301;
}
}
}
p.poster a,
p.informe a {
text-decoration: none;
display: block;
color: white;
border: 1px solid white;
margin: 5px;
padding: 5px;
text-align: center;
transition: 0.3s;
}
p.poster a:hover,
p.informe a:hover {
transform: scale(1.05);
color: #f7c301;
}
.presentacion {
display: flex;
justify-content: space-evenly;
animation: inicio 1s;
.texto {
text-align: justify;
width: 65%;
}
h1,
h2 {
text-align: center;
}
figure {
margin: auto auto;
}
img {
width: 100%;
}
}
@keyframes inicio {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@media only screen and (max-width: 799px) {
.trabajos {
grid-template-columns: 1fr 1fr;
}
}
@media only screen and (max-width: 599px) {
.trabajos {
grid-template-columns: 1fr;
}
.presentacion {
display: inherit;
.texto {
width: inherit;
padding: 5vw;
}
figure {
width: 80px;
}
}
.poster {
margin: 20px auto;
}
}