:연습장:아바투르너마저/2/styles.css

아바투르너마저 (토론 | 기여)님의 2024년 12월 8일 (일) 22:19 판 (새 문서: body { margin: 0; padding: 0; font-family: Arial, sans-serif; background: radial-gradient(circle, #000428, #004e92); color: white; overflow-x: hidden; animation: backgroundAnimation 20s infinite alternate; } @keyframes backgroundAnimation { 0% { background: radial-gradient(circle, #000428, #004e92); } 100% { background: radial-gradient(circle, #0f0c29, #302b63, #24243e); } } .header { text-align: center; padding: 20px; background: linear-gra...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: radial-gradient(circle, #000428, #004e92);
  color: white;
  overflow-x: hidden;
  animation: backgroundAnimation 20s infinite alternate;
}

@keyframes backgroundAnimation {
  0% {
    background: radial-gradient(circle, #000428, #004e92);
  }
  100% {
    background: radial-gradient(circle, #0f0c29, #302b63, #24243e);
  }
}

.header {
  text-align: center;
  padding: 20px;
  background: linear-gradient(90deg, #0f2027, #203a43, #2c5364);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  animation: titleGlow 3s infinite alternate;
}

@keyframes titleGlow {
  0% {
    text-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff, 0 0 30px #ff6a00;
  }
  100% {
    text-shadow: 0 0 5px #ff6a00, 0 0 15px #ff4500, 0 0 20px #ff0000;
  }
}

.timeline {
  padding: 40px 20px;
  position: relative;
  max-width: 800px;
  margin: auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #ffffff;
  transform: translateX(-50%);
  z-index: -1;
  animation: timelineGlow 5s infinite alternate;
}

@keyframes timelineGlow {
  0% {
    box-shadow: 0 0 10px #ffffff;
  }
  100% {
    box-shadow: 0 0 20px #ff6a00, 0 0 30px #ff4500;
  }
}

.event {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.event .year {
  background: #ff6a00;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 20px;
  margin-bottom: 10px;
  box-shadow: 0 4px 8px rgba(255, 106, 0, 0.5);
  animation: pulse 2s infinite alternate;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.event .description {
  background: #203a43;
  padding: 15px;
  border-radius: 10px;
  width: 80%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
}

.event .description:hover {
  transform: scale(1.05);
}

.footer {
  text-align: center;
  padding: 20px;
  background: linear-gradient(90deg, #2c5364, #203a43, #0f2027);
  font-size: 0.9em;
  color: #cccccc;
}