Spaces:
Sleeping
Sleeping
xyzsun
commited on
Update index.html
Browse files- index.html +15 -23
index.html
CHANGED
@@ -15,18 +15,12 @@
|
|
15 |
min-height: 100vh;
|
16 |
font-family: 'Microsoft YaHei', sans-serif;
|
17 |
color: #fff;
|
18 |
-
|
19 |
-
|
20 |
-
#poem-container {
|
21 |
-
text-align: center;
|
22 |
-
padding: 20px;
|
23 |
-
background: rgba(0, 0, 0, 0.5);
|
24 |
-
border-radius: 10px;
|
25 |
}
|
26 |
|
27 |
#poem {
|
28 |
font-size: 1.5em;
|
29 |
-
line-height: 0
|
30 |
}
|
31 |
|
32 |
h1 {
|
@@ -35,21 +29,19 @@
|
|
35 |
</style>
|
36 |
</head>
|
37 |
<body>
|
38 |
-
<
|
39 |
-
|
40 |
-
<
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
<p>君不见,东海之水日东生,落花入海复几时。</p>
|
52 |
-
</div>
|
53 |
</div>
|
54 |
</body>
|
55 |
</html>
|
|
|
15 |
min-height: 100vh;
|
16 |
font-family: 'Microsoft YaHei', sans-serif;
|
17 |
color: #fff;
|
18 |
+
text-align: center; /* 居中文本 */
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
}
|
20 |
|
21 |
#poem {
|
22 |
font-size: 1.5em;
|
23 |
+
line-height: 1.0; /* 行距/
|
24 |
}
|
25 |
|
26 |
h1 {
|
|
|
29 |
</style>
|
30 |
</head>
|
31 |
<body>
|
32 |
+
<h1>将进酒</h1>
|
33 |
+
<div id="poem">
|
34 |
+
<p>君不见,黄河之水天上来,奔流到海不复回。</p>
|
35 |
+
<p>君不见,高堂明镜悲白发,朝如青丝暮成雪。</p>
|
36 |
+
<p>人生得意须尽欢,莫使金樽空对月。</p>
|
37 |
+
<p>天生我材必有用,千金散尽还复来。</p>
|
38 |
+
<p>烹羊宰牛且为乐,会须一饮三百杯。</p>
|
39 |
+
<p>岑夫子,丹丘生,将进酒,杯莫停。</p>
|
40 |
+
<p>与君歌一曲,请君为我倾耳听。</p>
|
41 |
+
<p>钟鸣鼎食之家,男儿何不帅风流?</p>
|
42 |
+
<p>出门踏绿锦,泛舟泛江水。</p>
|
43 |
+
<p>君不见,西海之水天上来,奔流到海不复回。</p>
|
44 |
+
<p>君不见,东海之水日东生,落花入海复几时。</p>
|
|
|
|
|
45 |
</div>
|
46 |
</body>
|
47 |
</html>
|