-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
103 lines (96 loc) · 2.08 KB
/
index.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
* {
box-sizing: border-box;
margin:0;
padding:0;
}
body {
background-color: #212121;
color: white;
}
.theme-overlayer-master {
display:flex;
}
.theme-overlayer-master .light-overlayer {
background-color: white;
}
.theme-overlayer-master .dark-overlayer {
background-color: #212121;
}
.theme-overlayer {
flex:100;
height:100vh;
transition: flex .3s linear;
-webkit-user-select: none; /* Safari */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE10+/Edge */
user-select: none; /* Standard */
cursor: pointer;
}
.choose-theme-text {
position:absolute;
pointer-events: none;
width:100vw;
text-align: center;
top:15%;
transform: translate(-0%, -50%);
font-size:100px;
mix-blend-mode: difference;
}
.theme-text {
/*visibility:hidden;*/
font-size:100px;
position:relative;
top:50%;
left:50%;
transform: translate(-50%, -50%);
text-align: center;
color:#505050;
mix-blend-mode: difference;
}
.light-overlayer:hover .theme-text{
color:#212121 !important;
mix-blend-mode:normal;
}
.light-overlayer:hover {
transition: flex .3s linear;
flex:150;
}
.dark-overlayer:hover {
transition: flex .3s linear;
flex:150;
}
.dark-overlayer:hover .theme-text {
color: white;
mix-blend-mode:normal;
}
@media only screen and (max-width: 700px) {
.theme-overlayer-master {
flex-direction: column;
height: 100vh;
}
.choose-theme-text {
top:50px;
font-size: 50px;
}
.theme-overlayer {
height:50vh
}
.light-overlayer:hover {
transition: flex .3s linear;
flex:170;
}
.dark-overlayer:hover {
transition: flex .3s linear;
flex:170;
}
}
@media only screen and (max-width: 360px) {
.theme-text {
font-size: 55px;
}
.choose-theme-text {
transform: translate(0%, 0%);
top: 10px;
font-size: 35px;
}
}