diff --git a/share/goodie/vim_cheat_sheet/style.css b/share/goodie/vim_cheat_sheet/style.css new file mode 100644 index 000000000..e76d1ac0f --- /dev/null +++ b/share/goodie/vim_cheat_sheet/style.css @@ -0,0 +1,36 @@ +.zci--answer .zero_click_wrapper .zero_click { + padding-left: 0px !important; + margin-left: 0px !important; + margin-right: 0px !important; +} + +.zci--answer .vim-container { + max-height: 45ex; + overflow-y: scroll; + overflow-x: hidden; +} + +.zci--answer .vim-column { + width: 48%; + display: inline-block; + vertical-align: top; +} + +.zci--answer table.vim-table { + width: 100%; + margin-bottom: 1ex; +} + +.zci--answer table.vim-table td { + padding-right: 1ex; + vertical-align: top; +} +.zci--answer table.vim-table td code { + white-space: nowrap; +} + +@media (max-width: 380px) { + .zci--answer .vim-column { + width: 100%; + } +} diff --git a/share/goodie/vim_cheat_sheet/vim_cheat_sheet.html b/share/goodie/vim_cheat_sheet/vim_cheat_sheet.html index e248571c7..9ef1c4f1f 100644 --- a/share/goodie/vim_cheat_sheet/vim_cheat_sheet.html +++ b/share/goodie/vim_cheat_sheet/vim_cheat_sheet.html @@ -1,5 +1,11 @@