X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=common.css;h=066f9be328c6a6aee0d0022ea4e025219bb8bccb;hb=dbc2acb0bcbeec800f7b24494e3224a4e3dc35e8;hp=f1b2b79bee6cdf00f2ef1a5edf7e88a813dd2ffe;hpb=cc2c71836442d7495ec570f8f78c006ea60852e0;p=xogo.git diff --git a/common.css b/common.css index f1b2b79..066f9be 100644 --- a/common.css +++ b/common.css @@ -11,11 +11,17 @@ vertical-align: baseline; } +html { + height: 100%; +} + body { + height: 100%; margin: 0; - /*text-align: center;*/ background-color: #f8f8f8; font-family: Arial, Verdana, Tahoma, sans-serif; + /* https://stackoverflow.com/a/24392249/12660887 */ + position: relative; } main { @@ -31,7 +37,7 @@ main > div { margin-top: 25vh; min-height: 500px; min-width: 320px; - /*max-width: 800px;*/ /*unnecessary*/ + max-width: 800px; /*useful for rules display only*/ } @media(max-height: 800px) {