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
93 lines (78 loc) · 1.29 KB
/
Copy pathstyle.css
File metadata and controls
93 lines (78 loc) · 1.29 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
/**
* 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.
*
*/
* {
box-sizing: border-box;
}
body {
background-color: gray;
color: white;
}
header {
display: flex;
flex-direction: column;
align-items: center;
background-color: brown;
color: white;
width: 100vw;
height: 15vh;
}
header nav {
display: flex;
flex-direction: row;
justify-content: center;
gap: 1rem;
}
header a {
display: block;
color: white;
text-decoration: none;
}
a:hover {
color: turquoise;
}
main h1 {
text-align: center;
}
article:first-child {
margin-top: 5rem;
margin-bottom: 4rem;
border-bottom: 1rem solid black;
}
#art-1 h1 {
text-decoration: underline solid black;
}
#art-2 {
background-color: white;
color: black;
padding-top: 2rem;
padding-bottom: 1rem;
}
#art-2 table {
text-align: center;
width: 80%;
margin: auto;
border: 3px solid;
border-collapse: collapse;
}
#art-2 th,
td {
border: 3px solid brown;
}
#art-3 {
margin-top: 5rem;
}
footer {
width: 100vw;
height: 8vh;
background-color: black;
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 0 1rem;
}