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
81 lines (75 loc) · 1.28 KB
/
Copy pathstyle.css
File metadata and controls
81 lines (75 loc) · 1.28 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
/**
* 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.
*
*/
*{
margin: 0%;
padding: 0%;
box-sizing: border-box;
}
body{
margin: 2% 10%;
background-color:aliceblue;
color: black;
}
header{
display: flex;
flex-direction: column;
text-align: left;
margin-bottom: 2%;
}
h1 {
padding-bottom: 1%;
}
nav > ul{
display: flex;
justify-content: center;
gap: 1%;
list-style: none;
font-weight: bolder;
color: darkblue;
padding-bottom: 2%;
}
ul:first-child{
font-style: italic;
}
.summary{
width: 80%;
margin-bottom: 2%;
}
/* about article */
article{
display: flex;
flex-direction: column;
padding-bottom: 1%;
border-bottom: 1px solid lightgrey;
margin-bottom: 5%;
}
.article-header{
font-weight:bolder;
font-style: italic;
margin-bottom: 2%;
}
.article-image{
width: 80%;
height: 40vh;
margin-bottom: 2%;
}
a{
color: blue;
}
/* footer */
footer{
display: flex;
flex-direction: column;
text-align: center;
margin-top: 2%;
}
footer> p:last-child{
font-size: 0.75em;
font-style: italic;
}