mirror of
https://gitee.com/bitdance-team/chrome-extension
synced 2025-01-10 13:48:14 +08:00
修复番茄钟背景图填充不完全问题
This commit is contained in:
parent
6cd778a013
commit
0d29282d38
@ -1,5 +1,8 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500&display=swap');
|
||||
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');
|
||||
html {
|
||||
height: 100%;
|
||||
}
|
||||
body {
|
||||
/* background-color: rgb(51, 11, 116); */
|
||||
background: url(../../images/pomo_green.jpeg) no-repeat;
|
||||
@ -242,4 +245,4 @@ footer .settings {
|
||||
position: absolute;
|
||||
bottom: 5px;
|
||||
right: 5px;
|
||||
}
|
||||
}
|
||||
|
@ -230,9 +230,9 @@ function change_r() {
|
||||
}
|
||||
|
||||
function change(n) {
|
||||
document.body.style = "background: url(" + photos[n] + ") no-repeat; background-size: cover;";
|
||||
document.body.style = "background: url(" + photos[n] + ") no-repeat; background-size: cover; background-position: center;";
|
||||
}
|
||||
|
||||
let t = setInterval(function() {
|
||||
change_r();
|
||||
}, 40000);
|
||||
}, 40000);
|
||||
|
Loading…
Reference in New Issue
Block a user