X-Git-Url: https://jasonwoof.com/gitweb/?p=hexbog.git;a=blobdiff_plain;f=style.less;h=bca514e29ed7eca76ba2943900304f8cd9d40e40;hp=d74086584dacb300b88e642ed34bd3eec536b4d9;hb=a47a1d5f74374bb2945068a70f1a3987073209e6;hpb=5c9ec279c15c135b7e84501a5b2426e8f06fde60 diff --git a/style.less b/style.less index d740865..bca514e 100644 --- a/style.less +++ b/style.less @@ -8,6 +8,7 @@ @tabs-top: 120px; @tabtab-height: 20px; // also in main.coffee @tab-height: 150px; // also in main.coffee +@tab-pad: 5px; @row-pad: 10px; @copyright-height: 20px; @@ -74,6 +75,10 @@ body { padding: 0 0 0 3px; background: @tabtab-color; } + .tabbody { + height: @tab-height - @tabtab-height - @tab-pad * 2; + padding: (@tab-pad - 1) (@tab-pad - 1) @tab-pad (@tab-pad + 1); + } .selected-tab, .tab { overflow: hidden; box-shadow: 1px 1px 3px #888; @@ -215,7 +220,8 @@ body { border: 2px solid #a83; border-radius: 0 0 0 13px; } -#definition { +#definition_body { + height: @tab-height - @tabtab-height; overflow: auto; } #definition_credit {