forked from Raghav14200/Web_Workshop
-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
132 lines (105 loc) · 1.81 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
/*----Default Values-----
Fonts: Roboto
Colors:
1. Forest blue: #0a3d62
2. Red: #ff0000
3. Black: #000
4. White: #fff
-----------------------*/
/*----------------------
Basic Setup
----------------------*/
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family:Raleway,sans-serif;
}
ul{
display: flex;
}
li{
list-style:none;
}
a{
text-decoration: none;
}
body{
color: #000;
}
.container{
max-width: 1000px;
margin: 0 auto;
background-color: #fff;
}
/*----------------------
Header
----------------------*/
.navbar{
display:flex;
justify-content: flex-end;
height: 10vh;
align-items: center;
font-size: 20px;
}
#logo{
margin-right:auto;
}
#logo img{
height:9vh;
}
.navbar li{
margin: 0 45px;
color:#0a3d62;
}
/*banner section*/
.banner{
height: 90vh;
background-image: linear-gradient(to right,rgba(10, 61, 98,0.8),rgba(10, 61, 98,0.7)),url(./img/img2.jpg);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
text-transform: uppercase;
}
.banner h1{
font-weight: 300;
font-size: 39px;
}
.banner h1 span{
color:#47ccf5;
font-weight: bold;
}
/*activities*/
.activities{
display: flex;
flex-wrap: wrap;
margin: 100px 0;
}
.activities > div{
width:21%;
min-width: 250px;
flex-grow: 1;
margin: 20px 2%;
}
.activities img{
width: 100%;
max-height: 300px;
object-fit: cover;
}
.activities h3{
font-size: 25px;
margin: 20px 0;
padding: 0 15px;
border-left: 4px solid #ff0000;
color:#0a3d62;
}
/*CSS Assignment */
/*----------------------
write css for gallery section here
----------------------*/
/*----------------------
write css for contact section here
----------------------*/