-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
173 lines (160 loc) · 2.42 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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
body {
font-family: 'Oswald', sans-serif;
}
header{
padding: 10px 0px;
background: black;
color: white;
}
.menu-icon{
display: none;
}
header ul{
list-style-type: none;
}
header li{
display: inline-block;
margin-right: 5px;
}
.banner p{
background: grey;
padding: 15px 10px;
color: white;
text-align: center;
width: 450px;
margin: auto;
}
/* Banner */
.banner{
padding: 150px 0px;
background: url('img/banner.jpg');
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
.feature1{
padding: 150px 70px;
}
.feature2{
padding: 150px 40px;
}
.feature1 button, .feature2 button{
background: black;
color: whitesmoke;
outline: none;
border: none;
padding: 5px 10px;
}
/* Portfolio */
.portfolio {
padding: 50px 0px;
}
.portfolio h2{
text-align: center;
margin-bottom: 30px;
}
.portfolio img{
display: inline-block;
width: 310px;
height: 310px;
padding: 10px;
}
/* Team */
.team{
padding: 50px 0px;
}
.team h2{
text-align:center;
}
/* Process */
.process ul{
list-style: Square;
}
.process h2{
visibility: hidden;
}
.process .writeup{
padding: 100px 40px;
}
.process .writeup h2{
visibility: visible;
}
/* Footer */
footer{
padding: 50px 60px;
background: black;
color: white;
}
footer ul{
list-style: none;
}
footer .fa{
margin-right: 5px;
padding: 15px;
}
footer .social-link{
text-align: right;
}
/*=============================================MEDIA QUERIES===================*/
@media screen and (max-width: 780px) {
header{
padding: 5px 0px;
}
.banner p{
width: 300px
}
.feature1{
padding: 20px 10px;
}
.feature2{
padding: 0px 10px;
}
.dropdown{
position: relative;
display: inline-block;
}
.drop-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
padding: 0;
right: 0;
color: black;
}
.drop-content li{
display: block;
padding: 10px;
}
.menu-icon{
display: block;
}
.dropdown:hover .drop-content{
display: block;
}
.drop-content li:hover{
background: grey;
color: white;
margin: 0;
padding: 0;
}
.team div{
margin-top: 25px;
}
.process .writeup{
padding: 0px;
}
.process h2{
visibility: visible;
text-align: center;
}
.process .writeup h2{
visibility: hidden;
}
footer{
padding: 35px 0px;
text-align: center;
}
}