-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
84 lines (73 loc) · 1.17 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
/*
Theme Name: HDGeolocate
Author: Harmonic Design
Author URI: https://harmonicdesign.ca
Description: Geolocate and offer redirection lightbox
*/
/* Basic Styles */
html {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
*,
*:before,
*:after {
-webkit-box-sizing: inherit;
-moz-box-sizing: inherit;
box-sizing: inherit;
}
* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
html,
body {
margin: 0;
padding: 0;
font-size: 16px;
line-height: 1.6;
color: #4a4a4a;
font-family: sans-serif;
background: #fefefe;
}
main {
margin: 20vh 0;
}
.wrap {
width: 100%;
max-width: 800px;
margin: 0 auto;
}
/* HDGeolocate */
#hdg_popup {
position: fixed;
z-index: 9999;
width: 100%;
height: 100vh;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.85);
place-items: center;
display: none;
}
#hdg_popup.active {
display: grid;
}
#hdg_popup_content {
padding: 2rem;
border: 1px solid #222;
background-color: #fff;
}
.button {
padding: 0.4em 1em;
line-height: 1;
cursor: pointer;
text-decoration: none;
border: 1px solid #222;
color: #222;
}
.button:hover {
color: crimson;
border-color: crimson;
}