@import "./break_500px.scss"; @import "./bootstrap5.scss"; body { color: white; background-color: black; border-width: 1px; border-color: gray; background-position: center; background-repeat: repeat-y; } @include media-breakpoint-up(md) { #container { width: 1000px; margin: 0 auto; } } @include media-breakpoint-down(md) { body { overflow-x: hidden; } #container { width: 500px; margin: 0 auto; } } .avoid-wrap { display: inline-block; } #map_view { display: grid; } .mainCityInfo { display: grid; border-right: solid 1px gray; border-bottom: solid 1px gray; .gPanel { display: grid; grid-template-columns: 1fr 2fr; border-top: solid 1px gray; border-left: solid 1px gray; .gHead { display: flex; justify-content: center; align-items: center; } } .cityNamePanel, .nationNamePanel { font-weight: bold; text-align: center; border-top: solid 1px gray; border-left: solid 1px gray; } .popPanel { grid-column: 1 / 3; grid-template-columns: 1fr 5fr; } } @include media-breakpoint-up(md) { #map_view { grid-template-columns: 700px 300px; grid-template-rows: 520px 130px auto; } #mapZone { height: 520px; grid-column: 1 / 2; grid-row: 1 / 2; } #cityInfo { grid-column: 1 / 2; grid-row: 2 / 3; } #routeButtons { grid-column: 1 / 3; grid-row: 3 / 4; } #reservedCommandList { width: 300px; grid-column: 2 / 3; grid-row: 1 / 3; position: relative; } .commandPad { position: absolute; z-index: 99; } .buttonPlate { display: grid; grid-template-columns: repeat(10, 1fr); padding: 0; } .toolbars>.buttonPlate { grid-template-columns: repeat(8, 1fr); } .buttonPlate>a { display: block; text-decoration: none; } .commandButton { width: 100%; font-weight: bold; font-size: 13px; display: block; } .mainCityInfo { grid-template-columns: 1fr 1fr 1fr 1fr; .cityNamePanel, .nationNamePanel { grid-column: 1 / 5; } .officer4Panel { grid-column: 4 / 5; grid-row: 3 / 4; } .officer3Panel { grid-column: 4 / 5; grid-row: 4 / 5; } .officer2Panel { grid-column: 4 / 5; grid-row: 5 / 6; } } } @include media-breakpoint-down(md) { .buttonPlate { display: grid; grid-template-columns: repeat(5, 1fr); padding: 0; } .toolbars>.buttonPlate { grid-template-columns: repeat(4, 1fr); } .buttonPlate>a { display: block; text-decoration: none; } .commandButton { width: 100%; font-weight: bold; font-size: 13px; display: block; } #mapZone { grid-column: 1 / 2; grid-row: 1 / 2; .world_map { width: 500px; height: calc((500px + 20px) * 500 / 700); } .map_title { transform-origin: 0px 0px; transform: scale(calc(500 / 700)); margin-bottom: calc(-20px * 200 / 700); } .map_body { transform-origin: 0px 0px; transform: scale(calc(500 / 700)); } } #reservedCommandList { grid-column: 1 / 2; grid-row: 2 / 3; } #routeButtons { grid-column: 1 / 2; grid-row: 3 / 4; } #cityInfo { grid-column: 1 / 2; grid-row: 4 / 5; } .mainCityInfo { display: grid; grid-template-columns: 1fr 1fr 1fr; .cityNamePanel, .nationNamePanel { grid-column: 1 / 4; } } } .toolbarButton { @extend .btn; @extend .btn-sammo-base2; width: 100%; font-weight: bold; font-size: 13px; } .toolbarButton2 { @extend .btn; @extend .btn-sammo-base2; color: magenta; width: 100%; font-weight: bold; font-size: 13px; &:hover, &:focus, &:active { color: magenta; } } .nation_info td { height: 18px; } #sidebar { position: fixed; right: 0; top: 50%; transform: translateY(-50%); } /*임시용 */ #container { /*width:1000px;*/ margin: auto; font-size: 13px; } /*임시용 끝*/ #message_board { position: relative; } /* #message_board section{ overflow-y:auto; overflow-x:hidden; } */ .msg_plate { width: 100%; outline-style: solid; outline-width: 1px; outline-color: gray; min-height: 64px; font-size: 12px; word-break: break-all; color: white; } .msg_plate_private { background-color: #5d1e1a; } .msg_plate_private.msg_plate_dest { background-color: #5d461a; } .msg_plate_public { background-color: #141c65; } @include media-breakpoint-up(md) { #message_board section { overflow-y: auto; overflow-x: hidden; height: 650px; } .public_message, .diplomacy_message, .national_message, .private_message { min-height: 300px; } } @include media-breakpoint-down(md) { .public_message, .diplomacy_message, .national_message, .private_message { min-height: 150px; } } .msg_plate_national, .msg_plate_diplomacy { background-color: #00582c; } .msg_plate_national.msg_plate_dest, .msg_plate_diplomacy.msg_plate_dest { background-color: #704615; } .msg_plate_national.msg_plate_src, .msg_plate_diplomacy.msg_plate_src { background-color: #70153b; } .msg_icon { float: left; width: 64px; height: 64px; border-right: solid 1px gray; } .msg_time { font-size: 0.75em; font-weight: normal; } .msg_header { font-weight: bold; margin-bottom: 3px; color: white; position: relative; } .message_input_form { position: relative; } #msg_input { color: white; background-color: black; font-size: 12px; margin: 0 2px; height: 20px; border: solid 1px gray; } #msg_submit { position: absolute; right: 0; margin-right: 2px; } #mailbox_list { float: left; color: white; background-color: black; font-size: 12px; width: 160px; height: 20px; } .board_header { color: white; outline-style: solid; outline-width: 1px; outline-color: gray; } /* .board_side{ position:absolute; height:1370px; width:50%; overflow-y: hidden; outline-style:solid; outline-width:1px; outline-color: gray; display: flex; flex-wrap: wrap; flex-direction: column; } .board_side > div{ height: 1.2em; } */ .msg_invalid { color: rgba(255, 255, 255, 0.5); } .msg_body { padding-left: 64px; } .msg_target { margin: 2px 2px 0 2px; padding: 2px 3px; display: inline-block; box-shadow: 2px 2px black; border-radius: 3px; } .btn-delete-msg { position: absolute; right: 0; top: 0; margin: 2px 2px 0 2px; font-size: 8px; } /* .public_message .msg_target{ box-shadow: 2px 2px darkslategrey; } */ .msg_target.msg_bright { color: black; } .msg_target.msg_dark { color: white; } .msg_from_to { display: inline-block; } .msg_content { margin-left: 10px; margin-right: 5px; overflow: hidden; } .msg_prompt { text-align: right; margin-top: 5px; margin-right: 5px; } #mailbox_list option { color: white; background-color: black; } @include media-breakpoint-up(md) { #float-tabs { display: none; } } @include media-breakpoint-down(md) { #float-tabs { position: fixed; right: -1rem; top: 10%; width: 3rem; .btn-group-vertical { margin-bottom: 0.5em; } .btn { padding-left: 0.5em; padding-right: 1.5rem; line-height: 1em; } } } @media (max-width: 560px) { #float-tabs { .btn { opacity: 0.7; } .btn.active{ opacity: 1.0; } .btn:active{ opacity: 0.7; } } } .s-border-tb{ border-top: gray solid 1px; border-bottom: gray solid 1px; }