소스 검색

Make a first stab at a mobile layout

tags/v1.1.0
Fen Dweller 6 년 전
부모
커밋
85c50ad408
1개의 변경된 파일40개의 추가작업 그리고 4개의 파일을 삭제
  1. +40
    -4
      style.css

+ 40
- 4
style.css 파일 보기

@@ -56,23 +56,59 @@ body.dark div {
margin: auto;
}

@media (max-aspect-ratio: 16/9){
@media (max-aspect-ratio: 1/1){
.game-area {
width: 100%
height: 60%;
}
#stat-container {
position: fixed;
top: 0%;
left: 0%;
max-width: 50%;
max-height: 50%;
}
#action-panel {
position: fixed;
right: 0%;
top: 0%;
max-width: 33%;
max-height: 50%;
}
#log {
height: 80vh;
max-height: 50vh;
position: fixed;
left: 0%;
bottom: 0%;
width: 50%;
height: 50%;
max-height: 50%;
margin: 0 0 1vh 0;
}
#react-log {
position: fixed;
right: 0%;
bottom: 0%;
width: 50%;
height: 50%;
max-height: 50%;
margin: 1vh 0 0 0;
height: 40vh;
}
.growth-part {
width: 100px !important;
}
.growth-amount {
width: 100px !important;
}
.action-part-button {
width: 100px !important;
}
.action-button {
width: 100px !important;
}
}

@media (min-aspect-ratio: 16/10){
@media (min-aspect-ratio: 1/1){
.game-area {
width: 90%
}


불러오는 중...
취소
저장