-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1.css
70 lines (68 loc) · 1.12 KB
/
1.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
.js-warn {
background: #EEE;
color: #555;
display: block;
width: 30%;
right: 0;
left: 0;
margin-right: auto;
margin-left: auto;
margin-top: 50px;
border-radius: 10px;
box-shadow: 0 10px 70px;
text-align: center;
position: fixed;
font-family: sans-serif, serif;
font-weight: 300;
z-index: 9999;
}
.js-warn h1 {
font-family: sans-serif, serif;
font-weight: 300;
padding: 10px 10px 0 10px;
}
.js-warn p {
font-family: sans-serif, serif;
padding: 0 10px 10px 10px;
}
.js-warn a {
color: #355980;
text-decoration: none;
transition: all 0.2s linear;
}
.js-warn a:hover {
color: #000;
}
#js-hide:checked ~ #js-warn-exit {
display: none;
}
#js-hide {
position: fixed;
left: 100%;
}
#js-warn-exit {
padding: 1em;
overflow: auto;
}
#js-warn-exit label {
background: #355980;
color: white;
padding: 0.5em 0.75em;
cursor: pointer;
border-radius: 3px;
float: right;
}
@media screen and (max-width: 700px) {
.js-warn {
width: 60%;
}
}
@media screen and (max-width: 400px) {
.js-warn {
width: 80%;
}
.js-warn h1 {
font-size: large;
font-weight: 500;
}
}