Jump to content

⚠ Info: We are working on adding content to this platform.

✔ If you want to share your experience and be an active contributor to this Wiki platform, ✉ contact us

×

Template:Ai/infobox.css

From Idiosymbolia
Revision as of 17:52, 3 August 2025 by Dascent-wiki (talk | contribs)
/* Infobox Container */
.infobox {
    width: 300px;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%); /* Dark gradient background */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    color: #e2e8f0; /* Light text color */
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 1em; 
margin-right: 1em; 
margin-bottom: 1em; 
    float: right; /* Float to the right, common for infoboxes */
    clear: right; /* Clear any floats before it */
    font-size: 90%; /* Smaller font size for infobox content */
   /* line-height: 1.4; */
    box-sizing: border-box; /* Include padding/border in element's total width */
}

/* Header */
.infobox-header {
    background-color: #4a5568; /* Slightly lighter dark header */
    padding: 0.8em;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Logo Section */
.infobox-logo {
    padding: /*0.8em */ 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2d3748; /* Darker background for logo */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.infobox-logo img {
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: block;
}

/* Content Area */
.infobox-content {
    padding: 1em;
}

/* Individual Row in Content */
.infobox-row {
    display: flex; /* Use flexbox for layout */
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.6em;
}
.infobox-row:last-child {
    margin-bottom: 0; /* No margin for the last row */
}

/* Label for each row */
.infobox-label {
    font-weight: bold;
    color: #cbd5e0;
    flex-shrink: 0; /* Prevent shrinking */
    margin-right: 0.8em;
    white-space: nowrap; /* Keep label on one line */
}

/* Value for each row */
.infobox-value {
    text-align: right;
    color: #e2e8f0;
    word-break: break-word; /* Allow long words to break */
    flex-grow: 1; /* Allow value to take up remaining space */
}
.infobox-value a {
    color: #63b3ed; /* Link color */
    text-decoration: none;
}
.infobox-value a:hover {
    color: #90cdf4; /* Lighter link color on hover */
    text-decoration: underline;
}

/* Footer */
.infobox-footer {
    padding: 0.8em;
    text-align: center;
    font-size: 0.9em;
    color: #a0aec0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background-color: #2d3748;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    .infobox {
        width: 100%;
        float: none; /* Don't float on small screens */
        margin-left: auto;
        margin-right: auto;
    }
}
.artificial pre,.artificial .mw-code {
    padding: 0;
    white-space: pre-wrap;
    overflow-x: hidden;
    word-wrap: break-word;
}

.artificial pre, .artificial code, .artificial .mw-code {
    background-color:transparent;
    color: inherit;
    border: 0 solid var(--border-color-muted, #dadde3);
}
.artificial pre,.artificial code,.artificial tt,.artificial kbd,.artificial samp,.artificial .mw-code {
    font-family: monospace, monospace;
}
.artificial .isgeminilink a{color:#f1f1f1;text-decoration:none;}
.artificial .isgeminilink a:hover{color:yellow;text-decoration:none;}