diff --git a/.gitignore b/.gitignore index e739927..30e14a1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ bleak +www/skin.css www/fabric.js www/fabric.min.js www/html2canvas.js diff --git a/README.md b/README.md index 3f13c1d..4f5fdd3 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,9 @@ This application uses server/client module, and have fewest possible dependencie - Python3 & Browser - [fabric.min.js](https://github.com/fabricjs/fabric.js/tree/master/dist) - [html2canvas.min.js](https://html2canvas.hertzen.com/) +- Any css for plain webpage, e.g. [minicss](https://minicss.org/), rename to `skin.css` + +Put any web-related files to folder `www`. ### Supported Platforms diff --git a/README.zh-CN.md b/README.zh-CN.md index 4435dd4..eb9805d 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -37,6 +37,9 @@ TODO - Python3 与浏览器 - [fabric.min.js](https://github.com/fabricjs/fabric.js/tree/master/dist) - [html2canvas.min.js](https://html2canvas.hertzen.com/) +- 任何纯网页可用的 css,如 [minicss](https://minicss.org/),重命名为 `skin.css` + +将 web 相关的文件放在 `www` 文件夹中。 ### 支持的平台 diff --git a/www/custom-print.html b/www/custom-print.html index 5a28449..8c47840 100644 --- a/www/custom-print.html +++ b/www/custom-print.html @@ -6,6 +6,7 @@ Custom Print +
diff --git a/www/index.html b/www/index.html index 5aad222..6498306 100644 --- a/www/index.html +++ b/www/index.html @@ -6,6 +6,7 @@ Printer Center +
diff --git a/www/main.css b/www/main.css index e7d6bd6..0a79c2c 100644 --- a/www/main.css +++ b/www/main.css @@ -22,4 +22,8 @@ a:link, a:visited { } a:hover, a:active { color: darkblue; -} \ No newline at end of file +} + +main input[type="range"] { + width: 16em; +} diff --git a/www/print-document.html b/www/print-document.html index 7d5a84f..cde9d08 100644 --- a/www/print-document.html +++ b/www/print-document.html @@ -6,6 +6,7 @@ Print Document +
diff --git a/www/print-image.html b/www/print-image.html index fbae09e..a8b3b17 100644 --- a/www/print-image.html +++ b/www/print-image.html @@ -6,6 +6,7 @@ Print Image +