Skip to content

Commit

Permalink
adjust css
Browse files Browse the repository at this point in the history
  • Loading branch information
x1y9 committed Apr 27, 2021
1 parent 1b3e548 commit d5e3f4b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
3 changes: 1 addition & 2 deletions css/justmd.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,9 @@ body.busy-cursor .CodeMirror-lines { cursor: progress; }
padding-left: 20px;
color: #444;
line-height: 1.5em;

font-family: "Libre Baskerville", "Lucida Grande", "Hiragino Sans GB", "Hiragino Sans GB W3", "Microsoft YaHei", "wenquanyi micro hei", sans-serif, "Apple Color Emoji";
font-weight: 300;
font-size: 18px;
font-size: 14px;
}

@media print {
Expand Down
8 changes: 2 additions & 6 deletions css/theme-default.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ a:focus{ outline: thin dotted; }
a:hover, a:active{ outline: 0; }

p{margin:1em 0;}

img{max-width:50%;display:block;margin:auto;}

h1,h2,h3,h4,h5,h6{font-weight:normal;color:#111;line-height:1em;}
h4,h5,h6{ font-weight: bold; }
h1{ font-size:2.5em; }
Expand All @@ -30,7 +27,6 @@ pre, code{
font-size: 0.94em; /* 0.94 = 0.88 + (1.00 - 0.88) / 2 */
border-radius:3px;
background-color: #F8F8F8;

}
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; padding: 5px;}
pre code { border: 0px !important; background: transparent !important; line-height: 1.3em; }
Expand All @@ -43,7 +39,7 @@ li p:last-child { margin:0 }
.table-of-contents li {list-style-type: none;}

dd { margin: 0 0 0 2em; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
table { border-collapse: collapse; border-spacing: 0; }
td, th { vertical-align: top; padding: 4px 10px; border: 1px solid #bbb; }
tr:nth-child(even) td, tr:nth-child(even) th { background: #eee; }
tr:nth-child(even) td, tr:nth-child(even) th { background: #eee; }
img { border: 0; max-width: 50%; display: block; margin: auto; }
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "justmd",
"productName": "justmd",
"version": "1.1.2",
"version": "1.2.0",
"description": "just markdown editor",
"main": "main.js",
"scripts": {
Expand Down

0 comments on commit d5e3f4b

Please sign in to comment.