diff --git a/package.json b/package.json index 45774a9a1e..5f19802f18 100644 --- a/package.json +++ b/package.json @@ -131,7 +131,7 @@ "dist": "antd-tools run dist", "compile": "antd-tools run compile", "clean": "antd-tools run clean", - "start": "bisheng start -c ./site/bisheng.config.js", + "start": "bisheng start -c ./site/bisheng.config.js --no-livereload", "site": "bisheng build -c ./site/bisheng.config.js", "deploy": "npm run clean && bisheng gh-pages -c ./site/bisheng.config.js", "lint": "npm run tslint && tsc && npm run srclint && npm run demolint && npm run lesshint", diff --git a/site/theme/static/font.less b/site/theme/static/font.less deleted file mode 100644 index e8f10bb747..0000000000 --- a/site/theme/static/font.less +++ /dev/null @@ -1,48 +0,0 @@ -/* latin-ext */ -@font-face { - font-family: 'Lato'; - font-style: normal; - font-weight: 400; - src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v11/8qcEw_nrk_5HEcCpYdJu8BTbgVql8nDJpwnrE27mub0.woff2) format('woff2'); - unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: 'Lato'; - font-style: normal; - font-weight: 400; - src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v11/MDadn8DQ_3oT6kvnUq_2r_esZW2xOQ-xsNqO47m55DA.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; -} -/* latin-ext */ -@font-face { - font-family: 'Lato'; - font-style: normal; - font-weight: 700; - src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v11/rZPI2gHXi8zxUjnybc2ZQFKPGs1ZzpMvnHX-7fPOuAc.woff2) format('woff2'); - unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: 'Lato'; - font-style: normal; - font-weight: 700; - src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v11/MgNNr5y1C_tIEuLEmicLmwLUuEpTyoUstqEm5AMlJo4.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; -} -/* latin-ext */ -@font-face { - font-family: 'Raleway'; - font-style: normal; - font-weight: 400; - src: local('Raleway'), local('Raleway-Regular'), url(https://fonts.gstatic.com/s/raleway/v11/YZaO6llzOP57DpTBv2GnyFKPGs1ZzpMvnHX-7fPOuAc.woff2) format('woff2'); - unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: 'Raleway'; - font-style: normal; - font-weight: 400; - src: local('Raleway'), local('Raleway-Regular'), url(https://fonts.gstatic.com/s/raleway/v11/QAUlVt1jXOgQavlW5wEfxQLUuEpTyoUstqEm5AMlJo4.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; -} diff --git a/site/theme/static/style.js b/site/theme/static/style.js index e2120de2b7..6d7292bd9d 100644 --- a/site/theme/static/style.js +++ b/site/theme/static/style.js @@ -9,7 +9,6 @@ import './responsive.less'; import './preview-img.less'; import './toc.less'; import './not-found.less'; -import './font.less'; import './highlight.less'; import './demo.less'; import './colors.less'; diff --git a/site/theme/static/template.html b/site/theme/static/template.html index 996e28a17a..b3027ae7da 100644 --- a/site/theme/static/template.html +++ b/site/theme/static/template.html @@ -6,6 +6,7 @@