Saltar para o conteúdo

Predefinição:Lamiw/style.css

Fonte: Wikiversidade
.header_image {
    padding: 2em;
    background-color: #389f1c;
    text-align: center;
}

.header_image img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;  
}

.header_menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: center;
    padding: 0.1em 0;
    font-family: "sans serif";
}

.header_menu a:not(.selflink) {
    background-color: #FFFFFF;
    flex: 1;
    padding: 0.1em;
    transition: all 500ms ease;
    border-bottom: 0.5px solid #FFFFFF;
    text-decoration: none;
    font-size: 1.15em;
    font-weight: bold;
    color: #000000;
}

.header_menu a.selflink {
    background-color: #FFFFFF;
    flex: 1;
    padding: 0.1em;
    border-bottom: 0.5px solid #e52312;
    text-decoration: none;
    font-size: 1.15em;
    font-weight: bold;
    color: #e52312;
}

.header_menu a:hover:not(.selflink) {
    background-color: #FFFFFF;
    border-bottom: 0.5px solid #e52312;
    text-decoration: none;
    color: #e52312;
}

.sub_header_menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: center;
    padding: 0.1em 0;
    font-family: "sans serif";
}

.sub_header_menu a:not(.selflink) {
    background-color: #FFFFFF;
    flex: 1;
    padding: 0.1em;
    transition: all 500ms ease;
    border-bottom: 0.5px solid #FFFFFF;
    text-decoration: none;
    font-size: 1.15em;
    font-weight: bold;
    color: #000000;
}

.sub_header_menu a.selflink {
    background-color: #0F509C;
    flex: 1;
    padding: 0.1em;
    border-bottom: 0.5px solid #0F509C;
    text-decoration: none;
    font-size: 1.15em;
    font-weight: bold;
    color: #000000;
}

.sub_header_menu a:hover:not(.selflink) {
    background-color: #FFFFFF;
    border-bottom: 0.5px solid #0F509C;
    text-decoration: none;
    color: #000000;
}

@media screen and (max-width: 600px) {
    .header_menu, .sub_header_menu {
        flex-direction: column;  
        align-items: center;  
    }

    .header_menu a, .sub_header_menu a {
        padding: 0.5em !important;
        flex: none;  
        width: 100%;  
    }

    .relato {
        gap: 0 !important;
        flex-direction: column !important;
    }
}