-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
124 lines (103 loc) · 1.87 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Poppins', sans-serif;
font-size: 16px;
line-height: 1.5; /*Spacing*/
color: #333;
background: #a1c3ff;
}
img {
max-width: 100%;
}
h1, h2 {
margin-bottom: 15px;
}
ul {
list-style-type: none;
}
.container {
max-width: 1100px;
margin: 0 auto;
padding: 0 30px;
}
.navbar {
background: #3474e6;
color: #fff;
height: 60px;
}
.navbar .logo {
font-size: x-large;
font-weight: bold;
}
.navbar a {
color: #fff;
text-decoration: none;
font-size: 18px;
font-weight: bold;
}
.navbar a:hover {
color:lightblue;
}
.navbar .container {
display: flex;
justify-content: space-between;
align-items: center;
height: 100%; /*100% of navbar, must otherwist align-items will not work due to container no height*/
}
.navbar ul {
display: flex;
}
.navbar ul li {
margin-left: 20px;
}
.header {
background-color: #0a51cc;
color: white;
min-height: 400px;
}
.header h1 {
font-size: 3rem;
font-weight: bold;
line-height: 1.2;
}
.header img {
max-width: 400px;
}
.header .container {
display: flex;
align-items: center;
justify-content: space-between;
}
.boxes .container {
display: flex;
justify-content: space-between;
align-items: center;
}
.box {
flex: 1;
background: #0a51cc;
color: white;
border-radius: 10px;
margin: 20px 10px;
box-shadow: 0 3px 5px rgba(0,0,0,0.6);
padding: 15px 20px;
}
.box i {
margin-right: 10px
}
@media(max-width: 768px) {
.header .container {
flex-direction: column;
padding-top: 20px;
text-align: center;
}
.boxes .container {
display: block;
text-align: center;
}
}