Commit 661cc18bf5b107706f1945367b661ef8fdd29e3e
1 parent
60cfbdf3
修改前端样式
Showing
1 changed file
with
2 additions
and
2 deletions
barrage.html
... | ... | @@ -9,7 +9,7 @@ |
9 | 9 | html, body {padding: 0;margin: 0;height:100%;overflow: hidden;} |
10 | 10 | img {display: block;} |
11 | 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 | 13 | </style> |
14 | 14 | |
15 | 15 | </head> |
... | ... | @@ -38,7 +38,7 @@ |
38 | 38 | danmaku.emit({ |
39 | 39 | text: msg, |
40 | 40 | style: { |
41 | - fontSize: '35px', | |
41 | + fontSize: '40px', | |
42 | 42 | fontWeight: '500', |
43 | 43 | color: colors[colorIndex], |
44 | 44 | top: topNum * 50 + 'px' | ... | ... |