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
article-view.scss 2.63 KiB
Newer Older
#article-view-container {
    position: relative;

    article {
        background-image: $wp_bin;

        &.game-article {
            #article-banner {
                width: 100%;
                height: 500px;
                background-size: cover;
                background-position: center center;
                image-rendering: pixelated;
                image-rendering: -moz-crisp-edges;
                image-rendering: crisp-edges;
                position: relative;

                #header-text-container {
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
                    padding: 50px;
                    display: flex;
                    flex-direction: column;
                    justify-content: flex-end;

                    .header-text {
                        color: #ffffffbb;
                        margin: 0;

                        &.h1 {
                            font-size: 100px;
                            margin: 0;
                        }

                        &.h2 {
                            font-style: italic;
                            margin: 0 0 0 150px;
                            font-size: 32px;
                        }
                    }

                    .play-button {
                        position: absolute;
                        right: 10px;
                        bottom: 10px;
                        padding: 20px 40px;
                        border: 1px solid;
                        border-radius: 10px;
                        background-color: unset;
                        font-weight: bold;
                        font-size: 20px;
                        cursor: pointer;
                        color: $blue_2;

                        &:hover {
                            color: $blue_3;
                        }
                    }
                }
            }

            #article-contents {
                // background-color: #1f2122;
                // color: $light_1;

                // * {
                //     color: $light_1;
                // }
                background-color: white;
                padding: 40px;
                display: grid;
                grid-template-columns: 1fr 500px;
                max-width: 1000px;
                margin: 0 auto;

                #article-body {
                    p {
                        margin: 0;
                    }
                }

                .image-carousel {
                    height: 400px;
                }
            }
        }
    }

}