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

편집 요약 없음
편집 요약 없음
 
(같은 사용자의 중간 판 4개는 보이지 않습니다)
1번째 줄: 1번째 줄:
/* 기본 스타일 */
.trickcal-box {
body {
   width: 400px;
   margin: 0;
   background-color: #2A2C32;
   font-family: Arial, sans-serif;
   border-radius: 15px;
   background: linear-gradient(to bottom, #1a1a1a, #101010);
   padding: 16px;
   color: white;
   margin: 40px auto;
   display: flex;
   color: #eee;
   justify-content: center;
   font-family: "Noto Sans KR", sans-serif;
   align-items: center;
   box-shadow: 0 0 15px rgba(0,0,0,0.3);
  height: 100vh;
   overflow-y: scroll;
}
}


header {
.trickcal-image {
   text-align: center;
   width: 100%;
   margin-bottom: 30px;
  border-radius: 8px;
   margin-bottom: 12px;
}
}


header h1 {
.trickcal-title {
   font-size: 2.5rem;
   font-size: 1.4em;
   font-weight: bold;
   font-weight: bold;
   color: #f1c40f;
   color: #FFCE54;
  margin: 0;
   text-align: center;
   text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
}


/* 타임라인 컨테이너 */
.trickcal-subtitle {
.timeline-container {
   font-size: 0.9em;
   max-width: 600px;
  color: #ccc;
   width: 90%;
   text-align: center;
   padding: 20px;
   margin-bottom: 10px;
}
}


/* 타임라인 스타일 */
.trickcal-ability {
.timeline {
   background-color: #444;
   position: relative;
   padding: 10px;
   padding-left: 40px;
  margin: 10px 0;
   border-left: 3px solid #f1c40f;
  border-radius: 8px;
   animation: lineGlow 3s infinite alternate;
  text-align: center;
   font-weight: bold;
   color: #ffffff;
}
}


@keyframes lineGlow {
.trickcal-description {
   0% {
   font-size: 0.92em;
    border-left-color: #f1c40f;
  padding: 10px;
   }
  line-height: 1.5em;
  100% {
  background-color: #1f1f1f;
    border-left-color: #e74c3c;
   border-radius: 8px;
   }
   margin-bottom: 16px;
}
}


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


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


.event .year {
.trickcal-attrs .attr span {
   position: absolute;
   display: block;
  left: -60px;
  top: 0;
  font-size: 1.2rem;
   font-weight: bold;
   font-weight: bold;
   color: #f1c40f;
   color: #999;
   text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
   margin-bottom: 3px;
  animation: fadeIn 1s ease-in;
}
}


@keyframes fadeIn {
.trickcal-voice-title {
   from {
   font-weight: bold;
    opacity: 0;
  text-align: center;
    transform: translateY(10px);
   margin-bottom: 8px;
   }
  color: #FFCE54;
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
}


.event p {
.trickcal-voices {
   background: #333;
   display: flex;
   padding: 15px;
   flex-wrap: wrap;
   border-radius: 5px;
   justify-content: center;
  margin: 0;
   gap: 10px;
   animation: fadeInText 1s ease-in-out;
}
}


@keyframes fadeInText {
.trickcal-voices div {
   from {
   background-color: #333;
    opacity: 0;
  padding: 6px 12px;
    transform: translateX(10px);
   border-radius: 6px;
   }
   font-size: 0.9em;
   to {
  color: #ddd;
    opacity: 1;
   border: 1px solid #555;
    transform: translateX(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;
}