-
Notifications
You must be signed in to change notification settings - Fork 0
/
mystyle.css
221 lines (156 loc) · 3.27 KB
/
mystyle.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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
:root {
--dark-color: #19283f;
--green-color-alt: #33d1cc;
--red-color: #ff3150;
--yellow-color: #ffc400;
--section-color: #eff7fa;
}
body {
font-family: 'Roboto', sans-serif;
height: 300vh;
}
/*start navbar*/
.navbar {
background-color: var(--dark-color);
}
.nav-link {
color: white;
}
.navbar .navbar-nav .nav-link.active,
.navbar .navbar-nav .nav-link:focus,
.navbar .navbar-nav .nav-link:hover {
color: var(--green-color-alt);
}
.search {
border-left: solid 1px var(--green-color-alt);
color: var(--green-color-alt);
}
.navbar .navbar-toggler:focus {
box-shadow: none;
}
.main-btn {
border-radius: 20px !important;
background-color: #ff3150;
color: var(--yellow-color);
}
.main-btn:hover {
background-color: #ff3150;
color: var(--yellow-color);
}
/*end navbar*/
/*start landing*/
.landing {
min-height: calc(100vh - 72px);
background-color: var(--dark-color);
}
/*end landing*/
/*start features*/
.main-title::before {
position: absolute;
content: "";
width: 120px;
left: 50%;
transform: translateX(-50%);
height: 2px;
background-color: var(--green-color-alt);
bottom: -20px;
}
.features .icon-holder {
height: 200px;
}
.features .icon-holder svg {
left: 50%;
transform: translateX(-50%);
}
.features .icon-holder .number {
font-size: 12rem;
color: var(--section-color);
}
.features .icon-holder .icon {
color: var(--green-color-alt);
}
.features .feat h4 {
color: var(--yellow-color);
}
/*end features*/
/*start our-work*/
.our-work {
background-color: var(--section-color);
}
.our-work ul .active {
background-color: var(--red-color);
color: var(--yellow-color);
}
/* top-right-buttom-left */
.our-work ul li {
padding: 0.5rem 1rem 0.5rem 1rem;
cursor: pointer;
transition-duration: 0.5s;
border-radius: 25px;
}
.our-work ul li:not(.active):hover {
color: var(--red-color);
transition-duration: 0.5s;
background-color: var(--yellow-color);
}
.our-work .box {
padding: 5px;
overflow: hidden;
position: relative;
}
.our-work .box::before {
content: attr(data-work);
position: absolute;
background-color: rgb(51 209 204 / 76%);
width: calc(100% - 10px);
height: calc(100% - 10px);
display: flex;
justify-content: center;
align-items: center;
font-weight: bold;
color: white;
transition: 0.3s;
font-size: 1.5rem;
transform: translateX(calc(-100% - 5px));
}
.our-work .box:hover::before {
transform: translateX(0);
}
/*end our-work*/
/*start stuff*/
.stuff .desc {
max-width: 500px;
}
/*end stuff*/
/*start team*/
.team {
background-color: var(--section-color);
}
.team h2 {
color: var(--yellow-color);
}
.team .box h4 {
background-color: var(--green-color-alt);
}
/*end team*/
/*start project*/
.project {
background-color: var(--dark-color);
}
/*end project*/
/*start subscribe*/
.subscribe {
background-color: var(--yellow-color);
}
.subscribe input[type="text"] {
border: none;
border-bottom: 1px solid white;
}
.subscribe input[type="text"]:focus {
outline: none;
}
.subscribe input[type="submit"] {
background-color: var(--dark-color);
color: var(--yellow-color);
}
/*end subscribe*/