|
- html, body {
- min-height: 100%;
- height: 100%;
- color: #eee;
- background-color: #333;
- font-family: sans-serif;
- }
-
- #info-area {
- position: relative;
- display: flex;
- height: 60%;
- }
-
- #log {
- background: #000000;
- flex: 4;
- padding: 25px;
- font-size: 24px;
- max-width: 50%;
- }
-
- .sidebar {
- background: #111111;
- padding: 25px;
- flex: 1;
- display: flex;
- flex-direction: column;
- font-size: 24px;
- }
-
- #menu {
- margin: 10px;
- background: #222;
- flex: 2;
- }
-
- #self-info {
- margin: 10px;
- background: #222;
- flex: 5;
- }
-
- #control-area {
- display: flex;
- min-height: 40%;
- max-height: 40%;
- }
-
- @media (min-aspect-ratio: 1/1) {
- #actions {
- flex-wrap: wrap;
- }
- }
-
- #actions {
- position: relative;
- flex-direction: column;
- align-items: center;
- display: flex;
- padding: 25px;
- font-size: 24px;
- background: #111;
- flex: 1;
- max-height: 100%;
- }
-
- .action-button {
- flex: 0 0 50px;
- width: 250px;
- background-color: #888;
- color: #eee;
- margin: 5px;
- font-size: 24px;
- }
-
-
- #desc {
- padding: 25px;
- font-size: 18px;
- background: #222;
- flex: 1;
- }
-
- #moves {
- padding: 25px;
- position: relative;
- background: #111;
- flex: 1;
- }
-
- #move-holder {
- position: absolute;
- left: 50%;
- margin-left: -100px;
- top: 15%;
- }
-
- @media (max-aspect-ratio: 1/1) {
- .move-button {
- width: 100px;
- height: 100px;
- }
- }
-
- @media (min-aspect-ratio: 1/1) {
- .move-button {
- width: 200px;
- height: 50px;
- }
- }
-
- .move-button {
- background-color: #888;
- color: #eee;
- border-radius: 5px;
- }
-
- /* nicked from the internet */
- /*
- .move-button:before,
- .move-button:after {
- content: '';
- position: absolute;
- right: -20px;
- width: 32px;
- height: 15px;
- border-radius: 5px;
- background: #888;
- }
- .move-button:before {
- top: 9px;
- -webkit-
- -ms-
-
- }
- .move-button:after {
- bottom: 9px;
- -webkit-
- -ms-
-
- }*/
-
- .disabled {
- background-color: gray;
- background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.5) 35px, rgba(255,255,255,.5) 70px);
- }
-
- .move-button > span {
- display: inline-block;
- font-size: 24px;
- }
-
- #move-up-left {
- position: absolute;
- left: -140px;
- top: 60px;
-
- }
-
- #move-up-left > span {
-
- }
-
- #move-up {
- position: absolute;
- left: 0px;
- top: 0px;
-
- }
-
- #move-up > span {
-
- }
-
- #move-up-right {
- position: absolute;
- left: 140px;
- top: 60px;
-
- }
-
- #move-up-right > span {
-
- }
-
- #move-left {
- position: absolute;
- left: -200px;
- top: 120px;
-
- }
-
- #move-left > span {
-
- }
-
- #move-right {
- position: absolute;
- left: 200px;
- top: 120px;
-
- }
-
- #move-right > span {
-
- }
-
- #move-down-left {
- position: absolute;
- left: -140px;
- top: 180px;
-
- }
-
- #move-down-left > span {
-
- }
-
- #move-down {
- position: absolute;
- left: 0px;
- top: 240px;
-
- }
-
- #move-down > span {
-
- }
-
- #move-down-right {
- position: absolute;
- left: 140px;
- top: 180px;
-
- }
-
- #move-down-right > span {
-
- }
|