-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
138 lines (115 loc) · 2.07 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
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
130
131
132
133
134
135
136
137
138
body{
background: rgba(0,0,0,0.9);
margin: 0;
color: #fff;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}
.showcase::after{
content:'';
height: 80vh;
width: 100%;
background-image: url(wall.jpg);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
display: block;
filter: blur(10px);
-webkit-filter: blur(10px);
transition: all 500ms;
}
.showcase:hover::after{
filter: blur(0px);
-webkit-filter: blur(0px);
}
.showcase:hover .content{
filter: blur(90px);
-webkit-filter: blur(90px);
}
.content {
position: absolute;
z-index: 1;
top: 10%;
left: 50%;
margin-top: 105px;
margin-left: -145px;
width: 300px;
height: 350px;
text-align: center;
transition: all 1000ms;
}
.content .title{
font-size: 5rem;
margin-top: 1rem;
}
.content.text{
line-height: 1.7;
margin-top: 1rem;
}
.container{
max-width: 960px;
margin: auto;
overflow: hidden;
padding: 4rem 1rem;
}
.grid-3{
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 20px;
}
.grid-2{
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 20px;
}
.center{
text-align: center;
margin: auto;
}
.bg-light{
background: #f4f4f4;
color: #333;
}
.bg-dark{
background: #333;
color:#f4f4f4;
}
.logo {
height: 6px;
width: 6px;
}
footer{
padding: 2.2rem;
}
footer p{
margin: 0;
}
/* Small Screens */
@media (max-width: 560px){
.showcase::after{
height: 35vh;
}
.content{
top: 5%;
margin-top: 5px;
}
.grid-3, .grid-2{
grid-template-columns: 1fr;
}
.services div{
border-bottom: #333 dashed 1px;
padding: 2.5rem 1rem;
}
}
@media (max-width: 768px){
.showcase::after{
height: 35vh;
}
.content{
top: 5%;
margin-top: 5px;
}
.services div{
border-bottom: #333 dashed 1px;
padding: 2.5rem 1rem;
}
}