Template:Infobox church/styles.css: Difference between revisions

From ReformedWiki.org, the wiki for Reformed Christianity
mNo edit summary
mNo edit summary
Line 18: Line 18:
     text-align: left;
     text-align: left;
     vertical-align: top;
     vertical-align: top;
     width: 160px;
     width: 175px;
     font-size: 1em
     font-size: 1em
}
}
Line 24: Line 24:
     vertical-align: top;
     vertical-align: top;
     font-size: 1em;
     font-size: 1em;
    width: 100%;
    table-layout: fixed;
    word-wrap: break-word; /* Ensures long words wrap */
    overflow-wrap: break-word; /* Modern alternative */
    white-space: normal; /* Allows wrapping */
}
}

Revision as of 01:12, 26 February 2025

.infobox_church {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 400px;
}
.infobox-title {
    font-size: 1em;
    font-weight: bold;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox-table th {
    text-align: left;
    vertical-align: top;
    width: 175px;
    font-size: 1em
}
.infobox-table td {
    vertical-align: top;
    font-size: 1em;
}