-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathstyles.css
107 lines (90 loc) · 2.21 KB
/
styles.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
/* styles.css */
:root {
--bg-color: #f5f5f5;
}
canvas {
image-rendering: -webkit-optimize-contrast;
}
html {
touch-action: pan-y;
}
/* styles.css */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body,
html {
height: 100%;
background-color: #f5f5f5;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.wrapper {
display: flex;
flex-direction: column;
height: 100%;
}
.toolbar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #f5f5f5;
padding: 12px;
border-bottom: 1px solid #e0e0e0;
}
.title {
font-weight: bold;
color: #1c1c1c;
}
.content {
flex-grow: 1;
padding: 20px;
overflow: auto;
background-color: #ffffff;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
}
#surrender_button {
position: absolute;
top: 5px;
right: 5px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
font-size: 14px;
font-weight: 600;
color: #007aff;
text-align: center;
padding: 6px 16px;
border-radius: 6px;
outline: none;
border: 1px solid rgba(0, 122, 255, 0.5);
background-color: rgba(0, 122, 255, 0.1);
cursor: pointer;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-transition: background-color 0.2s, border-color 0.2s;
transition: background-color 0.2s, border-color 0.2s;
-webkit-appearance: none;
}
#surrender_button:hover {
background-color: rgba(0, 122, 255, 0.2);
border-color: rgba(0, 122, 255, 0.7);
}
#surrender_button:active {
background-color: rgba(0, 122, 255, 0.3);
border-color: rgba(0, 122, 255, 0.9);
}
/* styles.css */
.level-text {
position: absolute;
left: 10px;
top: 5px;
font-size: 14px;
font-weight: 600;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
color: black;
background-color: var(--bg-color);
padding: 5px 10px;
border: 1px solid black;
border-radius: 4px;
}