Commit 661cc18bf5b107706f1945367b661ef8fdd29e3e

Authored by 程雨佳
1 parent 60cfbdf3

修改前端样式

Showing 1 changed file with 2 additions and 2 deletions
barrage.html
@@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
9 html, body {padding: 0;margin: 0;height:100%;overflow: hidden;} 9 html, body {padding: 0;margin: 0;height:100%;overflow: hidden;}
10 img {display: block;} 10 img {display: block;}
11 * {padding: 0;margin: 0;} 11 * {padding: 0;margin: 0;}
12 - .container {width: 100%;height: 100%;background: #000 url('./img/pc/barrage_bg.png') no-repeat center;background-size: 420px 100px;} 12 + .container {width: 100%;height: 100%;background: #000 url('./img/pc/barrage_bg.png') no-repeat center;background-size: 700px 180px;}
13 </style> 13 </style>
14 14
15 </head> 15 </head>
@@ -38,7 +38,7 @@ @@ -38,7 +38,7 @@
38 danmaku.emit({ 38 danmaku.emit({
39 text: msg, 39 text: msg,
40 style: { 40 style: {
41 - fontSize: '35px', 41 + fontSize: '40px',
42 fontWeight: '500', 42 fontWeight: '500',
43 color: colors[colorIndex], 43 color: colors[colorIndex],
44 top: topNum * 50 + 'px' 44 top: topNum * 50 + 'px'