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 7.36 KiB
Newer Older
peter_rabbit's avatar
peter_rabbit committed
#software-page {
    .software-articles {
        margin: 0 auto 50px;
peter_rabbit's avatar
peter_rabbit committed
        article.software-article {
            display: grid;
peter_rabbit's avatar
peter_rabbit committed
            grid-template-columns: 1fr 1fr;
            margin: 0 0 30px;
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: 10px 0 0;
peter_rabbit's avatar
peter_rabbit committed
                color: $light_1;
                font-style: italic;
                text-align: right;
                color: $medium_grey;
                font-style: italic;
                font-size: 12px;
peter_rabbit's avatar
peter_rabbit committed
            }

            .software-subtitle {
                grid-column: 1;
                margin: 10px 20px 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: 5px 0;
peter_rabbit's avatar
peter_rabbit committed
                        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: $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 {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin: 30px;
            * {
                background-color: $light_0;
            }
            .title {
                height: 60px;
            }
            .body {
                height: 400px;
            }
            .details {
                height: 200px;
            }
        }
    }
    #service-section {
        h3 {
            margin: 0 0 20px;
        }
        .skills {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
            margin: 20px 0;
            ul {
                display: grid;
                gap: 1px;
                max-width: 100%;
                li {
                    box-shadow: 0 0 2px $light_1;
                }
                &.skill-themes {
                    width: 600px;
                    grid-template-columns: repeat(3, 1fr);
                    @media screen and (max-width: $screen_s) {
                        grid-template-columns: 1fr 1fr;
                        width: 100%;
                    }
                    @media screen and (max-width: $screen_xs) {
                        grid-template-columns: 1fr;
                    }
                    background-color: $dark_2;
                    li {
                        font-weight: bold;
                        color: $light_0;
                        font-size: 18px;
                        @include flex-center;
                        padding: 10px;
                        text-align: center;
                    }
                }
                &.skill-stack {
                    width: 400px;
                    grid-template-columns: repeat(4, 1fr);
                    li {
                        @include flex-center-col;
                        position: relative;
                        padding: 10px;
                        strong {
                            visibility: hidden;
                            max-height: 0;
                            height: 70px;
                            padding: 0 20px;
                            transition: max-height 0.3s;
                            position: absolute;
                            @include flex-center;
                        }
                        img {
                            width: 100%;
                        }
                        @media screen and (min-width: $screen_m) {
                            &:hover {
                                strong {
                                    visibility: visible;
                                    max-height: 80px;
                                    background-color: #fffc;
                                    font-size: 18px;
                                }
                            }
                        }

                        @media screen and (max-width: $screen_m) {
                            strong {
                                visibility: visible;
                                position: relative;
                                max-height: unset;
                                height: unset;
                                padding: 0;
                            }
                        }
                    }
                    @media screen and (max-width: $screen_xs) {
                        grid-template-columns: repeat(3, 1fr);
                    }
                }
            }
        }
        .teaser {
            background-image: url("/assets/images/wallpaper_binary.png");
            padding: 40px 30px;
            text-align: center;
            font-size: 18px;
            strong {
                color: $light_0;
            }
            blue {
                color: $blue_3;
            }
        }
        .call-us {
            * {
                font-weight: bold;
            }
            display: grid;
            grid-template-columns: 1fr 1fr;
            width: 100%;
            gap: 10px 0;
            margin: 40px 0;
            h3 {
                grid-column: 1 / span 2;
                text-align: center;
            }
            a {
                background-color: $dark_2;
                font-size: 20px;
                text-align: center;
                padding: 20px;
            }
            @media screen and (max-width: $screen_m) {
                @include flex-center-col;
                gap: 0;
                h3 {
                    margin: 0 0 10px;
                }
                a {
                    width: 100%;
                }
            }
peter_rabbit's avatar
peter_rabbit committed
    }
}