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
83 lines (67 loc) · 1.22 KB
/
style.css
File metadata and controls
83 lines (67 loc) · 1.22 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
/**
* 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{
background-color: rgb(255, 247, 205);
}
h1, h2{
margin: 5px;
padding: 5px;
color: gray;
text-align: center;
}
p{
padding: 15px;
}
img{
width: 200px;
height: 200px;
padding: 20px 10px;
}
/* containers for articles */
.container{
display: flex;
flex-direction: row;
margin: 10px;
padding: 10px;
background-color: lightblue;
border: 1px solid rgb(255, 119, 0);
border-radius: 5px;
}
/* sudo first:child */
main> .container:first-child{
background-color: aliceblue;
}
.city{
display: flex;
}
/* learn more buttons */
.side-container{
display: grid;
}
.btn{
background-color: blue;
color: white;
margin:auto;
padding: 15px;
font-size: 20px;
text-align: center;
border: none;
border-radius: 3px;
text-decoration: none;
}
.btn:hover {
background-color: green;
}
/* footer */
.footer{
background-color:#75828E;
margin: 10px;
padding: 20px;
text-align: center;
}