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:3DCube/style.css: Difference between revisions

From SNCApedia, the shit nobody cares about encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
/* cc: shorthand term for "CSS Cube", now semi-CSS2 compliant! */
/* Template:3DCube/style.css
  cc: shorthand term for "CSS Cube", modular and transparent */
 
.cc-scene {
.cc-scene {
margin: 25px;
    margin: 25px auto;
width: 200px;
height: 200px;
}
}
.cc-cube {
.cc-cube {
width: 100%;
    width: 100%;
height: 100%;
    height: 100%;
position: relative;
    position: relative;
}
}


.cc-center {
.cc-center {
animation: 10s linear cc-3DSpin infinite;
    animation: cc-3DSpin 10s linear infinite;
width: 100%;
    width: 100%;
height: 100%;
    height: 100%;
}
}


.cc-side {
.cc-side {
position: absolute;
    position: absolute;
background-color: #FFF;
    width: 100%;
outline: 1px solid #CCC;
    height: 100%;
width: 200px;
   
height: 200px;
    /* This makes the cube hollow/see-through */
background-size: cover;
    background-color: transparent;  
   
    /* A subtle outline to see the edges. Can be removed if you want pure invisible walls */
    outline: 1px solid rgba(200, 200, 200, 0.5);
   
    /* Flexbox guarantees ANY content (text, image, div) centers perfectly */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
}


.cc-SNCAText {
/* Spin animation */
margin: 0;
@keyframes cc-3DSpin {
position: absolute;
    from { transform: rotate(0deg); }
text-align: center;
    to  { transform: rotate(360deg); }
font-family: 'Georgia', Georgia, serif;
font-size: 130px;
line-height: 0.8;
left:50%;
top:50%;
transform: translateY(-50%) translateX(-50%);
}
}
/*Spin or something*/
 
@keyframes cc-3DSpin {
/* Optional text styling for modular plain text */
from {
.cc-text {
transform: rotate(0deg);
    margin: 0;
}
    font-family: 'Georgia', serif;
to {
    font-size: 3em;
transform: rotate(360deg);
    line-height: 1;
}
    font-weight: bold;
}
}

Revision as of 20:14, 13 April 2026

/* Template:3DCube/style.css
   cc: shorthand term for "CSS Cube", modular and transparent */

.cc-scene {
    margin: 25px auto;
}

.cc-cube {
    width: 100%;
    height: 100%;
    position: relative;
}

.cc-center {
    animation: cc-3DSpin 10s linear infinite;
    width: 100%;
    height: 100%;
}

.cc-side {
    position: absolute;
    width: 100%;
    height: 100%;
    
    /* This makes the cube hollow/see-through */
    background-color: transparent; 
    
    /* A subtle outline to see the edges. Can be removed if you want pure invisible walls */
    outline: 1px solid rgba(200, 200, 200, 0.5); 
    
    /* Flexbox guarantees ANY content (text, image, div) centers perfectly */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Spin animation */
@keyframes cc-3DSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Optional text styling for modular plain text */
.cc-text {
    margin: 0;
    font-family: 'Georgia', serif;
    font-size: 3em;
    line-height: 1;
    font-weight: bold;
}