/* FOR MOBILES */ @media (max-width: 400px) { #TopBar #Homepage a { font-size: 16px !important; } #Content { font-size: 10px !important; max-width: calc(100% - 6px) !important; } #Content * { font-size: 14px !important; } } html, body { padding: 0px; margin: 0px; height: calc(100% - 4px); } /** * * TOP BAR * */ #TopBar { background-color: black; height: 35px; margin: 3px; position: relative; width: calc(100% - 6px); font-family: monospace; } #TopBar #TonejsLogo { position: absolute; top: 3px; } #TopBar #Examples { right: 10px; top: 0px; height: 35px; line-height: 35px; position: absolute; width: 100px; text-align: left; } #TopBar #Examples a { position: absolute; font-size: 14px; color: white; text-transform: none; text-decoration: none; } #MobileStart { position: absolute; width: 100%; height: 100%; z-index: 10000; top: 0px; left: 0px; background-color: rgba(0, 0, 0, 0.5); } #MobileStart #Button { position: absolute; left: 50%; top: 50%; background-color: black; color: white; font-family: monospace; border-radius: 3px; margin-top: -40px; margin-left: -40px; width: 80px; height: 80px; text-align: center; line-height: 80px; } #MobileStart #Button:hover { background-color: #7F33ED; color: white; } #MobileStart #Button:hover:active { background-color: #ED33CF; color: #22DBC0; } #Content { font-family: monospace; position: absolute; left: 3px; width: calc(100% - 6px); margin-bottom: 15px; } #Content #Title { height: 23px; line-height: 23px; font-size: 1.2em; color: white; width: calc(100% - 15px); padding-left: 15px; background-color: black; } #Content #Explanation { position: relative; font-family: monospace; padding: 15px; color: black; font-size: 14px; box-sizing: border-box; border: 3px solid black; border-top-width: 0px; width: 100%; } #Content #Explanation img { width: 80%; max-width: 700px; margin-left: auto; margin-right: auto; display: block; } #Content a { color: black; font-family: monospace; font-size: 14px; font-weight: bold; text-decoration: none; } #Content a:hover { color: #1EDF3E; } #Content a:hover:active { color: #ED33CF; } #Content #DragContainer { margin-left: 3px; margin-top: 3px; margin-bottom: 15px; width: calc(100% - 3px); height: 400px; position: relative; color: white; } #Content .Slider.x { position: relative; height: 94px; width: 100%; margin-top: 3px; } #Content .Slider.x .Axis { top: 50%; margin-top: -1.5px; } #Content .Slider.y { position: relative; width: 94px; height: 400px; } #Content .Slider.y .Axis { left: 50%; margin-left: -1.5px; } #Content .Dragger { width: 90px; height: 90px; position: absolute; background-color: black; border-radius: 50%; z-index: 1; margin-top: -2px; border: 2px solid white; cursor: -webkit-grab; } #Content .Dragger #Name { width: 100%; height: 100%; position: relative; text-align: center; font-size: 12px; font-family: monospace; line-height: 90px; color: white; } #Content .Dragger:hover { background-color: #3833ED; color: white; } #Content .Dragger.is-pointer-down { cursor: -webkit-grabbing; background-color: #ED33CF; } #Content .Dragger.is-pointer-down #Name { color: #1EDF3E; } #Content .Axis { position: absolute; background-color: black; width: 3px; height: 3px; top: 3px; left: 3px; border-radius: 1.5px; z-index: 0; } #Content #xAxis { width: calc(100% - 6px); } #Content #yAxis { height: calc(100% - 6px); } #Content .Button { width: 100%; margin-top: 3px; height: 90px; background-color: black; line-height: 90px; color: white; border-radius: 10px; text-align: center; cursor: pointer; } #Content .Button:hover { color: white; background-color: #3833ED; } #Content .Button:hover:active, #Content #Content .Button:hover:active.Active { color: #22DBC0; background-color: #ED33CF; } #Content .Button.Toggle.Active { box-sizing: border-box; border: 3px solid black; line-height: 84px; color: black; background-color: white; } #Content .Transport { width: 100%; height: 30px; background-color: black; line-height: 30px; color: white; border-radius: 10px; margin-top: 3px; position: relative; } #Content .Transport #Position { width: 70px; left: 50%; margin-left: -35px; text-align: left; height: 100%; position: absolute; color: white; } #Keyboard { margin: 3px !important; } code { background-color: #ECECEC; color: #333; padding: 1px; } #Loading { font-family: monospace; z-index: 100000; position: absolute; background-color: rgba(140, 140, 140, 0.5); width: 100%; height: calc(100% - 37.5px); top: 37.5px; left: 0px; opacity: 1; -webkit-transition: opacity 0.4s; transition: opacity 0.4s; } #Loading #Text { color: white; position: absolute; text-align: center; top: 50%; left: 50%; width: 300px; margin-left: -150px; height: 60px; margin-top: -30px; line-height: 60px; font-size: 42px; } #Loading.Loaded { pointer-events: none; opacity: 0; }