-
Notifications
You must be signed in to change notification settings - Fork 0
/
util.css
69 lines (59 loc) · 1.52 KB
/
util.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
/*
* @Author: gigaflw
* @Date: 2018-11-05 22:38:12
* @Last Modified by: gigaflw
* @Last Modified time: 2018-11-06 22:00:15
*/
/*****************
* General
****************/
input.invisible-input{ /* TODO: Invisible input box, only tested on Mac */
background-color: transparent;
border: 0;
outline: none;
box-shadow: none;
cursor:default;
padding: 0;
width: 100%;
text-align: center;
}
.rainbow-txt-shadow {
text-shadow:
1.732px 1px 1px hsla(0, 50%, 75%, 0.5),
-1.732px 1px 1px hsla(120, 50%, 75%, 0.5),
0px -2px 1px hsla(240, 50%, 75%, 0.5);
}
.hide-nth-child-1 > .hidable-child:nth-child(1) { display: none !important; }
.hide-nth-child-2 > .hidable-child:nth-child(2) { display: none !important; }
.hide-nth-child-3 > .hidable-child:nth-child(3) { display: none !important; }
.hide-nth-child-4 > .hidable-child:nth-child(4) { display: none !important; }
/*****************
* Font awesome extension
****************/
.fa-btn {
color: rgba(0, 0, 0, 0.4);
cursor: pointer;
user-select: none;
transition: color, .2s, background-color .2s, text-shadow .5s;
border-radius: 5px;
}
.fa-btn:hover {
color: rgba(0, 0, 0, 0.9);
}
/*****************
* Flipping
****************/
.is-flipping-down {
animation: flipdown 0.5s ease-in forwards;
}
.is-flipping-up {
animation: flipup 0.5s ease-out forwards;
}
@keyframes flipdown {
0% { transform: rotateX(0deg); }
100% { transform: rotateX(90deg); }
}
@keyframes flipup {
0% { transform: rotateX(90deg); }
100% { transform: rotateX(0deg); }
}