-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathstyle.css
79 lines (67 loc) · 1.23 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
body {
font-family: sans-serif;
background-color: #eee;
padding: 0;
margin: 0;
}
section > * {
margin: 1em auto;
max-width: 640px;
box-sizing: border-box;
}
section > blockquote {
padding: 0 32px;
background-color: #eee;
overflow: hidden;
}
h1 {
font-size: 25pt;
}
h3 {
font-size: inherit;
}
#terms, #privacy {
position: absolute;
background-color: white;
margin: 64px 0 0;
border-top: 1px solid #888;
width: 100%;
}
#terms::before, #privacy::before {
display: block;
position: absolute;
top: -32px;
height: 15px;
border: 1px solid #888;
border-bottom: none;
background-color: white;
padding: 8px 0;
text-align: center;
width: 190px;
}
#terms::before {
content: "Terms of Service";
left: calc(50% - 320px);
}
#privacy::before {
content: "Privacy Policy";
left: calc(50% - 120px);
}
body.terms #terms, body.privacy #privacy {
z-index: 1;
}
body.privacy #terms > *, body.terms #privacy > * {
display: none;
}
@media screen and (max-width: 650px) {
section > * {
width: 100%;
padding-left: 8px;
padding-right: 8px;
}
#terms::before, #privacy::before {
width: calc(50% - 16px);
}
#terms::before { left: 8px; }
#privacy::before { right: 8px; left: auto; }
}