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 6.37 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 {
            background-color: #fff1;
            ul {
                display: flex;
                padding: 0;
                margin: 0;
                list-style-type: none;
                li {
                    a {
                        display: flex;
                        padding: 10px 20px;
                        color: #b8b9c5;
                        font-weight: 500;
                        text-decoration: none;
                    }
                    &:hover,
                    &.active {
                        background-color: #fff2;
                        a {
                            color: white;
                        }
                    }
                }
            }
        }
    }
    #page-container {
        background-color: white;
        width: 1200px;
        max-width: 100%;
        flex: 1;
        #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;
                .teaser {
                    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;
                                height: 100%;
                            }
                        }
                        .right {
                            grid-column: 2;
                            padding: 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 {
                    grid-column: 1 / span 2;
                    display: flex;
                    gap: 40px;
                    .groups,
                    .pricing {
                        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;
                        display: flex;
                        flex-direction: column;
                        & > * {
                            background-color: white;
                            margin: 0;
                            width: 100%;
                        }
                        h3, table {
                            padding: 20px;
                        }
                        p {
                            padding: 0 20px;
                        }
                    }
                    .pricing {
                        flex: 1;
                    }
                }
            }
        }
    }
    footer {
        width: 100%;
    }
peter_rabbit's avatar
peter_rabbit committed
}