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
education.scss 4.03 KiB
Newer Older
peter_rabbit's avatar
peter_rabbit committed
#education-page {
    h1 {
        margin: 15px 40px 0;
        font-size: 25px;
    }
    .edu-philo {
        margin: 15px 40px 15px 100px;
        max-width: 800px;
        font-style: italic;
    }
    .title-banner {
        display: flex;
        justify-content: flex-end;
        flex-direction: column;
        height: 300px;
        background-image: url("../assets/images/glitch_meta_level3.png");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 0% 90%;
        h2 {
            color: white;
            font-size: 2.5em;
            margin: 40px;
            text-shadow: 0 0 8px #000;
        }
    }
    .section-contents {
        margin: 20px 40px 60px;
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 20px;
        height: auto;
        .full-row {
            grid-column: 1 / span 2;
        }
        .practical-infos {
            grid-column: 2;
            grid-row: 2;
            display: flex;
            flex-direction: column;
            gap: 40px;
            background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
                url("../assets/images/wallpaper_binary_light.png");
            padding: 20px;
            .info-item {
                display: flex;
                flex-direction: column;
                background-color: white;
                padding: 20px;
                strong {
                    margin-bottom: 10px;
                }
                span,
                a {
                    font-size: 14px;
                    text-decoration: none;
                }
            }
        }
        ul.learning-themes {
            grid-column: 1;
            grid-row: 2;
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            li.learning-theme {
                display: grid;
                grid-template-columns: auto 280px;
                border-bottom: 1px solid #dde;
                border-right: 1px solid #dde;
                .img-wrapper {
                    grid-column: 1;
                    width: 130px;
                    overflow: hidden;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    position: relative;
                    img {
                        position: absolute;
                        max-height: 100%;
                        min-width: 100%;
                    }
                }
                .right {
                    grid-column: 2;
                    padding: 0 10px 10px;
                    strong {
                        display: block;
                        margin-bottom: 10px;
                    }
                    .comment {
                        font-size: 14px;
                    }
                    ul {
                        font-size: 12px;
                        list-style-type: disc;
                        margin: 10px 0 0 20px;
                        display: flex;
                        flex-direction: column;
                        gap: 8px;
                    }
                }
            }
        }

        .infos-inscriptions {
            display: flex;
            gap: 40px;
peter_rabbit's avatar
peter_rabbit committed
            background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
                url("../assets/images/wallpaper_binary_light.png");
            padding: 20px;
peter_rabbit's avatar
peter_rabbit committed
            .groups,
            .pricing {
peter_rabbit's avatar
peter_rabbit committed
                background-color: white;
peter_rabbit's avatar
peter_rabbit committed
                padding: 20px;
                display: flex;
                flex-direction: column;
                h3 {
peter_rabbit's avatar
peter_rabbit committed
                    margin: 0;
peter_rabbit's avatar
peter_rabbit committed
                }
                .table-wrapper {
                    table {
                        border: 1px solid #dde;
                        border-collapse: collapse;
                        td {
                            border: 1px solid #dde;
                            padding: 10px 20px;
                        }
                    }
                }
            }
        }
    }
}