X-Git-Url: https://jasonwoof.com/gitweb/?p=hexbog.git;a=blobdiff_plain;f=style.less;h=a1ec6e4ff55822013486a83229002cee86b71ecf;hp=d74086584dacb300b88e642ed34bd3eec536b4d9;hb=e1c37a707f4a2e91f1d8f447385cffc9cbd32f9a;hpb=5c9ec279c15c135b7e84501a5b2426e8f06fde60 diff --git a/style.less b/style.less index d740865..a1ec6e4 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; @@ -65,6 +66,7 @@ body { position: absolute; top: @tabs-top; height: @tabtab-height * 4 + @tab-height; + width: @right-width; } .tab + .tab, .selected-tab + .tab, .tab + .selected-tab { margin-top: 5px; @@ -74,6 +76,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 +221,8 @@ body { border: 2px solid #a83; border-radius: 0 0 0 13px; } -#definition { +#definition_body { + height: @tab-height - @tabtab-height; overflow: auto; } #definition_credit {