pull/165/head
tangjinzhou 2018-01-24 18:51:01 +08:00
parent 22946bd968
commit 00e86f86e4
4 changed files with 22 additions and 14 deletions

View File

@ -16,6 +16,8 @@
"selector-list-comma-newline-after": null, "selector-list-comma-newline-after": null,
"selector-pseudo-element-colon-notation": null, "selector-pseudo-element-colon-notation": null,
"unit-no-unknown": null, "unit-no-unknown": null,
"value-list-max-empty-lines": null "value-list-max-empty-lines": null,
"font-family-no-missing-generic-family-keyword": null,
"no-descending-specificity": null
} }
} }

15
.vscode/settings.json vendored
View File

@ -2,13 +2,19 @@
{ {
"eslint.enable": true, "eslint.enable": true,
"eslint.options": { "eslint.options": {
"extensions": [".js", ".vue"], "extensions": [
".js",
".vue"
],
"configFile": ".eslintrc" "configFile": ".eslintrc"
}, },
"eslint.validate": [ "eslint.validate": [
"javascript", "javascript",
"javascriptreact", "javascriptreact",
{ "language": "vue", "autoFix": true } {
"language": "vue",
"autoFix": true
}
], ],
"emmet.syntaxProfiles": { "emmet.syntaxProfiles": {
"vue-html": "html", "vue-html": "html",
@ -17,5 +23,8 @@
"eslint.autoFixOnSave": true, "eslint.autoFixOnSave": true,
"vetur.validation.template": true, "vetur.validation.template": true,
"vetur.format.html.wrap_line_length": 60, "vetur.format.html.wrap_line_length": 60,
"vetur.format.js.InsertSpaceBeforeFunctionParenthesis": true "vetur.format.js.InsertSpaceBeforeFunctionParenthesis": true,
"stylefmt.config": {
"fix": true
}
} }

View File

@ -1,5 +1,3 @@
#app {
}
.site { .site {
display: flex; display: flex;
.nav { .nav {
@ -34,20 +32,19 @@
} }
.page-container { .page-container {
/*color: #666;*/
font-size: 14px; font-size: 14px;
line-height: 1.5; line-height: 1.5;
.table { .table {
font-size: 13px; font-size: 13px;
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0px; border-spacing: 0;
empty-cells: show; empty-cells: show;
border: 1px solid #e9e9e9; border: 1px solid #e9e9e9;
width: 100%; width: 100%;
margin: 16px 0; margin: 16px 0;
th {
th{
background: #F7F7F7; background: #F7F7F7;
white-space: nowrap; white-space: nowrap;
color: #5C6B77; color: #5C6B77;
@ -59,7 +56,7 @@
width: 20%; width: 20%;
font-family: "Lucida Console", Consolas, Menlo, Courier, monospace; font-family: "Lucida Console", Consolas, Menlo, Courier, monospace;
} }
th,td{ th,td {
border: 1px solid #e9e9e9; border: 1px solid #e9e9e9;
padding: 8px 16px; padding: 8px 16px;
text-align: left; text-align: left;
@ -88,7 +85,7 @@
} }
.markdown { .markdown {
& > ul{ & > ul {
margin-top: 1rem; margin-top: 1rem;
margin-bottom: 1rem; margin-bottom: 1rem;
& > li { & > li {
@ -96,8 +93,8 @@
margin-left: 1rem; margin-left: 1rem;
} }
} }
h1, h2, h3{ h1, h2, h3 {
a{ a {
font-size: .8em; font-size: .8em;
opacity: 0; opacity: 0;
font-weight: normal; font-weight: normal;

View File

@ -8,7 +8,7 @@
"test": "karma start test/karma.conf.js --single-run", "test": "karma start test/karma.conf.js --single-run",
"build": "sh build.sh", "build": "sh build.sh",
"lint": "eslint -c ./.eslintrc --fix --ext .js ./src/", "lint": "eslint -c ./.eslintrc --fix --ext .js ./src/",
"lint:style": "stylelint \"./src/**/*.less\" --syntax less" "lint:style": "stylelint \"./example/**/*.less\" --syntax --fix less"
}, },
"repository": { "repository": {
"type": "git", "type": "git",