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
69 lines (59 loc) · 970 Bytes
/
style.css
File metadata and controls
69 lines (59 loc) · 970 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/**
* 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.
*
*/
/* body */
body {
display: flex;
flex-direction: column;
align-items: center;
background-color: bisque;
margin-top: 0;
}
/* header */
header {
background-color: goldenrod;
width: 100%;
padding-left: 13rem;
}
header h1 {
font-size: 3rem;
}
/* main */
main {
padding-top: 0.5rem;
}
article:first-child {
font-size: 1.3rem;
}
article {
padding: 1rem 0 2rem 0;
}
article h2,
article p {
padding: 0 10rem 0 10rem;
}
img {
padding-left: 10rem;
}
a {
padding-left: 10rem;
}
/* footer */
footer {
padding-bottom: 2rem;
text-align: center;
}
hr {
display: block;
width: 50rem;
height: 1px;
border: 1px;
border-top: 1px solid rgb(140, 140, 141);
margin: 1em;
padding: 0.5rem;
}