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
software-development.scss 2.87 KiB
Newer Older
peter_rabbit's avatar
peter_rabbit committed
#software-page {
    .software-articles {
        article.software-article {
            display: grid;
peter_rabbit's avatar
peter_rabbit committed
            grid-template-columns: 1fr 1fr;
peter_rabbit's avatar
peter_rabbit committed
            margin: 30px 0;
peter_rabbit's avatar
peter_rabbit committed
            gap: 0 30px;
            background-color: $dark_2;
            & > * {
                color: $light_0;
            }
peter_rabbit's avatar
peter_rabbit committed
            .software-title {
                grid-column: 1 / span 2;
                background-color: $light_0;
                color: $medium_grey;
                margin: 0;
                padding: 20px;
            }
peter_rabbit's avatar
peter_rabbit committed
            .software-date {
                margin: 0 20px;
                color: $light_1;
                font-style: italic;
peter_rabbit's avatar
peter_rabbit committed
            }

            .software-subtitle {
                grid-column: 1;
peter_rabbit's avatar
peter_rabbit committed
                margin: 20px;
peter_rabbit's avatar
peter_rabbit committed
            }

            .software-description {
                grid-column: 1;
peter_rabbit's avatar
peter_rabbit committed
                text-align: justify;
                margin: 20px;
peter_rabbit's avatar
peter_rabbit committed
            }
            .image-carousel {
                grid-column: 2;
peter_rabbit's avatar
peter_rabbit committed
                grid-row: 2 / span 5;
                min-height: 400px;
peter_rabbit's avatar
peter_rabbit committed
            }
            .software-technical {
                grid-column: 1 / span 2;
                h2 {
peter_rabbit's avatar
peter_rabbit committed
                    background-color: $light_1;
                    color: $dark_2;
                    margin: 0;
                    padding: 10px 20px;
                    font-size: 20px;
                    font-style: italic;
peter_rabbit's avatar
peter_rabbit committed
                }
peter_rabbit's avatar
peter_rabbit committed
                ul.technical-details {
                    margin: 10px;
                    .detail {
                        display: grid;
                        grid-template-columns: 1fr auto;
                        &:not(:first-child) {
                            border-top: 1px solid $medium_grey;
                        }
                        padding: 10px 0;
                        label {
                            font-weight: bold;
                        }
                        ul {
                            display: flex;
                            flex-wrap: wrap;
                            gap: 10px;
                        }
                        *:not(a) {
peter_rabbit's avatar
peter_rabbit committed
                            color: $light_0;
peter_rabbit's avatar
peter_rabbit committed
            @media screen and (max-width: $page_contents_center_width) {
                margin: 30px 20px;
            }
            @media screen and (max-width: $screen_l) {
                grid-template-columns: 1fr;
                .software-title {
                    grid-column: 1;
                }
                .image-carousel {
                    grid-column: 1;
                    grid-row: 2;
                }
                .software-technical {
                    grid-column: 1;
                }
            }
peter_rabbit's avatar
peter_rabbit committed
        }
        article.placeholder {
            background-color: $light_0;
            height: 400px;
            margin: 30px;
        }
peter_rabbit's avatar
peter_rabbit committed
    }
}