|
|
1번째 줄: |
1번째 줄: |
| /* 기본 설정 */
| | .infobox.trickcal { |
| body {
| | background: #2A2C32; |
| margin: 0; | | border-radius: 12px; |
| font-family: 'Arial', sans-serif; | | padding: 4px; |
| background-color: #000; | | margin: 12px auto; |
| overflow: hidden; | | border: 2px solid #555; |
| color: #fff; | |
| } | | } |
| | | .infobox.trickcal th.trick-label { |
| .vn-container { | | background: #3B3D42; |
| position: relative; | | color: #EEE; |
| width: 100%; | | padding: 4px 8px; |
| height: 100vh; | | font-weight: normal; |
| display: flex; | | border-bottom: 1px solid #555; |
| flex-direction: column;
| |
| justify-content: flex-end;
| |
| align-items: center; | |
| } | | } |
| | | .infobox.trickcal td { |
| /* 배경 설정 */
| | color: #DDD; |
| .background { | | padding: 4px 8px; |
| position: absolute;
| | border-bottom: 1px solid #555; |
| top: 0;
| |
| left: 0;
| |
| width: 100%;
| |
| height: 100%;
| |
| z-index: 0;
| |
| }
| |
| | |
| /* 대화 상자 */
| |
| .dialogue-box { | |
| width: 80%; | |
| max-width: 900px;
| |
| background: rgba(0, 0, 0, 0.8);
| |
| border: 2px solid #fff;
| |
| padding: 20px; | |
| margin-bottom: 20px;
| |
| border-radius: 15px; | |
| z-index: 2;
| |
| text-align: left;
| |
| box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
| |
| }
| |
| | |
| .character-name {
| |
| font-size: 1.2rem;
| |
| font-weight: bold;
| |
| margin-bottom: 10px;
| |
| color: #ffcc00;
| |
| text-shadow: 0 0 5px rgba(255, 204, 0, 0.8);
| |
| }
| |
| | |
| .dialogue-text {
| |
| position: relative;
| |
| }
| |
| | |
| .dialogue-line {
| |
| opacity: 0;
| |
| transform: translateY(10px);
| |
| transition: opacity 0.5s ease, transform 0.5s ease;
| |
| }
| |
| | |
| .dialogue-line.active {
| |
| opacity: 1;
| |
| transform: translateY(0);
| |
| }
| |
| | |
| /* 선택지 */
| |
| .choices {
| |
| display: flex;
| |
| gap: 20px;
| |
| }
| |
| | |
| .choice {
| |
| position: relative;
| |
| display: inline-block;
| |
| padding: 10px 20px;
| |
| background: #333;
| |
| color: #fff;
| |
| border: 2px solid #fff;
| |
| border-radius: 15px;
| |
| font-size: 1rem;
| |
| cursor: pointer;
| |
| transition: all 0.3s ease-in-out;
| |
| }
| |
| | |
| .choice:hover {
| |
| background: #444;
| |
| border-color: #00ffcc;
| |
| color: #00ffcc;
| |
| }
| |
| | |
| /* 선택 클릭 효과 */
| |
| .choice:active {
| |
| background: #00ffcc;
| |
| color: #000;
| |
| transform: scale(0.95);
| |
| } | | } |