-
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.43 KB
/
style.css
File metadata and controls
84 lines (70 loc) · 1.43 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
/* Global Styles */
* {
box-sizing: border-box;
}
html {
font-size: 62.5%; /* 62.5% trick! so we can use relative units for font size*/
}
body {
font-size: 1.6rem;
margin: 50px 100px;
line-height: 2.5rem;
}
h1, h2, h3, nav {
font-family: 'Open Sans', sans-serif;
}
h2 {
font-size: 1.8rem;
color: grey;
font-weight: 400;
}
/* Navigation */
nav {
text-align: right;
font-size: 1.2rem;
padding-bottom: 30px;
}
nav a {
display: inline-block;
padding: 0 10px;
text-decoration: none; /* removes underline from anchor links --> sourced code from: https://www.freecodecamp.org/news/remove-underline-from-link-in-css/ */
}
header {
border-bottom: 1px solid lightgrey;
}
/* Image */
figure {
text-align: center;
padding: 30px 0 40px 0;
}
/* Test Results Section */
.testing {
border: 1px solid lightgrey;
padding: 20px
}
/* Style links in Test Results Section */
.testing a {
color: white;
font-family: 'Open Sans', sans-serif;
font-weight: 600;
text-decoration: none;
}
div {
display: inline-block;
background-color: darkorange;
text-align: center;
padding: 15px 0;
width: 225px;
border-radius: 10px;
margin: 15px 15px 15px 20px;
}
/* Footer */
footer {
border-top: 1px solid lightgrey;
margin-top: 30px;
text-transform: uppercase;
font-weight: 400;
font-size: 1rem;
color: grey;
letter-spacing: 2px;
}