-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
83 lines (73 loc) · 1.32 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
79
80
81
82
83
/* show diff button */
.btn-4 {
border: 1px solid;
overflow: hidden;
position: relative;
}
.btn-4 span {
z-index: 20;
}
.btn-4:after {
background: #fff;
content: "";
height: 155px;
left: -75px;
opacity: 0.2;
position: absolute;
top: -50px;
transform: rotate(35deg);
transition: all 1000ms cubic-bezier(0.19, 1, 0.22, 1);
width: 50px;
z-index: -10;
}
.btn-4:hover:after {
left: 120%;
transition: all 1000ms cubic-bezier(0.19, 1, 0.22, 1);
}
/* end show diff button */
.theme-light {
background-color: #f7fafc;
color: #121212;
}
.theme-dark {
background-color: #292c35;
color: #f7fafc;
}
.theme-light textarea {
color: #121212;
}
.theme-dark textarea {
background-color: #374151;
color: #f7fafc;
}
.theme-light,
.theme-dark {
transition: background-color 500ms, color 500ms;
}
.theme-light textarea,
.theme-dark textarea {
transition: color 500ms, background-color 500ms;
}
.theme-dark .span.d2h-file-name,
svg.d2h-icon,
span.d2h-file-name-wrapper,
.d2h-code-line {
color: #121212;
}
.d2h-wrapper {
background-color: #f7fafc;
}
footer {
position: fixed;
margin: auto;
bottom: 0;
left: 0;
right: 0;
padding: 1em;
}
.theme-dark footer {
background-image: linear-gradient(transparent, #292c35);
}
.theme-light footer {
background-image: linear-gradient(transparent, #f7fafc);
}