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.91 KiB
Newer Older
peter_rabbit's avatar
peter_rabbit committed
#education-page {
    h3 {
        &.big {
            font-size: 30px;
        }
    }
peter_rabbit's avatar
peter_rabbit committed
    .title-banner {
        display: flex;
        justify-content: flex-end;
        flex-direction: column;
        height: 20vw;
        min-height: 250px;
        background-image: url("/assets/images/popularization_banner.png");
peter_rabbit's avatar
peter_rabbit committed
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
peter_rabbit's avatar
peter_rabbit committed
        h2 {
            color: white;
            font-size: 2.5em;
            margin: 40px;
            text-shadow: 0 0 6px #0003;
    .special-announcement {
        background-color: $yellow_2;
        .page-contents-center {
            padding: 0 20px;
            @include flex-center;
            height: 100px;
            p {
                color: $dark_3;
                font-size: 20px;
                font-weight: 600;
                margin: 0;
            }
        }
    }

    .edu-themes {
peter_rabbit's avatar
peter_rabbit committed
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        font-family: monospace;
        padding: 70px 0;
        .edu-theme {
            display: grid;
            grid-template-columns: auto 1fr;
            * {
                border-style: dashed;
                border-color: $green;
                border-width: 0 0 0 0;
            }
            h3 {
                color: $green;
                grid-row: 1;
                margin: 0;
                padding: 0 10px;
                display: flex;
                align-items: center;
                border-width: 0 0 0 1px;
            img {
                width: 100%;
                grid-row: 1 / span 2;
                border-width: 1px 0 1px 1px;
            }
            p {
                text-align: justify;
                color: $blue_3;
                * {
                    color: $blue_3;
                }
                grid-row: 2;
                margin: 0;
                padding: 10px 30px 0 10px;
                border-width: 1px 1px 1px 0;
peter_rabbit's avatar
peter_rabbit committed

    .practical-info {
        padding: 50px 0;
        .page-contents-center {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            .info-block {
                display: grid;
                grid-template-rows: auto 1fr;
                .info-title {
                    color: $blue_2;
                    margin: 0;
                    border-bottom: 1px dashed $light_2;
                    border-left: 1px dashed $light_2;
                    padding: 10px;
                }
                .info-body {
                    margin: 0;
                    padding: 20px 10px;
                    border-right: 1px dashed $light_2;
                    border-bottom: 1px dashed $light_2;
                }
                ul {
                    display: flex;
                    flex-direction: column;
                    gap: 5px;
                    li:not(.fullwidth) {
                        display: grid;
                        grid-template-columns: 1fr 1fr;
                        gap: 10px;
                    }
                    &.tabled {
                        li {
                            span {
                                padding: 3px 0;
                                &:first-child {
                                    font-weight: bold;
                                    color: $medium_grey;
                                }
                                &:last-child {
                                    color: $blue_2;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    @media screen and (max-width: 1200px) {
        .edu-themes {
            grid-template-columns: 1fr;
            gap: 30px;
            padding: 70px 0;
        }
    }
    @media screen and (max-width: $screen_m) {
        .practical-info {
            .page-contents-center {
                grid-template-columns: 1fr;
                gap: 30px;
                .info-block {
                    .info-title {
                        border-top: 1px dashed $light_2;
                    }
                    .info-body {
                        border-bottom: none;
                    }
                }
            }
        }
    }
    @media screen and (max-width: $screen_s) {
        .edu-themes {
            .edu-theme {
                h3 {
                    border-width: 0 0 1px 1px;
                }
                img {
                    max-width: 150px;
                    height: auto;
                    grid-row: 1;
                    border-width: 1px 0 0 1px;
                }
                p {
                    grid-row: 2;
                    grid-column: 1 / span 2;
                    padding: 20px 10px 30px 10px;
                    border-width: 0 1px 1px 1px;
                }
            }
        }
    }