Template:Jumbotron/styles.css: Difference between revisions

Meryam Sahin (talk | contribs)
No edit summary
Meryam Sahin (talk | contribs)
No edit summary
Line 4: Line 4:
     background-size: cover;
     background-size: cover;
     background-position: top;
     background-position: top;
     padding: 1em;
     padding:0 1em 1em;
     color: white;
     color: white;
     position: relative;
     position: relative;
Line 15: Line 15:


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


Line 31: Line 27:
     margin-bottom: 0.5em;
     margin-bottom: 0.5em;
     color: white;
     color: white;
     font-weight: bold
     font-weight: bold;
    line-height:1.4em;
}
}



Revision as of 07:53, 7 October 2026

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

.jumbotron .lead {
    font-size: 1.5em;
    padding:0;
    color: white;
    font-weight: bold;
    width: 100%;
}


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

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

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

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