CURRENT MISSION: Update, uncensor and (if needed) rewrite all the imported pages from SNCApedia.
Additionally, please tag all unnecessary discussion pages with the {{Delete}} template, for example those with outdated info.
For the love of god, please only mark your articles with {{WIP}} if you actually intend to finish them. Just look at how many there are in the WIP category.


Tether is currently on a break until the 16th of July. Please contact me for any and all things regarding SECApedia. Soyoyuki (talk) 01:36, 26 June 2026 (UTC)
You may still submit your janitor/approver application, but you wont get anywhere if you arent already autoconfirmed.


The community rules have been slightly updated, with the mention of "No-Link" sites.This is also mentioned & explained in rule 9.2
soygem.party and jarty.party have been moved out of the Gray Area and into the Friendly Zone.


The file size upload limit has FINALLY been increased to 8 megabytes. Sorry saars.

Template:TemplateBase/Country/styles.css: Difference between revisions

From SECApedia
Jump to navigationJump to search
imported>SomebodyRum
No edit summary
imported>Swinbooru
m Undo revision 44548 by Swinbooru (talk)
 
(19 intermediate revisions by 2 users not shown)
Line 13: Line 13:
     overflow: hidden;
     overflow: hidden;
     max-width: 700px;
     max-width: 700px;
     min-height: 75px; /* Changed from height to min-height */
     min-height: 75px;
     padding: 10px 0;   /* Gives breathing room when the box expands */
     padding: 10px 0;
     margin: 10px auto;
     margin: 10px auto;
     border-radius: 5px;
     border-radius: 5px;
Line 24: Line 24:
.tb-country-container p { display: contents; }
.tb-country-container p { display: contents; }


/* The new audio wrapper */
.tb-country-audio {
.tb-country-audio {
     margin-top: 8px;
     margin-top: 8px;
Line 38: Line 37:
     top: 50%;
     top: 50%;
     left: 50%;
     left: 50%;
    /* Translate to center perfectly */
     transform: translate(-50%, -50%);
     transform: translate(-50%, -50%);
     z-index: 1; /* Keep below text */
     z-index: 1;
     opacity: 0.25;
     opacity: 0.25;  
}
}


/* Example custom class: add class="tb-spin" to make the bg_icon rotate */
@keyframes tb-spin-anim {
@keyframes tb-spin-anim {
     from { transform: translate(-50%, -50%) rotate(0deg); }
     from { transform: translate(-50%, -50%) rotate(0deg); }
Line 50: Line 47:
}
}
.tb-country-container.tb-spin .tb-country-bg-icon {
.tb-country-container.tb-spin .tb-country-bg-icon {
     animation: tb-spin-anim 15s linear infinite;
     animation: tb-spin-anim 20s linear infinite;
}
 
@keyframes tb-pulse-anim {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}
.tb-country-container.tb-pulse .tb-country-bg-icon {
    animation: tb-pulse-anim 4s ease-in-out infinite;
}
}


Line 70: Line 75:
.tb-country-content {
.tb-country-content {
     position: relative;
     position: relative;
     z-index: 3; /* Keep above background icon */
     z-index: 3;
     color: #ffffff;
     color: #ffffff;
    /* Strong text outline/shadow so it is readable on ANY flag color */
     text-shadow:  
     text-shadow:  
        -1px -1px 0 #000, 1px -1px 0 #000,
        -1px 1px 0 #000, 1px 1px 0 #000,
         1px 1px 2px rgba(0, 0, 0, 0.9),
         1px 1px 2px rgba(0, 0, 0, 0.9),
         0px 0px 4px rgba(0, 0, 0, 0.8);
         0px 0px 4px rgba(0, 0, 0, 0.8);
    /* Prevent text from overlapping side images */
     padding: 0 90px;  
     padding: 0 90px;  
}
}


.tb-country-title {
.tb-country-title {
     font-size: 1.6em;
     font-size: 1.4em;
     font-weight: bold;
     font-weight: bold;
     line-height: 1.1;
     line-height: 1;
}
}


