Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
style.scss 2.9 KiB
Newer Older
peter_rabbit's avatar
peter_rabbit committed
body {
peter_rabbit's avatar
peter_rabbit committed
    * {
        box-sizing: border-box;
    }
    font-family: Arial, Helvetica, sans-serif;
peter_rabbit's avatar
peter_rabbit committed
    margin: 0;
    ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }
peter_rabbit's avatar
peter_rabbit committed
}

main {
    background: url("../assets/images/wallpaper_binary.png");
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    header {
        width: 100%;
        nav {
peter_rabbit's avatar
peter_rabbit committed
            background-color: rgba(255, 255, 255, 0.1);
            ul {
                display: flex;
                padding: 0;
                margin: 0;
                list-style-type: none;
                li {
peter_rabbit's avatar
peter_rabbit committed
                    position: relative;
                    a {
                        display: flex;
peter_rabbit's avatar
peter_rabbit committed
                        align-items: center;
                        height: 100%;
                        padding: 10px 20px;
                        color: #b8b9c5;
                        font-weight: 500;
                        text-decoration: none;
peter_rabbit's avatar
peter_rabbit committed
                        img {
                            width: 40px;
                        }
peter_rabbit's avatar
peter_rabbit committed

                    .submenu {
                        visibility: hidden;
                        position: absolute;
                        height: auto;
                        max-height: 0;
peter_rabbit's avatar
peter_rabbit committed
                        transition: max-height 0.5s;
peter_rabbit's avatar
peter_rabbit committed
                        top: 100%;
                        left: 50%;
                        flex-direction: column;
peter_rabbit's avatar
peter_rabbit committed
                        background-image: linear-gradient(
                                rgba(255, 255, 255, 0.1),
                                rgba(255, 255, 255, 0.1)
                            ),
                            url("../assets/images/wallpaper_binary.png");
peter_rabbit's avatar
peter_rabbit committed
                        white-space: nowrap;
                    }
                    &:hover,
                    &.active {
                        background-color: #fff2;
                        a {
                            color: white;
                        }
                    }
peter_rabbit's avatar
peter_rabbit committed
                    &:hover {
                        .submenu {
                            visibility: unset;
                            max-height: 1000px;
peter_rabbit's avatar
peter_rabbit committed
                            a {
                                color: #b8b9c5;
                            }
                            li {
                                &:hover {
                                    a {
                                        color: white;
                                    }
                                }
                            }
peter_rabbit's avatar
peter_rabbit committed
                        }
                    }
                }
            }
        }
    }
    #page-container {
        background-color: white;
        width: 1200px;
        max-width: 100%;
        flex: 1;
peter_rabbit's avatar
peter_rabbit committed
        @import "./pages/education/education.scss";
    }
    footer {
        width: 100%;
peter_rabbit's avatar
peter_rabbit committed
        background-color: #fff1;
        padding: 20px;
peter_rabbit's avatar
peter_rabbit committed
}