forked from ognjenkoldzic/Cooking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
80 lines (76 loc) · 1.24 KB
/
style.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
.recbody{
/*width: 100vw;
display: flex;*/
justify-content: center;
/*padding: 20px;*/
}
.bbq-recipe{
padding: 30px;
margin: 20px;
max-width: 990px;
width: 100%;
}
.bbq-recipe img{
width: 300px;
height: auto;
margin-left: 35px;
}
.list-group-item{
max-width: 350px;
}
.carousel-item{
padding-left: 20px;
padding-right: 20px;
}
.flex-bbq{
display: flex;
flex-direction: column;
width: 70%;
margin-top: 10px;
}
.big-flex{
display: flex;
padding: 20px;
}
.big-flex img{
max-height: 300px;
padding-left: 20px;
}
.share{
width: 200px;
}
/*hover*/
.htext {
background-color:#0dcaf0;
color: white;
font-size: 16px;
padding: 16px 32px;
}
.hcontainer {
position: relative;
width: 50%;
}
.himage {
opacity: 1;
display: block;
width: 100%;
height: auto;
transition: .5s ease;
backface-visibility: hidden;
}
.middle {
transition: .5s ease;
opacity: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
text-align: center;
}
.hcontainer:hover .image {
opacity: 0.3;
}
.hcontainer:hover .middle {
opacity: 1;
}