-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
111 lines (89 loc) · 1.91 KB
/
main.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
100
101
102
103
104
105
106
107
108
109
110
111
/* Navigation bar */
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
nav li {
float: left;
}
nav li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 18px;
font-family: Quicksand, "sans-serif"
}
/* Changes the link color to black on hover */
nav li a:hover {
background-color: black;
}
/* Background images */
.bgimg-1, .bgimg-2, .bgimg-3{
position: relative;
background-attachment: fixed; /* Parallax Effect */
background-position: center; /* Parallax Effect */
background-repeat: no-repeat; /* Parallax Effect */
background-size: cover; /* Parallax Effect */
}
.bgimg-1{
background-image: url(https://c1.staticflickr.com/3/2842/33486131571_cac9b7cd9c_b.jpg);
min-height: 50vh;
}
.bgimg-2{
background-image: url(https://static.pexels.com/photos/139193/pexels-photo-139193.jpeg);
min-height: 350px;
}
.bgimg-3{
background-image: url(https://c1.staticflickr.com/3/2915/32776096594_812a1de41b_b.jpg);
min-height: 350px;
}
/* Pages */
h1{
text-align: center;
padding: 175px;
font-size: 95px;
font-family: Quicksand, "sans-serif";
color: #FF150E;
font-weight: bold;
}
h2{
font-color: #0E091E;
font-size: 55px;
font-family: Quicksand, "sans-serif";
text-align: center;
padding: 45px;
}
h3{
text-align: center;
}
#about{
background-color: white;
height: 790px;
margin-bottom: 25px;
}
#places{
height: 790px;
margin-bottom: 10px;
}
#resources{
height: 790px;
margin-bottom: 20px;
}
li {
text-align: center;
}
/* Footer */
footer{
position: relative;
text-align: center;
background-color: black;
height: 2rem;
color: pink;
}
/* Background images from pexels.com & unsplash.com; images by Scott Webb & Life of Pix (pexels.com) & Andrew Welch (unsplash.com)*/
/* Hex color codes are from htmlcolorcodes.com */