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 3.75 KiB
Newer Older
peter_rabbit's avatar
peter_rabbit committed
#software-page {
    .software-articles {
        margin: 20px auto 50px;
peter_rabbit's avatar
peter_rabbit committed
        article.software-article {
            display: grid;
            grid-template-columns: auto 1fr;
            margin: 0 0 50px;
            gap: 10px 30px;
peter_rabbit's avatar
peter_rabbit committed
            .software-title {
                grid-column: 2;
                color: $light_2;
peter_rabbit's avatar
peter_rabbit committed
                margin: 0;
                padding: 10px;
peter_rabbit's avatar
peter_rabbit committed
            }

            .software-subtitle {
                grid-column: 2;
                margin: 10px;
                color: $medium_grey;
peter_rabbit's avatar
peter_rabbit committed
            }

            .software-description {
                grid-column: 2;
peter_rabbit's avatar
peter_rabbit committed
                text-align: justify;
                margin: 10px;
peter_rabbit's avatar
peter_rabbit committed
            }

            .software-image {
                padding: 20px;
                background-color: black;
                grid-column: 1;
                grid-row: 1 / span 3;
                @include flex-center;
                width: 200px;
                height: 200px;
                overflow: hidden;
                border-radius: 100%;
                img {
                    max-width: 100%;
                    max-height: 400px;
                }
peter_rabbit's avatar
peter_rabbit committed
            }
peter_rabbit's avatar
peter_rabbit committed
            .software-technical {
                grid-column: 1 / span 2;
peter_rabbit's avatar
peter_rabbit committed
                h2 {
                    color: $medium_grey;
                    margin: 0 10px;
                    padding: 10px 0 0;
                    font-size: 16px;
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;
                        font-size: 12px;
                        border-bottom: 1px solid $light_0;

                        padding: 5px 0;
peter_rabbit's avatar
peter_rabbit committed
                        label {
                            font-weight: bold;
                            color: $medium_grey;
peter_rabbit's avatar
peter_rabbit committed
                        }
                        ul {
                            display: flex;
                            flex-wrap: wrap;
                            gap: 10px;
                        }
                    }
                }
                ul.releases {
                    margin: 10px;
                }
                .detail {
                    display: grid;
                    grid-template-columns: 1fr auto;
                    font-size: 12px;
                    border-bottom: 1px solid $light_0;

                    padding: 5px 0;
                    label {
                        font-weight: bold;
                        color: $medium_grey;
                    }
                    .label {
                        color: $light_2;
                    }
                    ul {
                        display: flex;
                        flex-wrap: wrap;
                        gap: 10px;
peter_rabbit's avatar
peter_rabbit committed
                    }
                }
            }
peter_rabbit's avatar
peter_rabbit committed
            @media screen and (max-width: $screen_l) {
                .software-title {
                    display: flex;
                    align-items: center;
peter_rabbit's avatar
peter_rabbit committed
                }
                .software-subtitle,
                .software-description {
                    grid-column: 1 / span 2;
peter_rabbit's avatar
peter_rabbit committed
                }
                .software-image {
                    width: 100px;
                    height: 100px;
                    grid-row: 1;
peter_rabbit's avatar
peter_rabbit committed
        }
        article.placeholder {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin: 30px;
            * {
                background-color: $light_0;
            }
            .title {
                height: 60px;
            }
            .body {
                height: 400px;
            }
            .details {
                height: 200px;
            }
        }
    }
peter_rabbit's avatar
peter_rabbit committed
}