diff --git a/static/css/style.scss b/static/css/style.scss index 741fcc0..c868195 100644 --- a/static/css/style.scss +++ b/static/css/style.scss @@ -130,10 +130,22 @@ h1 { font-size: 3.2rem; font-style: normal; margin-top: 2.6rem; } h2 { font-size: 2.2rem; margin-top: 4.2rem; } h3 { font-size: 1.7rem; margin-top: 2.6rem; } -p,table,blockquote,pre,img,hr,.mini-note,ul li,ol li { +p,table,blockquote,img,hr,.mini-note,ul li,ol li { box-sizing: border-box; max-width: 55%; } + +pre { + font-size: 1rem; + margin: 2rem 0 2rem 0 !important; + padding: 0 !important; + overflow-x: auto; + min-width: 98%; + margin: 0; + padding: 0; + display: flex; +}; + p { width: 100%; max-width: 53rem; @@ -257,6 +269,7 @@ figcaption { left: calc(100% + 4rem); line-height: 1.3rem; max-width: 400px; + word-wrap: break-word; padding-top: 1rem; position: absolute; top: 0; diff --git a/templates/about.tpl b/templates/about.tpl index 01ba0ab..12620c3 100644 --- a/templates/about.tpl +++ b/templates/about.tpl @@ -1,4 +1,12 @@ + +