MediaWiki:Common.css: Difference between revisions

From Boktai Hacking Wiki
(Created page with ".infobox-title { text-align: center; flex: 1; padding: 0.5rem 0; } .infobox-table th { padding-right: 1rem; } .infobox-table { margin: 0.5rem; } →‎Project boxes (Template:Project): .projectbox { border: 5px solid var(--infobox-color); border-radius: 5px; max-width: 32rem; margin: 0 auto; } @media screen and (min-width: 720px) { .projectbox { max-width: none; margin: 0; } } .projectbox .infobox-header {...")
 
No edit summary
Line 17: Line 17:
     border: 5px solid var(--infobox-color);
     border: 5px solid var(--infobox-color);
     border-radius: 5px;
     border-radius: 5px;
    max-width: 32rem;
    margin: 0 auto;
}
}


@media screen and (min-width: 720px) {
@media screen and (min-width: 720px) {
     .projectbox {
     .projectbox {
         max-width: none;
         max-width: 32rem;
         margin: 0;
         margin: 0 auto;
     }
     }
}
}

Revision as of 20:15, 11 August 2024

.infobox-title {
    text-align: center;
    flex: 1;
    padding: 0.5rem 0;
}

.infobox-table th {
    padding-right: 1rem;
}

.infobox-table {
    margin: 0.5rem;
}

/* Project boxes (Template:Project) */
.projectbox {
    border: 5px solid var(--infobox-color);
    border-radius: 5px;
}

@media screen and (min-width: 720px) {
    .projectbox {
        max-width: 32rem;
        margin: 0 auto;
    }
}

.projectbox .infobox-header {
    background: var(--infobox-color);
    color: white;
    font-weight: bold;
    display: flex;
}

.projectbox-Tool {
    --infobox-color: forestgreen;
}

.projectbox-Tool {
    --infobox-color: darkslateblue;
}