-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
119 lines (87 loc) · 1.45 KB
/
Copy pathstyle.css
File metadata and controls
119 lines (87 loc) · 1.45 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
body {
font-family: "Lora";
font-size: 18px;
line-height: 1.5;
color: #ffffff;
background-image: url("background.svg");
max-width: 640px;
margin-left: auto;
margin-right: auto;
padding-top: 40px;
}
header {
background-color: #ffffff;
padding: 40px;
}
nav {
background-color: #f05d5d;
padding: 20px 40px 20px 40px;
}
nav a {
color: #ffffff;
text-decoration: none;
margin-right: 15px;
}
/* these are the styles that get applied when hovering over each nav link */
nav a:hover {
color: #5000ff;
border-bottom: solid 2px #ffffff;
}
section {
background-color: #5000ff;
padding: 40px;
}
h2 {
font-size: 32px;
line-height: 1.2;
}
.image {
padding: 0;
}
blockquote {
font-size: 32px;
line-height: 1.2;
font-style: italic;
margin-top: 40px;
margin-bottom: 40px;
}
.map {
width: 100%;
}
.contact p {
margin-top: 20px;
}
.contact a {
color: #ffffff;
text-decoration: none;
border-bottom: solid 2px #f05d5d;
padding-bottom: 1px;
}
@media (max-width: 740px) {
/* these styles will be applied to both the section and header in this way */
section,
header {
padding: 20px;
}
nav {
padding: 10px 20px 10px 20px;
}
h2,
blockquote {
font-size: 24px;
}
body {
padding: 0;
font-size: 16px;
}
nav a {
display: block;
}
nav a:hover {
border: none;
}
blockquote {
margin-top: 20px;
margin-bottom: 20px;
}
}