diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-05-29 22:34:56 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-05-29 22:34:56 +0200 |
commit | a5d5ac8c13179368528702f88072458f701b4063 (patch) | |
tree | 8e96884f00b8d76468fdeba36dee5a9e9c39d31f /website/resources/css/custom.css | |
parent | 4053b325fa03cadd3c64996742d81bdb6b44d6aa (diff) | |
download | lombok-a5d5ac8c13179368528702f88072458f701b4063.tar.gz lombok-a5d5ac8c13179368528702f88072458f701b4063.tar.bz2 lombok-a5d5ac8c13179368528702f88072458f701b4063.zip |
made the site look a lot better on ‘small’ responsive mode (phones and such).
Diffstat (limited to 'website/resources/css/custom.css')
-rw-r--r-- | website/resources/css/custom.css | 36 |
1 files changed, 30 insertions, 6 deletions
diff --git a/website/resources/css/custom.css b/website/resources/css/custom.css index d3022e28..6a1c564d 100644 --- a/website/resources/css/custom.css +++ b/website/resources/css/custom.css @@ -5,6 +5,7 @@ html { body { margin-bottom: 60px; + overflow-y: scroll; } ul.dropdown-menu .header { @@ -24,12 +25,6 @@ div.snippet code { z-index: 2000; } -@media (max-width: 768px) { - .fork-me { - display: none; - } -} - .video { padding-top: 4%; } @@ -150,3 +145,32 @@ a { .changelog li { text-align: left; } + +@media (max-width: 768px) { + .fork-me { + display: none; + } + + h1 { + font-size: 20px; + } + + h2 { + font-size: 18px; + } + + h3 { + font-size: 16px; + } + + .main-section { + padding-left: 30px; + padding-right: 30px; + } + + video { + width: 100%; + height: auto; + } +} + |