forked from CodeYourFuture/HTML-CSS-Coursework-Week1
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
49 lines (48 loc) · 752 Bytes
/
style.css
File metadata and controls
49 lines (48 loc) · 752 Bytes
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
/**
* 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.
*
*/
h1 {
color: rgb(14, 73, 112);
margin: 15px;
}
body {
height: 100vh;
}
article {
background: #ccc;
margin: 15px;
padding: 15px;
}
section {
margin: auto;
width: 50%;
max-width: 900px;
display: flex;
flex-direction: column;
}
article:first-child {
background-color: blue;
color: white;
}
header {
padding: 15px;
background: #ccc;
}
.logo {
max-width: 50px;
max-height: 50px;
}
footer {
padding: 15px;
height: 30px;
background: #ccc;
}
.header_flex {
display: flex;
align-items: center;
}