File tree 1 file changed +70
-0
lines changed
1 file changed +70
-0
lines changed Original file line number Diff line number Diff line change
1
+ .js-warn {
2
+ background : # EEE ;
3
+ color : # 555 ;
4
+ display : block;
5
+ width : 30% ;
6
+ right : 0 ;
7
+ left : 0 ;
8
+ margin-right : auto;
9
+ margin-left : auto;
10
+ margin-top : 50px ;
11
+ border-radius : 10px ;
12
+ box-shadow : 0 10px 70px ;
13
+ text-align : center;
14
+ position : fixed;
15
+ font-family : sans-serif, serif;
16
+ font-weight : 300 ;
17
+ z-index : 9999 ;
18
+ }
19
+ .js-warn h1 {
20
+ font-family : sans-serif, serif;
21
+ font-weight : 300 ;
22
+ padding : 10px 10px 0 10px ;
23
+ }
24
+ .js-warn p {
25
+ font-family : sans-serif, serif;
26
+ padding : 0 10px 10px 10px ;
27
+ }
28
+ .js-warn a {
29
+ color : # 355980 ;
30
+ text-decoration : none;
31
+ transition : all 0.2s linear;
32
+ }
33
+ .js-warn a : hover {
34
+ color : # 000 ;
35
+ }
36
+ # js-hide : checked ~ # js-warn-exit {
37
+ display : none;
38
+ }
39
+ # js-hide {
40
+ position : fixed;
41
+ left : 100% ;
42
+ }
43
+ # js-warn-exit {
44
+ padding : 1em ;
45
+ overflow : auto;
46
+ }
47
+ # js-warn-exit label {
48
+ background : # 355980 ;
49
+ color : white;
50
+ padding : 0.5em 0.75em ;
51
+ cursor : pointer;
52
+ border-radius : 3px ;
53
+ float : right;
54
+ }
55
+
56
+ @media screen and (max-width : 700px ) {
57
+ .js-warn {
58
+ width : 60% ;
59
+ }
60
+ }
61
+
62
+ @media screen and (max-width : 400px ) {
63
+ .js-warn {
64
+ width : 80% ;
65
+ }
66
+ .js-warn h1 {
67
+ font-size : large;
68
+ font-weight : 500 ;
69
+ }
70
+ }
You can’t perform that action at this time.
0 commit comments