-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
157 lines (157 loc) · 2.4 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
*{
margin:0;
padding:0;
font-family: 'Poppins', sans-serif;
}
#banner{
background:linear-gradient(rgba(0,0,0,0.5),#009688), url(images/banner.jpg);
background-size:cover;
background-position:center;
height:100vh;
}
.logo{
width:140px;
position:absolute;
top:4%;
left:10%;
}
.banner-text{
text-align:center;
color:#fff;
padding-top:180px;
}
.banner-text h1{
font-size:130px;
font-family: 'Kaushan Script', cursive;
}
.banner-text p{
font-size:20px;
font-style:italic;
}
.banner-btn{
margin:70px auto 0;
}
.banner-btn a{
width:150px;
text-decoration:none;
display:inline-block;
margin:0 10px;
padding:12px 0;
color:#fff;
border:.5px solid #fff;
position:relative;
z-index:1;
transition:0.5s;
}
.banner-btn a span{
width:0;
height:100%;
position:absolute;
top:0;
left:0;
background:#fff;
z-index:-1;
transition:0.5s;
}
.banner-btn a:hover span{
width:100%;
}
.banner-btn a:hover{
color:#000;
}
#sideNav{
width:250px;
height:100vh;
position:fixed;
right:-250px;
top:0;
background-color:#009688;
z-index:2;
transition:0.5s;
}
nav ul li{
list-style:none;
margin:50px 20px;
}
nav ul li a{
text-decoration:none;
color:#fff;
}
#menuBtn{
width:50px;
height:50px;
background:#009688;
right:30px;
top:20px;
text-align:center;
position:fixed;
border-radius:3px;
z-index:3;
cursor:pointer;
}
#menuBtn img{
width:20px;
margin-top:15px;
}
@media screen and (max-width:770px){
.banner-text h1{
font-size:44px;
}
.banner-btn a{
display:block;
margin:20px auto;
}
}
/*--feature--*/
#feature{
width:100%;
padding:70px 0;
}
.title-text{
text-align:center;
padding-bottom:70px;
}
.title-text p{
margin:auto;
font-size:20px;
color:#009688;
font-weight:bold;
position:relative;
z-index:1;
display:inline-block;
}
.title-text p::after{
content:'';
width:50px;
height:35px;
background:linear-gradient(#019587,#fff);
position:absolute;
top:-20px;
left:0;
z-index:-1;
transform:rotate(10deg);
border-top-left-radius:35px;
border-bottom-right-radius:35px;
}
.title-text h1{
font-size:50px;
}
.feature-box{
width:80%;
margin:auto;
display:flex;
flex-wrap:wrap;
align-items:center;
text-align:center;
}
.features{
flex-basis:50%;
}
.features-img{
flex-basis:50%;
margin:auto;
}
.features-img img{
width:70%;
border-radius:10px;
}