Template:Jumbotron/styles.css: Difference between revisions

Meryam Sahin (talk | contribs)
Created page with "→jumbotron: .jumbotron, .jumbotron.primary { background-size: cover; background-position: top; padding: 1em; color: white; position: relative; text-align: center; border-radius: 6px; margin-bottom: 1.5em; width: 100%; min-height: 180px; } .jumbotron .lead { position: absolute; border-radius: 0 0 6px 6px; padding: 0.2em; font-size: 1.2em; color: white; font-weight: bold; width: 100%; left: 0; b..."
 
Meryam Sahin (talk | contribs)
No edit summary
Line 9: Line 9:
     text-align: center;
     text-align: center;
     border-radius: 6px;
     border-radius: 6px;
     margin-bottom: 1.5em;
     margin-bottom: 1em;
     width: 100%;
     width: 100%;
     min-height: 180px;
     min-height: 180px;
Line 18: Line 18:
     border-radius: 0 0 6px 6px;
     border-radius: 0 0 6px 6px;
     padding: 0.2em;
     padding: 0.2em;
     font-size: 1.2em;
     font-size: 1.5em;
     color: white;
     color: white;
     font-weight: bold;
     font-weight: bold;

Revision as of 13:10, 18 August 2026

/*jumbotron*/
.jumbotron,
.jumbotron.primary {
    background-size: cover;
    background-position: top;
    padding: 1em;
    color: white;
    position: relative;
    text-align: center;
    border-radius: 6px;
    margin-bottom: 1em;
    width: 100%;
    min-height: 180px;
}

.jumbotron .lead {
    position: absolute;
    border-radius: 0 0 6px 6px;
    padding: 0.2em;
    font-size: 1.5em;
    color: white;
    font-weight: bold;
    width: 100%;
    left: 0;
    bottom: 0
}


.jumbotron h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    color: white;
    font-weight: bold
}

/*Secondary jumbotrons - smaller for wiki interior landing pages*/
.jumbotron.secondary {
    padding: 0 0 0.1em 0;
    min-height: 110px;
}

.jumbotron.secondary h1 {
    display: inline-block;
    padding: 0 1em;
    margin: 0.7em;
    font-size: 1.6em;
    background: #00000090;
    border-radius: 6px;
    min-height: 1em
}

.jumbotron.secondary .lead {
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0!important;
    border-radius: 0 0 6px 6px;
    background: #00000090;
    font-weight: normal
}