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
59 lines (56 loc) · 1015 Bytes
/
Copy pathstyle.css
File metadata and controls
59 lines (56 loc) · 1015 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
/*article styles*/
body {
background-color: rgb(38, 181, 240);
}
h2, h3 {
color: black;
text-align: center;
}
h1, p {
text-align: center;
text-shadow: slategray;
}
/*article styles*/
#article {
display: flex;
justify-content: center;
flex-direction: column;
margin: 0.5em;
padding: 0.5em;
border-radius: 1em;
text-align: center;
}
/* #article:nth-child(3){
background-color:yellow;
color: red;
} */
.first-article{
background-color:yellow;
}
article.first-article :nth-child(2) {
color: red;
}
/*footer styles*/
footer {
background-color:rgb(250, 252, 155);
padding: 0.5em;
margin: 0.5em;
border-radius: 1em;
}
footer a {
text-decoration: none;
color: rgb(248, 89, 89);
margin-left: 0.5em;
}
footer p {
color: #020101;
text-align: left;
}
/*
* 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.
*
*/