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:
/* Template:3DOneFace/styles.css
  Single face 3D swing — mirrors cc-3DCube structure */
.onef-scene {
.onef-scene {
   display: inline-block;
   display: inline-block;
  margin: 4px;
}
}


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


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


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


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


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


.onef-scene:hover .onef-center {
.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-center {
.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-center {
   .onef-center { animation: none; }
    animation: none;
  }
}
}

Revision as of 16:42, 18 April 2026

/* Template:3DOneFace/styles.css
   Single face 3D swing — mirrors cc-3DCube structure */

.onef-scene {
  display: inline-block;
  margin: 4px;
}

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

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

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

@keyframes onef-swing-low {
  0%   { transform: rotate(-20deg); }
  50%  { transform: rotate(20deg); }
  100% { transform: rotate(-20deg); }
}

@keyframes onef-swing-normal {
  0%   { transform: rotate(-45deg); }
  50%  { transform: rotate(45deg); }
  100% { transform: rotate(-45deg); }
}

@keyframes onef-swing-high {
  0%   { transform: rotate(-70deg); }
  50%  { transform: rotate(70deg); }
  100% { transform: rotate(-70deg); }
}

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

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

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