mirror of
https://gitee.com/bitdance-team/chrome-extension
synced 2025-10-07 16:35:15 +08:00
修复番茄钟背景图填充不完全问题
This commit is contained in:
@@ -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=Fira+Sans:wght@400;500&display=swap');
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');
|
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');
|
||||||
|
html {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
body {
|
body {
|
||||||
/* background-color: rgb(51, 11, 116); */
|
/* background-color: rgb(51, 11, 116); */
|
||||||
background: url(../../images/pomo_green.jpeg) no-repeat;
|
background: url(../../images/pomo_green.jpeg) no-repeat;
|
||||||
|
@@ -230,7 +230,7 @@ function change_r() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function change(n) {
|
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() {
|
let t = setInterval(function() {
|
||||||
|
Reference in New Issue
Block a user