yoohoo! hot sauce please
10:27, 7 September 2026 (UTC)
Template:Templatebase/styles.css
From 2swagg wiki
Jump to navigationJump to search
.template-templatebase {
display: grid;
grid-template-columns: auto 1fr auto;
grid-template-areas: "image1 text image2";
margin: 0.3rem auto;
padding: 0.3rem;
align-items: center;
text-align: center;
gap: 0.5rem;
word-break: break-word;
overflow: hidden;
}
.template-templatebase[data-hastwoimages="false"] {
grid-template-columns: auto 1fr;
grid-template-areas: "image1 text";
}
.template-templatebase,
.template-templatebase * {
box-sizing: border-box;
}
.template-templatebase .content {
display: flex;
flex-direction: column;
gap: 0.25rem;
grid-area: text;
}
.template-templatebase .line1 {
font-size: 140%;
line-height: 1.75rem;
}
.template-templatebase.page-issue {
border-width: 1px;
border-style: solid;
border-left-width: 0.6rem;
border-radius: 0.2rem;
}
.template-templatebase.page-issue.ok {
background: linear-gradient(#B6EFBA, white);
border-color: #88F78D;
border-left-color: #52d85b;
}
.template-templatebase.page-issue.info {
background: linear-gradient(#dce9fc, white);
border-color: #A0C6F7;
border-left-color: #5457e5;
}
.template-templatebase.page-issue.specialinfo {
background: linear-gradient(#FFD8FF, white);
border-color: #FFA5FF;
border-left-color: #800080;
}
.template-templatebase.page-issue.warning {
background: linear-gradient(#fcebdc, white);
border-color: #eed6d2;
border-left-color: #FF9D00;
}
.template-templatebase.page-issue.critical {
background: linear-gradient(#FF9999, #fff0f0 4rem);
border-color: #e23639;
}
.template-templatebase.page-issue.supercritical {
background: linear-gradient(#ff5757, #fff0f0 4rem);
border-color: #e23639;
}
@media screen and (max-width: 400px) {
.template-templatebase>span[typeof="mw:File"]:nth-of-type(2) {
/* Dirty fix: Having two images on extremely small screens like this makes text wrap in an illegible manner. */
display: none;
}
}