-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
99 lines (81 loc) · 1.49 KB
/
style.css
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
94
95
96
97
98
99
/* The @import rule below imports the Playfair Display and Source Sans Pro fonts into the stylesheet. You don't have to edit this line.*/
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display&family=Source+Sans+Pro:wght@400&display=swap");
body {
color: #003049;
font-family: "Source Sans Pro", Tahoma, Geneva, Verdana, sans-serif;
padding: 40px;
background-color: #eae2b7;
margin-inline-end: 20px;
writing-mode: horizontal-tb;
}
main {
display: block;
margin: 0 auto;
width: 600px;
}
/* Set the font family for any h1, h2, or h3 heading */
h1,
h2,
h3 {
font-family: "Playfair Display", Times, serif;
text-align: center
}
article {
padding: 50px 0;
width: 100%
}
article div {
width: 100%;
text-align: center
}
div {
margin-right: -100%;
}
p {
line-height: 1.5;
}
/* The div container constrains the content width within the main container to 600px */
div {
margin: auto;
width: 600px;
content-align: center;
}
img {
width: 100%;
max-width: 200px;
height: auto;
display: block;
Margin: auto;
}
hr {
border: 1px solid black;
align-self: center;
margin: auto;
}
/* Add your solution below */
.image-circle {
border-width: 2px;
border-color: #003049;
border-radius: 50%;
border-style: solid;
width: 100%;
display: block;
margin: auto;
}
header,
footer {
text-align: center;
}
nav {
text-align: center;
word-spacing: 1rem;
}
a:link {
color: #d62828;
}
a:hover {
color: #f77f00;
}
a:visited {
color: #d62828;
}