-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.css
102 lines (87 loc) · 1.5 KB
/
custom.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
/*Ocultar*/
@media screen and (max-width: 600px) {
.ocultar-div{
display:none;
}
}
/* Mostrar */
@media screen and (min-width: 600px) {
.mostrar-div{
display:none;
}
}
/* Hover y Slider */
.imagen {
filter: grayscale(80%);
transition: filter 0.5s ease-in-out;
}
.imagen:hover {
filter: grayscale(0%);
}
.contenedor {
padding-left: 0 !important;
padding-right: 0 !important;
width: 100% !important;
}
.timer {
font-size: 48px;
text-align: center;
margin-top: 20%;
}
.comments-margin {
margin: 3%;
}
/* pagina completa */
.full-post {
width: 100vw;
margin-left: calc(-50vw + 50%);
}
/* galeria de comics */
.cont-comic {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 15px;
}
.comic {
display: inline-block;
width: 20%;
margin: 1%;
background-color: #32010A;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
border-radius: 5px;
overflow: hidden;
}
.comic img {
width: 100%;
height: auto;
}
.comic-info {
padding: 10px;
text-align: center;
}
@media (min-width: 300px) {
.comic {
width: calc(60% - 40px);
}
}
@media (min-width: 600px) {
.comic {
width: calc(50% - 40px);
}
}
@media (min-width: 900px) {
.comic {
width: calc(33.33% - 40px);
}
}
@media (min-width: 1200px) {
.comic {
width: calc(20% - 40px);
}
}
/* arreglo de margen */
.margin-fix{
margin-top: 0;
margin-bottom: 0;
}