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
84 lines (70 loc) · 1.32 KB
/
Copy pathstyle.css
File metadata and controls
84 lines (70 loc) · 1.32 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
/**
* 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 {
font-family: Arial, serif;
font-size: 1rem;
font-weight: normal;
line-height: 1.5;
background-color: white;
color: black;
}
.navbar {
width: 100%;
background-color: #FBBF77;
overflow: auto;
border-radius: 10px;
}
.navbar a {
float: left;
padding: 12px;
color: black;
text-decoration: none;
font-size: 17px;
width: 30%;
text-align: center;
}
img{
display: block;
margin-left: auto;
margin-right: auto;
width: 40%;
border: 2px solid white;
}
header{
text-align: center;
font-size: 1.25rem;
line-height: normal;
}
section:first-child{
font-weight: 600;
}
.section1{
border: 10px solid #FBBF77;
padding: 1.5rem;
text-align:center;
margin:30px;
border-radius: 20px;
}
.section2{
border: 10px solid #95CFEC;
padding: 1.5rem;
text-align: center;
margin: 30px;
border-radius: 20px;
}
.section3{
border: 10px solid #FDF68C;
padding: 1.5rem;
text-align: center;
margin: 30px;
border-radius: 20px;
}
footer{
text-align:center
}