.tb-country-text {
.tb-country-text {
     font-size: 0.9em;
     font-size: 0.95em;
     line-height: 1.2;
     line-height: 1.2;
     margin-top: 4px;
     margin-top: 4px;
}
}
/* --- 3-COLOR HORIZONTAL LAYOUT (GRID) --- */
.tb-country-container.tb-preset-h.tb-3colors {
    padding: 0;
    align-items: stretch;
    min-height: 110px;
}
.tb-preset-h.tb-3colors .tb-country-content {
    display: grid;
    width: 100%;
    grid-template-columns: 100%;
    grid-template-rows: 1fr 1fr 1fr; /* Strict 33% slices */
}
.tb-preset-h.tb-3colors .tb-country-title,
.tb-preset-h.tb-3colors .tb-country-text,
.tb-preset-h.tb-3colors .tb-country-audio {
    align-self: center;
    justify-self: center;
    margin: 0;
}
.tb-preset-h.tb-3colors .tb-country-title { grid-row: 1; }
.tb-preset-h.tb-3colors .tb-country-text  { grid-row: 2; }
.tb-preset-h.tb-3colors .tb-country-audio { grid-row: 3; }

Latest revision as of 15:56, 29 May 2026

/*
==================================================
TemplateBase/Country/styles.css
Layout and styling for the country base template
==================================================
*/

.tb-country-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    max-width: 700px;
    min-height: 75px;
    padding: 10px 0;
    margin: 10px auto;
    border-radius: 5px;
    box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.35);
    text-align: center;
}

/* Neutralize MediaWiki parser artifacts */
.tb-country-container p { display: contents; }

.tb-country-audio {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;
}

/* --- BACKGROUND ICON & ANIMATIONS --- */
.tb-country-bg-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.25; 
}

@keyframes tb-spin-anim {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
.tb-country-container.tb-spin .tb-country-bg-icon {
    animation: tb-spin-anim 20s linear infinite;
}

@keyframes tb-pulse-anim {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}
.tb-country-container.tb-pulse .tb-country-bg-icon {
    animation: tb-pulse-anim 4s ease-in-out infinite;
}

/* --- SIDE IMAGES --- */
.tb-country-side-img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}
.tb-country-img-left {
    left: 15px;
}
.tb-country-img-right {
    right: 15px;
}

/* --- TEXT CONTENT --- */
.tb-country-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    text-shadow: 
        -1px -1px 0 #000, 1px -1px 0 #000, 
        -1px 1px 0 #000, 1px 1px 0 #000,
        1px 1px 2px rgba(0, 0, 0, 0.9),
        0px 0px 4px rgba(0, 0, 0, 0.8);
    padding: 0 90px; 
}

.tb-country-title {
    font-size: 1.4em;
    font-weight: bold;
    line-height: 1;
}

.tb-country-text {
    font-size: 0.95em;
    line-height: 1.2;
    margin-top: 4px;
}

/* --- 3-COLOR HORIZONTAL LAYOUT (GRID) --- */
.tb-country-container.tb-preset-h.tb-3colors {
    padding: 0;
    align-items: stretch;
    min-height: 110px;
}

.tb-preset-h.tb-3colors .tb-country-content {
    display: grid;
    width: 100%;
    grid-template-columns: 100%;
    grid-template-rows: 1fr 1fr 1fr; /* Strict 33% slices */
}

.tb-preset-h.tb-3colors .tb-country-title,
.tb-preset-h.tb-3colors .tb-country-text,
.tb-preset-h.tb-3colors .tb-country-audio {
    align-self: center;
    justify-self: center;
    margin: 0;
}
.tb-preset-h.tb-3colors .tb-country-title { grid-row: 1; }
.tb-preset-h.tb-3colors .tb-country-text  { grid-row: 2; }
.tb-preset-h.tb-3colors .tb-country-audio { grid-row: 3; }