diff --git a/lessonsSources/assets/custom.css b/lessonsSources/assets/custom.css index db8e4d8..77b9ffe 100644 --- a/lessonsSources/assets/custom.css +++ b/lessonsSources/assets/custom.css @@ -9,13 +9,31 @@ html.theme--documenter-light pre code { } */ +/* Comments widget */ .utterances .utterances-frame { /*min-width: 600px; */ min-height: 300px; position: relative; } +/* Youtube widgets*/ .ytb-container iframe.embed-responsive-item{ width: 600px; height: 300px; } + +p, li{ + text-align: justify; +} + +/* Rating and sharing widgets */ +#pd_rating_holder_8962705 { + display: inline !important; +} + +div.addthis_inline_share_toolbox { + clear: none !important; + margin-left: 20px; + margin-top: -0.8em; + display: inline-block; +} diff --git a/makedoc.jl b/makedoc.jl index 68b0105..6b7bdeb 100644 --- a/makedoc.jl +++ b/makedoc.jl @@ -189,55 +189,58 @@ function preprocess(rootDir) outContent *= origContent if (filename != "index.md") commentCode = """ - ```@raw html - - ``` - """ - addThisCode = """ - ```@raw html - - - ``` - """ + ```@raw html + + ``` + """ + addThisCode1 = """ + ```@raw html +
+ ``` + """ + addThisCode2 = """ + ```@raw html + + + ``` + """ # https://crowdsignal.com/support/rating-widget/ ratingCode1 = """ - ```@raw html -
- - ``` - """ + ```@raw html +
+ + ``` + """ ratingCode2 = """ - ```@raw html - - ``` - """ + ```@raw html + + ``` + """ outContent *= "\n---------\n" outContent *= ratingCode1 + outContent *= addThisCode1 outContent *= "\n---------\n" outContent *= commentCode outContent *= ratingCode2 + outContent *= addThisCode2 end - #print(outContent) - #println(file) write(file,outContent) end # end for each file end #end preprocess function - - # ------------------------------------------------------------------------------ # Saving the unmodified source to a temp directory