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 10.3 KiB
Newer Older
  • Learn to ignore specific revisions
  • 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;
    
            &.game-banner {
    
                background-image: url("/assets/images/game_studio_banner.png");
    
            }
            &.popu-banner {
    
                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;
                }
            }
        }
    
    peter_rabbit's avatar
    peter_rabbit committed
        .section-contents {
    
            padding: 20px 40px 60px;
    
    peter_rabbit's avatar
    peter_rabbit committed
            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;
    
    peter_rabbit's avatar
    peter_rabbit committed
                background-image: url("/assets/images/wallpaper_binary_light.png");
    
    peter_rabbit's avatar
    peter_rabbit committed
                padding: 30px;
    
    peter_rabbit's avatar
    peter_rabbit committed
                .info-item {
                    display: flex;
                    flex-direction: column;
                    background-color: white;
                    padding: 20px;
                    strong {
                        margin-bottom: 10px;
    
    peter_rabbit's avatar
    peter_rabbit committed
                        white-space: nowrap;
    
                        color: $medium_grey;
    
    peter_rabbit's avatar
    peter_rabbit committed
                    }
                    span,
                    a {
                        font-size: 14px;
                    }
                }
            }
    
    peter_rabbit's avatar
    peter_rabbit committed
            .list-wrapper {
    
    peter_rabbit's avatar
    peter_rabbit committed
                grid-column: 1;
                grid-row: 2;
    
    peter_rabbit's avatar
    peter_rabbit committed
                ul.learning-themes {
    
    peter_rabbit's avatar
    peter_rabbit committed
                    gap: 20px 30px;
                    flex-wrap: wrap;
                    li.learning-theme {
                        position: relative;
    
    peter_rabbit's avatar
    peter_rabbit committed
                        border: solid $light_0;
    
    peter_rabbit's avatar
    peter_rabbit committed
                        border-width: 0 2px 2px 0;
    
    peter_rabbit's avatar
    peter_rabbit committed
                        display: flex;
    
                        flex-direction: column;
    
    peter_rabbit's avatar
    peter_rabbit committed
                        .title {
    
    peter_rabbit's avatar
    peter_rabbit committed
                            color: $medium_grey;
    
    peter_rabbit's avatar
    peter_rabbit committed
                            display: block;
                            position: absolute;
    
    peter_rabbit's avatar
    peter_rabbit committed
                            background-color: #fffa;
    
                            padding: 3px 10px;
    
    peter_rabbit's avatar
    peter_rabbit committed
                            width: 100%;
    
    peter_rabbit's avatar
    peter_rabbit committed
                        img {
                            width: 100%;
                            height: auto;
                            image-rendering: pixelated;
                            image-rendering: -moz-crisp-edges;
                            image-rendering: crisp-edges;
    
    peter_rabbit's avatar
    peter_rabbit committed
                            background-color: #fffe;
                            position: absolute;
                            top: 25px;
                            left: 25px;
                            width: 300px;
                            height: auto;
                            max-height: 0;
                            visibility: hidden;
                            z-index: 1;
                            transition: max-height 0.6s;
                            padding: 20px;
                            border: solid $light_0;
                            border-width: 0 1px 1px 0;
                            overflow: hidden;
                            display: flex;
                            flex-direction: column;
                            gap: 10px;
                            .comment {
                                font-style: italic;
                                * {
                                    color: $medium_grey;
                                }
                            }
                            ul {
                                list-style-type: disc;
                                font-size: 14px;
                                margin-left: 10px;
                                li {
                                    color: $medium_grey;
                                }
                            }
                        }
                        &:hover {
                            .details {
                                max-height: 1000px;
                                visibility: visible;
                            }
    
    peter_rabbit's avatar
    peter_rabbit committed
                        }
                    }
                }
            }
    
            .infos-inscriptions {
                display: flex;
                gap: 40px;
    
    peter_rabbit's avatar
    peter_rabbit committed
                background-image: url("/assets/images/wallpaper_binary_light.png");
    
    peter_rabbit's avatar
    peter_rabbit committed
                padding: 30px;
    
    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;
    
                        color: $light_1;
    
    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;
                            }
                        }
                    }
    
    peter_rabbit's avatar
    peter_rabbit committed
                    .documents {
                        margin-top: 20px;
                        .links {
                        display: flex;
                        gap: 20px;
                            .download-link {
                                border: 1px solid;
                                padding: 8px;
                                display: flex;
                                margin: 10px 0 0;
                                border-radius: 4px;
                            }
                        }
                    }
    
                }
            }
    
            .teacher {
                grid-column: 1 / span 2;
    
                background: url("/assets/images/wallpaper_binary_light.png");
    
    peter_rabbit's avatar
    peter_rabbit committed
                padding: 30px;
                @include flex-center-col;
                .teacher-card {
    
                    background-color: white;
    
    peter_rabbit's avatar
    peter_rabbit committed
                    display: grid;
                    grid-template-columns: auto 1fr;
                    width: 100%;
    
                    gap: 20px;
                    padding: 20px;
                    h3 {
                        margin: 0;
                        width: 100%;
                        color: $light_1;
                        grid-column: 1 / span 2;
                    }
    
    peter_rabbit's avatar
    peter_rabbit committed
                    .pic {
                        img {
                            width: 100px;
                        }
                    }
                    .infos-text {
                        padding: 0 20px;
                        h4 {
    
                            color: $blue_2;
    
    peter_rabbit's avatar
    peter_rabbit committed
                            margin: 0;
                            font-size: 18px;
                        }
                        p {
                            color: $light_1;
                            display: block;
                        }
    
        @media screen and (max-width: $screen_l) {
            .section-contents {
    
    peter_rabbit's avatar
    peter_rabbit committed
                .list-wrapper {
                    ul.learning-themes {
                        display: block;
                        li.learning-theme {
    
    peter_rabbit's avatar
    peter_rabbit committed
                            margin-bottom: 20px;
                            .details {
                                background-color: #fff9;
                                position: relative;
                                top: unset;
                                width: 100%;
                                left: unset;
                                max-height: unset;
                                visibility: visible;
                                padding: 10px;
                                box-shadow: none;
                                ul {
                                    list-style-type: disc;
                                    font-size: 14px;
                                    margin-left: 10px;
    
    peter_rabbit's avatar
    peter_rabbit committed
    
                .infos-inscriptions {
                    flex-direction: column;
                }
    
    peter_rabbit's avatar
    peter_rabbit committed
        @media screen and (max-width: $screen_m) {
    
            h3 {
                &.big {
                    font-size: 22px;
                }
            }
            .title-banner {
                height: 170px;
                min-height: unset;
                h2 {
                    font-size: 2em;
                    margin: 20px;
                    text-shadow: 0 0 4px #000b;
                }
            }
            .section-contents {
    
    peter_rabbit's avatar
    peter_rabbit committed
                padding: 20px 20px 40px;
                grid-template-columns: 100%;
    
                .full-row {
                    grid-column: 1;
                }
                .practical-infos {
                    grid-column: 1;
                    grid-row: 3;
                    gap: 10px;
                    padding: 10px;
                }
    
    peter_rabbit's avatar
    peter_rabbit committed
                .list-wrapper {
                    ul.learning-themes {
                        grid-column: 1;
                        grid-row: 2;
                        display: block;
                        li.learning-theme {
                            margin-bottom: 20px;
                            .details {
                                background-color: #fff9;
                                position: relative;
                                top: unset;
                                width: 100%;
                                left: unset;
                                max-height: unset;
                                visibility: visible;
                                padding: 10px;
                                box-shadow: none;
    
                            }
                        }
                    }
                }
    
                .infos-inscriptions {
                    gap: 10px;
                    padding: 10px;
                    .groups,
                    .pricing {
                        background-color: white;
                        padding: 20px;
                        display: flex;
                        flex-direction: column;
                        .table-wrapper {
                            table {
                                width: 100%;
                                td {
                                    border: 1px solid #dde;
                                    padding: 10px;
                                }
                            }
                        }
                    }
                }
    
    peter_rabbit's avatar
    peter_rabbit committed
                .teacher {
                    grid-column: 1;
                    padding: 20px;
                }