Skip to content

Commit

Permalink
Merge pull request #72 from TomSuzuki/develop
Browse files Browse the repository at this point in the history
v1.1.1
  • Loading branch information
TomSuzuki authored Mar 22, 2021
2 parents 9650443 + 4ae5ee0 commit bce39be
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 2 deletions.
7 changes: 7 additions & 0 deletions assets/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,11 @@ body {
background-color: var(--color_line);
padding : 2em;
box-sizing : border-box;
}

/* --- for smartphone --- */
@media (max-width: 599px) {
#frame {
padding: 2em 1em;
}
}
6 changes: 5 additions & 1 deletion assets/css/markdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
#markdown code {
display : inline;
background-color: var(--color_gray);
padding : .3em .5em;
padding : .15em .5em;
border-radius : .5em;
box-sizing : border-box;
white-space : pre;
Expand Down Expand Up @@ -86,4 +86,8 @@

#markdown table tbody tr:nth-of-type(n) {
background-color: var(--color_line);
}

#markdown blockquote {
border-left: .25em solid var(--color_gray);
}
8 changes: 8 additions & 0 deletions assets/css/write.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@
max-width : 100%;
}

/* --- for smartphone --- */
@media (max-width: 599px) {
#frame_write {
grid-template : "name""text""save";
grid-template-rows: auto 1fr auto;
}
}

#frame_write #write_name {
grid-area: name;
font-size: xx-large;
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module github.com/TomSuzuki/markdown-wiki
go 1.15

require (
github.com/TomSuzuki/gomarkdown v1.0.1
github.com/TomSuzuki/gomarkdown v1.3.1
github.com/gin-gonic/gin v1.6.3
)
6 changes: 6 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ github.com/TomSuzuki/gomarkdown v1.0.0 h1:9FP3X0MWT23Zil1dDRzA3Y8kLCtoqh8JwFaesT
github.com/TomSuzuki/gomarkdown v1.0.0/go.mod h1:2ef4YVn57XdcnKFa46Dqx2X0+p6aiegPvjtErxPnr6w=
github.com/TomSuzuki/gomarkdown v1.0.1 h1:E0DbFbxAy6dx9QSeKuCd/bTb8TzrriRpg0mkXqZRWzc=
github.com/TomSuzuki/gomarkdown v1.0.1/go.mod h1:2ef4YVn57XdcnKFa46Dqx2X0+p6aiegPvjtErxPnr6w=
github.com/TomSuzuki/gomarkdown v1.1.0 h1:9/XwCJLKteayHSM0pl5dKk7kEfwj07uhzygLvljTWn0=
github.com/TomSuzuki/gomarkdown v1.1.0/go.mod h1:2ef4YVn57XdcnKFa46Dqx2X0+p6aiegPvjtErxPnr6w=
github.com/TomSuzuki/gomarkdown v1.3.0 h1:x4SPPmMao3vrjh6/tdXSg5FSAGceJ0m6Em7qKSCq3jg=
github.com/TomSuzuki/gomarkdown v1.3.0/go.mod h1:2ef4YVn57XdcnKFa46Dqx2X0+p6aiegPvjtErxPnr6w=
github.com/TomSuzuki/gomarkdown v1.3.1 h1:Hc7RnAUPP5sy9SP1oEUagB+soWzAf2vvd9cBj3ir6+I=
github.com/TomSuzuki/gomarkdown v1.3.1/go.mod h1:2ef4YVn57XdcnKFa46Dqx2X0+p6aiegPvjtErxPnr6w=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE=
Expand Down
2 changes: 2 additions & 0 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="theme-color" content="#2FB3FE" />
<meta name="msapplication-TileColor" content="#2FB3FE" />
<meta name="copyright" content="©TomSuzuki" />
Expand Down

0 comments on commit bce39be

Please sign in to comment.