Χρήστης:Geraki/Banner/style.css

Από τη Βικιπαίδεια, την ελεύθερη εγκυκλοπαίδεια
.topbanner {
    position: relative;
    overflow: hidden;
    max-width: 1800px; 
    height: auto;
}
 
.topbanner img {
    max-width: 100%;
    height: auto;
    width: auto;
}
 
.topbanner-box {
    position: absolute;
    z-index: 2;
    margin-top: 1.5em;
    color: white;
    width: 50%;
    min-width: 20em;
    left: 2%;
    text-align: left;
}
 
.topbanner .name {
    position: absolute; 
    z-index: 2; 
    margin: 0.6em 0 0 0.4em; 
    padding: 8px 7px; 
    font-size: 2.2em; 
    background: rgb(16,16,16); 
    background: rgba(0,0,0,0.5); 
    border-radius: 4px; 
    color: white;
    white-space: nowrap;
    line-height: 0.9em;
}