/* font-face */ @font-face { font-family: "Playtime"; /* src: url("playtime.ttf"); */ src: url("font/playtime-webfont.woff") format('woff'), url("font/playtime-webfont.ttf") format('ttf'), url("font/playtime-webfont.svg") format('svg'); } @font-face { font-family: "Gentium"; /* src: url("gentium.ttf"); */ src: url("font/GentiumPlus.svg"); src: url("font/GentiumPlus.ttf"); src: url("font/GentiumPlus.woff"); } /* general styling */ * { -moz-user-select: -moz-none; -webkit-user-select: none; -ms-user-select: none; user-select: none; outline: none; } body { margin: 0; padding: 0; background: gray; font: 22px/27px Playtime, sans-serif; } #all { height: 100%; position: absolute; width: 100%; } h2 { font-size: 20px line-height: 24px; /* yes, h2 has *smaller* font */ font-weight: bold; } /* interstitial */ #interstitial { visibility: hidden; cursor: auto; } html.no-js #interstitial { visibility: visible; } #warn { background-color: rgb(128, 128, 128); background-color: rgba(128, 128, 128, 0.8); border-radius: 10px 10px; height: 70%; left: 50%; margin-left: -300px; padding: 10px; position: absolute; top: 10%; width: 600px; z-index: 100; } html.no-js #warn li { display: none; } html.js #warn li#js { display: none; } #warn li#ie { display: none; } html.video #warn li#video { display: none; } html.audio #warn li#audio { display: none; } #warn li#opus { display: none; } html.fontface #warn li#fontface { display: none; } html.csstransforms #warn li#csstransforms { display: none; } html.csstransitions #warn li#csstransitions { display: none; } #gotit { text-align: center; } html.no-js #gotit { display: none; } /* pre-content */ #container, #vid { cursor: url("../dump/ui/mousecursor.png"), default; position: absolute; } #container, #vid { top: 50%; left: 50%; width: 800px; height: 600px; margin-top: -300px; margin-left: -400px; } #container { overflow: hidden; } #gray { position: absolute; width: 100%; height: 100%; background-color: rgb(0, 0, 0); opacity: 0.5; z-index: 10; } /* dialogs */ #dialogs { z-index: 50; width: 504px; height: 395px; background: url("../dump/ui/bg-config.png"); margin-left: -252px; margin-top: -197.5px; } #options { padding: 10px 20px; } #return { position: absolute; bottom: 15px; right: 20px; } /* content */ #show { height: 100%; } #show img { position: absolute; } #window { background: url("../dump/ui/bg-say.png"); width: 800px; height: 160px; position: absolute; top: 440px; left: 0; } #who { color: black; position: absolute; top: 12px; left: 12px; font-weight: bold; } .say, #context-info { color: white; } #say { width: 750px; height: 90px; position: absolute; top: 53px; left: 28px; } #nvl { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url("../dump/ui/bg-nvl.png") no-repeat top left; } #nvlsay { padding: 15px 35px; } .nvl-block { display: block; margin: 10px 8px; } #ctc, #nvlctc { position: absolute; bottom: 20px; right: 10px; -webkit-animation: blink 2s infinite; -moz-animation: blink 2s infinite; animation: blink 2s infinite; } #nvlctc { bottom: 25px; transform: rotate(90deg); } #centered { text-align: center; top: 0; bottom: 0; left: 0; height: 0; } .centered { position: absolute; margin: auto; width: 100%; left: 50%; top: 50%; } .status { position: absolute; top: 10px; right: 10px; display: none; } #choices { left: 0; } .choice { text-align: center; background: url("../dump/ui/bg-choice.png") no-repeat top center; height: 35px; line-height: 30px; } #context > div { z-index: 20; text-align: center; } #context-menu { background: url("../dump/ui/bg-gm.png") no-repeat top center; margin-top: -210px; padding-top: 60px; position: absolute; left: 50%; height: 380px; width: 200px; margin-left: -100px; top: 50%; } #context-menu .button { padding: 1.5px; } #context-info { font: 19px/22px Playtime; position: absolute; bottom: 10px; text-align: center; width: 100%; } /* main menu */ #main-menu-buttons .button { margin: 4px; } #version { position: absolute; bottom: 10px; right: 15px; font-size: 8px; line-height: 8px; opacity: 0.4; } /* input */ label { display: block; } .button, h2, label { opacity: 0.4; } .disabled { opacity: 0.1; } .button:not(.disabled):hover { opacity: 1; } input[type="checkbox"] { display: none; } input[type="checkbox"] + span:before { display: inline-block; height: 19px; width: 20px; content: ""; background-position: left bottom; background-repeat: no-repeat; background-image: url("../dump/ui/bt-cf-unchecked.png"); } input[type="checkbox"]:checked + span:before { background-image: url("../dump/ui/bt-cf-checked.png"); }