Skip to content

Commit 7594bd2

Browse files
committed
调整调试页面样式。
1 parent 5f85a76 commit 7594bd2

File tree

2 files changed

+35
-5
lines changed

2 files changed

+35
-5
lines changed

demo/index.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@
55
<link rel="stylesheet" href="style.css">
66
</head>
77
<body>
8-
<h1>LeanCloud JavaScript SDK</h1>
9-
<p>打开控制台调试</p>
8+
<h1><a href="https://leancloud.cn">LeanCloud</a></h1>
9+
<h2><a href="https://leancloud.cn">为开发加速</a></h2>
10+
<div class="tips">
11+
<p>欢迎调试 JavaScript SDK,请打开浏览器控制台</p>
12+
</div>
1013
<script src="../dist/av.js"></script>
1114
<script src="../test-es5.js"></script>
1215
</body>

demo/style.css

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,36 @@
1+
* {
2+
margin: 0;
3+
padding: 0;
4+
}
15
body {
6+
background: #fff;
27
text-align: center;
8+
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
9+
}
10+
a {
11+
text-decoration: none;
312
}
4-
513
h1 {
6-
margin-top: 30%;
7-
font-size: 20px;
14+
margin-top: 120px;
15+
font-size: 60px;
16+
font-weight: bold;
17+
}
18+
h1 a {
19+
color: #2C97E8;
20+
}
21+
h2 {
22+
letter-spacing: 10px;
23+
font-size: 26px;
24+
}
25+
h2 a {
26+
color: #000;
27+
}
28+
.tips {
29+
margin-top: 90px;
30+
font-size: 15px;
31+
font-weight: bold;
32+
letter-spacing: 1px;
33+
line-height: 25px;
34+
color: #E82C4B;
835
}
936

0 commit comments

Comments
 (0)