틀:연습장:아바투르너마저/2/styles.css: 두 판 사이의 차이

편집 요약 없음
편집 요약 없음
 
(같은 사용자의 중간 판 2개는 보이지 않습니다)
1번째 줄: 1번째 줄:
/* 기본 설정 */
.trickcal-box {
body {
   width: 400px;
   margin: 0;
   background-color: #2A2C32;
   font-family: 'Arial', sans-serif;
  border-radius: 15px;
   background-color: #000;
  padding: 16px;
   overflow: hidden;
  margin: 40px auto;
   color: #fff;
   color: #eee;
   font-family: "Noto Sans KR", sans-serif;
   box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
}


.vn-container {
.trickcal-image {
  position: relative;
   width: 100%;
   width: 100%;
   height: 100vh;
   border-radius: 8px;
  display: flex;
   margin-bottom: 12px;
  flex-direction: column;
  justify-content: flex-end;
   align-items: center;
}
}


/* 배경 설정 */
.trickcal-title {
.background {
   font-size: 1.4em;
   position: absolute;
   font-weight: bold;
   top: 0;
   color: #FFCE54;
  left: 0;
   text-align: center;
  width: 100%;
   height: 100%;
   z-index: 0;
}
}


/* 대화 상자 */
.trickcal-subtitle {
.dialogue-box {
   font-size: 0.9em;
   width: 80%;
   color: #ccc;
  max-width: 900px;
   text-align: center;
  background: rgba(0, 0, 0, 0.8);
   margin-bottom: 10px;
   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 {
.trickcal-ability {
   font-size: 1.2rem;
   background-color: #444;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  text-align: center;
   font-weight: bold;
   font-weight: bold;
  margin-bottom: 10px;
   color: #ffffff;
   color: #ffcc00;
  text-shadow: 0 0 5px rgba(255, 204, 0, 0.8);
}
}


.dialogue-text label {
.trickcal-description {
   display: block;
   font-size: 0.92em;
   font-size: 1rem;
   padding: 10px;
   line-height: 1.5;
   line-height: 1.5em;
   opacity: 0;
   background-color: #1f1f1f;
   animation: fadeIn 1s ease-in-out forwards;
   border-radius: 8px;
   cursor: pointer;
   margin-bottom: 16px;
}
}


input[type="radio"]:checked + label {
.trickcal-attrs {
   opacity: 1;
   display: grid;
   color: #00ffcc;
   grid-template-columns: repeat(2, 1fr);
  text-shadow: 0 0 10px #00ffcc;
   gap: 8px;
}
   margin-bottom: 20px;
 
/* 선택지 */
.choices {
   display: flex;
   gap: 20px;
}
}


.choices label {
.trickcal-attrs .attr {
   position: relative;
   background-color: #383b40;
  display: flex;
   padding: 8px;
  align-items: center;
   border-radius: 6px;
  justify-content: center;
   font-size: 0.9em;
  padding: 10px 20px;
   color: #eee;
  background: #333;
  color: #fff;
   border: 2px solid #fff;
   border-radius: 15px;
   font-size: 1rem;
   cursor: pointer;
  transition: all 0.3s ease-in-out;
}
}


.choices label:hover {
.trickcal-attrs .attr span {
   background: #444;
   display: block;
   border-color: #00ffcc;
   font-weight: bold;
   color: #00ffcc;
  color: #999;
   margin-bottom: 3px;
}
}


.choices input[type="radio"] {
.trickcal-voice-title {
   display: none;
   font-weight: bold;
  text-align: center;
  margin-bottom: 8px;
  color: #FFCE54;
}
}


.choices input[type="radio"]:checked + span {
.trickcal-voices {
   background: #00ffcc;
   display: flex;
   color: #000;
   flex-wrap: wrap;
   border-radius: 15px;
   justify-content: center;
   padding: 5px 10px;
   gap: 10px;
  box-shadow: 0 0 10px #00ffcc;
}
}


/* 애니메이션 */
.trickcal-voices div {
@keyframes fadeIn {
   background-color: #333;
   from {
  padding: 6px 12px;
    opacity: 0;
   border-radius: 6px;
    transform: translateY(10px);
   font-size: 0.9em;
   }
  color: #ddd;
   to {
   border: 1px solid #555;
    opacity: 1;
    transform: translateY(0);
   }
}
}

2025년 6월 27일 (금) 22:38 기준 최신판

.trickcal-box {
  width: 400px;
  background-color: #2A2C32;
  border-radius: 15px;
  padding: 16px;
  margin: 40px auto;
  color: #eee;
  font-family: "Noto Sans KR", sans-serif;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.trickcal-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
}

.trickcal-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #FFCE54;
  text-align: center;
}

.trickcal-subtitle {
  font-size: 0.9em;
  color: #ccc;
  text-align: center;
  margin-bottom: 10px;
}

.trickcal-ability {
  background-color: #444;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  color: #ffffff;
}

.trickcal-description {
  font-size: 0.92em;
  padding: 10px;
  line-height: 1.5em;
  background-color: #1f1f1f;
  border-radius: 8px;
  margin-bottom: 16px;
}

.trickcal-attrs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.trickcal-attrs .attr {
  background-color: #383b40;
  padding: 8px;
  border-radius: 6px;
  font-size: 0.9em;
  color: #eee;
}

.trickcal-attrs .attr span {
  display: block;
  font-weight: bold;
  color: #999;
  margin-bottom: 3px;
}

.trickcal-voice-title {
  font-weight: bold;
  text-align: center;
  margin-bottom: 8px;
  color: #FFCE54;
}

.trickcal-voices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.trickcal-voices div {
  background-color: #333;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.9em;
  color: #ddd;
  border: 1px solid #555;
}