Template:Starwarscrawl/styles.css

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
.starwars-container {
  position: relative;
  min-width: 900px;
  height: 35.5em;
}

.starwars-container h1,
.starwars-container h2,
.starwars-container h3,
.starwars-container p,
.starwars-container a {
  color: inherit;
}

.starwars-container a { 
  text-decoration: underline; 
}

.starwars-container a:hover { 
  background: #ffe919;
  color: #000;
}

.starwars-container .utility-box {
  background: #fff;
  background: rgba(255,255,255,0.9);
}

.starwars-start {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  font-size: 200%;
  font-weight: 400;
  color: #4ee;
  opacity: 0;
  z-index: 1;
  animation: intro 2s ease-out;
}

@keyframes intro {
  0%, 90% { opacity: 1; }
  100% { opacity: 0; }
}

.starwars-logo {
  position: absolute;
  top: 20%;
  left: 0;
  right: 0;
  margin-top: 0em;
  width: 100%;
  font-size: 10em;
  text-align: center;
  line-height: 0.8em;
  letter-spacing: -0.05em;
  color: #000;
  text-shadow: -2px -2px 0 #ff6, 2px -2px 0 #ff6, -2px 2px 0 #ff6, 2px 2px 0 #ff6;
  opacity: 0;
  z-index: 1;
  animation: logo 5s ease-out 2.5s;
}

@keyframes logo {
  0% { transform: scale(1); opacity: 1; }
  50% { opacity: 1; }
  100% { transform: scale(0.1); opacity: 0; }
}

.starwars {
  position: absolute;
  width: 18em;
  height: 48em;
  bottom: 0;
  left: 50%;
  margin-left: -9em;
  font-size: 350%;
  font-weight: bold;
  text-align: justify;
  overflow: hidden;
  transform-origin: 50% 100%;
  transform: perspective(300px) rotateX(25deg);
  z-index: 999;
}

.starwars::after {
  position: absolute;
  content: '';
  left: 0;
  right: 0;
  top: 0;
  bottom: 60%;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, transparent 100%);
  pointer-events: none;
}

.starwars-content {
  position: absolute;
  top: 100%;
  animation: scroll 100s linear 3s infinite;
}

.starwars-content-nodelay {
  animation: scroll 100s linear 0.2s infinite;
}

@keyframes scroll {
  0% { top: 100%; }
  100% { top: -170%; }
}