yoohoo! hot sauce please
10:27, 7 September 2026 (UTC)
Template:TemplateBase/Country/styles.css
From 2swagg wiki
Jump to navigationJump to search
.tb-country-container {
display: flex;
justify-content: center;
align-items: center;
position: relative;
overflow: hidden;
max-width: 700px;
min-height: 75px;
padding: 4px 0;
margin: 1em auto;
border-radius: 8px;
box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 0.2);
text-align: center;
}
.tb-country-container p {
display: contents;
}
.tb-country-audio {
margin-top: 4px;
display: flex;
justify-content: center;
position: relative;
z-index: 5;
text-shadow: none;
}
.tb-country-bg-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
}
@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;
}
.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; }
.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;
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;
}
.tb-country-container.tb-grid {
padding: 0;
align-items: stretch;
min-height: 110px;
}
.tb-country-container.tb-grid .tb-country-content {
display: grid;
width: 100%;
grid-template-columns: 100%;
grid-template-rows: 1fr 1fr 1fr;
}
.tb-country-container.tb-grid .tb-country-title,
.tb-country-container.tb-grid .tb-country-text,
.tb-country-container.tb-grid .tb-country-audio {
align-self: center;
justify-self: center;
margin: 0;
}
.tb-country-container.tb-grid .tb-country-title { grid-row: 1; }
.tb-country-container.tb-grid .tb-country-text { grid-row: 2; }
.tb-country-container.tb-grid .tb-country-audio { grid-row: 3; }