diff --git a/assets/scss/style.scss b/assets/scss/style.scss index 0dd46aa..5fd6339 100644 --- a/assets/scss/style.scss +++ b/assets/scss/style.scss @@ -4,6 +4,8 @@ $heading-font-color: #d66388; $code-font-color: cornflowerblue; $special-font-color: #c2f486; $main-font-family: Consolas, monaco, monospace; +$min-device-width: 940px; + a { margin: 0; @@ -164,3 +166,14 @@ code { color: $special-font-color; font-style: normal; } + +@media (max-width: $min-device-width) { + body { + padding: 15px; + line-break: normal; + } + + a, code { + line-break: anywhere; + } +} \ No newline at end of file