Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox/styles.css: Difference between revisions

Template page
Content added Content deleted
No edit summary
No edit summary
Line 39: Line 39:


.infobox__content {
.infobox__content {
padding: 16px;
padding-left: 16px;
}
}



Revision as of 06:23, 17 May 2024

.infobox {
    width: 100%;
    max-width: 400px;
    background: var(--color-surface-2);
    border-radius: var(--border-radius--medium);
    font-family: Arial, sans-serif;
    line-height: 1.375;
    color: #ffffff;
    margin-bottom: 16px;
    padding-bottom: 20px !important;
}

.infobox__header {
    padding: 16px;
    background-color: #273647;
    border-bottom: 1px solid #2a3b47;
    text-align: center;
}

.infobox__title {
    padding-top: 0 !important;
    border: 0 !important;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 1.4rem !important;
    line-height: 1.4;
}

.infobox__subtitle {
    font-size: 14px;
    color: #b0bec5;
}

.infobox__image img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #2a3b47;
}

.infobox__content {
    padding-left: 16px;
}

.infobox__section {
    margin-bottom: 16px;
}

.infobox__label {
    font-weight: bold;
    margin-bottom: 8px;
    color: #d4e4f2;
}

.infobox__data {
    margin-bottom: 8px;
}

.infobox__link a {
    color: #64b5f6;
    text-decoration: none;
}

.infobox__link a:hover {
    text-decoration: underline;
}

.infobox__grid--cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.infobox__grid--cols-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.infobox__section--tabber {
    border-top: 1px solid #2a3b47;
    padding-top: 16px;
}

.infobox__sectionTitle {
    font-size: 16px;
    font-weight: bold;
    color: #d4e4f2;
}

.infobox__section--metadata {
    background-color: #2a3b47;
    padding: 16px;
    border-radius: 8px;
}

.infobox__section--actions {
    background-color: #2a3b47;
    padding: 16px;
    border-radius: 8px;
}

.infobox__footer {
    background-color: #2a3b47;
    padding: 16px;
    border-radius: 8px;
}

.infobox__button {
    background-color: #3572a5;
    color: #ffffff;
    text-align: center;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
}

.infobox__button:hover {
    background-color: #285e84;
}

.infobox__buttonLabel {
    display: flex;
    align-items: center;
    gap: 8px;
}

.infobox__linkButton a {
    color: #64b5f6;
}

.infobox__linkButton a:hover {
    text-decoration: underline;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.