-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
154 lines (129 loc) · 2.49 KB
/
styles.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
html,
body,
div,
span {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
body {
background-color: #333;
color: #fff;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}
a {
/* Add some basic styling */
color: #0099ff;
text-decoration: none;
transition: all 0.3s ease;
}
a:hover {
/* Add a hover effect */
color: #ffffff;
background-color: #0099ff;
}
a:active {
/* Add an active state effect */
transform: translateY(2px);
}
#mapid {
width: 100%;
height: 400px;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px;
}
header h1 {
font-size: 24px;
margin: 0;
}
header nav {
display: flex;
}
header nav a {
color: #fff;
text-decoration: none;
padding: 0 20px;
}
header nav a:hover {
color: #ccc;
}
/* Responsive menu styles */
@media (max-width: 600px) {
header {
flex-direction: column;
}
header nav {
display: none;
}
header .menu-button {
display: block;
cursor: pointer;
}
header .menu-button:before {
content: "";
background: #fff;
display: block;
height: 3px;
width: 26px;
margin: 5px 0;
border-radius: 2px;
}
header .menu-button.open:before {
background: #ccc;
}
header .menu-button.open:after {
background: #ccc;
}
header .menu-button:after {
content: "";
background: #fff;
display: block;
height: 3px;
width: 26px;
margin: 5px 0;
border-radius: 2px;
}
header nav.open {
display: flex;
flex-direction: column;
position: absolute;
top: 60px;
left: 0;
right: 0;
background: #222;
z-index: 1;
}
header nav.open a {
display: block;
padding: 10px;
}
}
footer {
/* Add some padding and a background color */
padding: 1em;
background-color: #223;
/* Style the links */
a {
color: black;
text-decoration: none;
&:hover {
color: hotpink;
}
}
/* Make the footer full width on small screens */
@media (max-width: 600px) {
width: 100%;
}
}