forked from CodeYourFuture/HTML-CSS-Module-Project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
executable file
·100 lines (82 loc) · 1.64 KB
/
Copy pathstyle.css
File metadata and controls
executable file
·100 lines (82 loc) · 1.64 KB
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
/* We are using the 'Roboto' font from Google. This has already been added to your HTML header */
body {
font-family: 'Roboto', sans-serif;
-webkit-font-smoothing: antialiased;
}
/**
* Add your custom styles below
*
* Remember:
* - Be organised, use comments and separate your styles into meaningful chunks
* for example: General styles, Navigation styles, Hero styles, Footer etc.
*
* - When using Flexbox, remember the items you want to move around need to be inside a parent container set to 'display: flex'
*/
nav {
width: 100%;
background-color: white;
}
#navbar {
display: flex;
justify-content: space-between;
width: 100%;
}
.nav-links {
display: flex;
list-style: none;
justify-content: flex-end;
}
.nav-item a {
margin-right: 2rem;
color: grey;
justify-content: center;
text-align: center;
}
.nav-item:first-child {
margin-right: auto;
margin-left: 30px;
}
.info {
background-image: url("/img/first-background.jpg");
background-size: cover;
height: 480px;
padding-top: 80px;
color: white;
text-align: center;
}
p {
padding: 40px;
margin: 20px;
}
.learn-more {
background-color: orange;
padding: 10px;
border-radius: 5px;
}
header {
font-size: 30px;
}
.karma2 {
text-align: center;
padding: 40px;
}
.icons {
display: flex;
justify-content: center;
list-style: none;
}
.icon-item {
padding: 10px;
margin: 10px;
text-align: center;
}
footer {
flex-direction: row;
flex-wrap: wrap;
flex-direction: column;
text-align: center;
}
#footlogo {
padding: 20px;
margin: 20px;
}