-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathleader.html
110 lines (106 loc) · 2.72 KB
/
leader.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/styles/monokai.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<title>CodeMos</title>
</head>
<style>
body {
margin: 0;
background: #02071e;
user-select: none;
-webkit-user-select: none;
overflow: hidden;
font: 400 18px/1.5 -apple-system, BlinkMacSystemFont, sans-serif;
color: #fff;
padding: 10px;
overflow-y: auto;
}
body #board table{
border-collapse: collapse;
color: #fff;
margin: 10px 0;
}
body button {
margin: 1px 3px;
padding: 10px 20px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}
body button:hover {
background-color: #0056b3;
}
.load-btn{
background-color: #124b89;
}
.load-btn:hover{
background-color: #396798;
}
body .btns{
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
margin: 2px;
}
.load div{
display: flex;
width: 100%;
justify-content: center;
}
#board td, #board th{
width: 20%;
text-align: center;
}
#board td p{
text-align: initial;
}
#board tr{
border-radius: 8px;
overflow: hidden;
}
#board .row:hover{
background-color: #00244b;
}
.details{
background-color: #0f0f25;
display: table-row;
margin: 0 auto;
padding: 4px;
opacity: 1;
overflow: hidden;
}
.details pre{
text-align: left;
margin: 10px 10px;
}
.details-hide{
display: none;
}
.row:hover {
background-color: #2e9cca; /* 마우스 오버 시 네온 색상 */
cursor: pointer; /* 마우스 포인터 변경 */
}
</style>
<body>
<div>
<h1 style="text-align: center;">리더보드</h1>
</div>
<div id="board"></div>
<div class="btns">
<button class="page-lbtn" onclick="loadBoard(0, -1)"><<</button>
<button class="page-rbtn" onclick="loadBoard(0, 1)">>></button>
</div>
<div class="btns load" style="margin: 30px 2px;">
<div><button class="load-btn" onclick="loadBoard(0, 0)">새로고침</button></div>
</div>
<script src="leader.js"></script>
</body>
</html>