-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
147 lines (125 loc) · 3.03 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
html, body {
height: 100%;
background: rgb(90,90,90);
margin: 0;
}
#header {
margin: 0 auto;
display: flex;
flex-flow: wrap;
justify-content: center;
align-items: center;
height: 50%;
}
.break {
flex-basis: 100%;
height: 0;
}
h1 {
font-size: 10rem;
background: linear-gradient(to right, rgb(67,124,205), rgb(9,209,21));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: fade 2s ease-in;
}
@keyframes fade {
0% { opacity: 0; }
100% { opacity: 1; }
}
/*
Log2Div related styles
*/
/* This is needed to make whitespace visible in the console log, for instance in Phaser header. */
span { white-space: pre; }
.wordwrap {
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;
}
.log2div-container {
position: absolute;
left: 0px;
top: 0px;
z-index: 1000;
min-height: 55px;
width: 98% !important;
height: 98% !important;
overflow-y: auto;
overflow-x: hidden;
margin: 10px;
padding: 5px 0 0 0;
font-family: "Input Mono", monospace;
font-weight: 400;
font-size: 0.8em;
line-height: 1.4em;
color: rgb(0,0,0);
border-radius: 5px;
background-color: rgba(255, 255, 255, 0.8);
}
/* Show/hide styles */
.log2div-container-show { display: block; }
.log2div-container-hide { display: none; }
/* Caption styling */
#log2div-caption {
padding: 10px 0 12px 0;
text-indent: 10px;
font-size: 1.2em;
}
/* The heading div */
#log2div-heading {
display: flex;
}
/* Heading buttons styles */
.log2div-button {
margin-left: 10px;
cursor: pointer;
background-color: rgba(255,255,255,.2);
border-radius: 5px;
}
/* Heading checkbox container styles */
.log2div-checkbox-container {
display: flex;
margin-left: 10px;
cursor: pointer;
align-items: center;
}
.log2div-log-row-badge {
background-color: rgba(255,0,0,.8);
border-radius: 12px;
color: white;
font: bold 15px/13px Helvetica, Verdana, Tahoma;
height: 1em;
padding: 5px 5px 5px 5px;
margin-right: 0.4em;
}
.log2div-log-row span {
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;
}
.log2div-log-row {
display: flex;
justify-content: normal;
padding: 10px;
}
.log2div-log-row:nth-child(odd) {
background: rgba(0,0,0,.1);
}
/* Message type styles */
.log2div-info { color: rgb(0,0,255); }
.log2div-warning { color: rgb(255,100,50); }
.log2div-error { color: rgb(255,0,0); }
.log2div-exception { color: rgb(255,0,255); }
/* Badge styles based on the logging type */
.log2div-log-row-badge.log2div-info { color: white; background-color: rgba(0,0,255,0.5); }
.log2div-log-row-badge.log2div-warning { color: white; background-color: rgba(255,100,50,0.5); }
.log2div-log-row-badge.log2div-error { color: white; background-color: rgba(255,0,0,0.5); }
.log2div-log-row-badge.log2div-exception { color: white; background-color: rgba(255,0,255,0.5); }
thead {
background: rgba(0,0,0,.2);
}