New mission: revamp the portals to make them look actually tolerable to the eye. They are currently placeholders as of now.
The Gold Network: Soyworld | SNCApedia | SoyPlace


I'm not dead, just inactive for the moment. Faggot (talk) 20:16, 9 April 2026 (UTC)

Template:3DOneFace/styles.css: Difference between revisions

From SNCApedia, the shit nobody cares about encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
/* ================================
.onef-scene {
  Template:3DOneFace/styles.css
  display: inline-block;
  ================================ */
}


.onef-wrapper {
.onef-cube {
   display: inline-block;
   display: inline-block;
   vertical-align: middle;
   position: relative;
}
}


.onef-face {
.onef-center {
   display: inline-block;
   display: inline-block;
   animation-timing-function: ease-in-out;
   animation-timing-function: linear;
   animation-iteration-count: infinite;
   animation-iteration-count: infinite;
}
}


.onef-low    .onef-face { animation-name: onef-rock-low; }
.onef-low    .onef-center { animation-name: onef-spin-low; }
.onef-normal .onef-face { animation-name: onef-rock-normal; }
.onef-normal .onef-center { animation-name: onef-spin-normal; }
.onef-high  .onef-face { animation-name: onef-rock-high; }
.onef-high  .onef-center { animation-name: onef-spin-high; }


@keyframes onef-rock-low {
@keyframes onef-spin-low {
   0%  { transform: rotate(-15deg); }
   from { transform: rotate(0deg); }
   50%  { transform: rotate(15deg); }
   to   { transform: rotate(360deg); }
   100% { transform: rotate(-15deg); }
}
}


@keyframes onef-rock-normal {
@keyframes onef-spin-normal {
   0%  { transform: rotate(-40deg); }
   from { transform: rotate(0deg); }
   50%  { transform: rotate(40deg); }
   to   { transform: rotate(360deg); }
   100% { transform: rotate(-40deg); }
}
}


@keyframes onef-rock-high {
@keyframes onef-spin-high {
   0%  { transform: rotate(-70deg); }
   from { transform: rotate(0deg); }
   50%  { transform: rotate(70deg); }
   to   { transform: rotate(360deg); }
   100% { transform: rotate(-70deg); }
}
}


.onef-wrapper:hover .onef-face {
.onef-scene:hover .onef-center {
   animation-play-state: paused;
   animation-play-state: paused;
  transform: rotate(0deg);
  transition: transform 0.15s ease-out;
}
}


.onef-nohover:hover .onef-face {
.onef-nohover:hover .onef-center {
   animation-play-state: running;
   animation-play-state: running;
  transform: none;
  transition: none;
}
}


@media (prefers-reduced-motion: reduce) {
@media (prefers-reduced-motion: reduce) {
   .onef-face {
   .onef-center {
     animation: none;
     animation: none;
    transform: none;
   }
   }
}
}

Revision as of 16:37, 18 April 2026

.onef-scene {
  display: inline-block;
}

.onef-cube {
  display: inline-block;
  position: relative;
}

.onef-center {
  display: inline-block;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.onef-low    .onef-center { animation-name: onef-spin-low; }
.onef-normal .onef-center { animation-name: onef-spin-normal; }
.onef-high   .onef-center { animation-name: onef-spin-high; }

@keyframes onef-spin-low {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes onef-spin-normal {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes onef-spin-high {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.onef-scene:hover .onef-center {
  animation-play-state: paused;
}

.onef-nohover:hover .onef-center {
  animation-play-state: running;
}

@media (prefers-reduced-motion: reduce) {
  .onef-center {
    animation: none;
  }
}