Skip to content

Commit

Permalink
Merge branch 'lanyon'
Browse files Browse the repository at this point in the history
  • Loading branch information
tlienart committed May 6, 2019
2 parents 3b31847 + 72d66c1 commit 902c6d4
Show file tree
Hide file tree
Showing 6 changed files with 568 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/JuDocTemplates.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export newsite

const JUDOC_PATH = splitdir(pathof(JuDocTemplates))[1] # .../JuDocTemplates/src
const TEMPL_PATH = joinpath(JUDOC_PATH, "templates")
const LIST_OF_TEMPLATES = ("basic", "pure-sm", "vela", "hypertext", "tufte", "hyde")
const LIST_OF_TEMPLATES = ("basic", "pure-sm", "vela", "hypertext", "tufte", "hyde", "lanyon")

"""
newsite(topdir; template="basic", cd=true)
Expand Down
24 changes: 24 additions & 0 deletions src/templates/lanyon/src/_css/adjust.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
html {
font-size: 17px;
}

.jd-content {
position: relative;
padding-left: 0;
padding-right: 0;
line-height: 1.35em; }

/* on wide screens, fix content width to a max value */
@media (min-width: 940px) {
.jd-content {
width: 100%;
margin-left: auto;
margin-right: auto; }
}

/* on narrow device, reduce margins */
@media (max-width: 768px) {
.jd-content {
padding-left: 6%;
padding-right: 6%; }
}
Empty file.
Loading

0 comments on commit 902c6d4

Please sign in to comment.