-
Notifications
You must be signed in to change notification settings - Fork 0
/
bcart.css
107 lines (89 loc) · 1.54 KB
/
bcart.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
html {
height: 100%;
}
body {
background-color: #F2D4BC;
width: auto;
}
#content {
text-align: center;
padding-top: 25%;
}
h1 {
font-family: 'Lora', serif;
font-weight: 700;
font-size: 5em;
}
h3, h4 {
font-family: 'Lora', serif;
font-weight: 700;
}
hr {
width: 400px;
}
.flex {
display: flex;
flex-wrap: wrap;
}
.daysOfCode {
text-align: center;
}
.about {
text-align: center;
}
/*Delete later*/
.content {
position: relative;
margin: auto;
overflow: hidden;
}
.content .content-overlay {
background: rgba(0,0,0,0.7);
position: absolute;
height: 100%;
width: 100%;
left: 0;
top: 0;
bottom: 0;
right: 0;
opacity: 0;
-webkit-transition: all 0.4s ease-in-out 0s;
-moz-transition: all 0.4s ease-in-out 0s;
transition: all 0.4s ease-in-out 0s;
}
.content:hover .content-overlay{
opacity: 1;
}
.content-image{
width: 100%;
}
.content-details {
position: absolute;
text-align: center;
padding-left: 1em;
padding-right: 1em;
width: 100%;
top: 50%;
left: 50%;
opacity: 0;
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
-webkit-transition: all 0.3s ease-in-out 0s;
-moz-transition: all 0.3s ease-in-out 0s;
transition: all 0.3s ease-in-out 0s;
}
.content:hover .content-details{
top: 50%;
left: 50%;
opacity: 1;
}
.fadeIn-bottom{
top: 80%;
}
.content-text {
color: white;
}
.content-title {
color: white;
}