start-page.less 2.14 KB
Newer Older
1 2
/* Startseite */

3 4
@main-content-width: 1000px;
#main-content {
5 6 7
    flex-grow: 1;
    display: flex;
    flex-direction: column;
8
    @media(max-width: @main-content-width) {
9
        width: 100%;
10
    }
11 12
    @media(min-width: @main-content-width) {
        width: @main-content-width;
13
    }
14
    
Karl Hasselbring's avatar
Karl Hasselbring committed
15
    #plugin-btn-div {
16 17
        display: flex;
        justify-content: center;
18
        margin-top: 16px;
Karl Hasselbring's avatar
Karl Hasselbring committed
19 20 21
    }
    #plugin-btn {
        color: @text-color;
22
    }
23 24 25 26 27
    #scroll-helper {
        .card-light;
        position: absolute;
        bottom: 0px;
        right: 8px;
Dominik Hebeler's avatar
Dominik Hebeler committed
28
        padding: 11px;
29 30 31 32 33 34 35 36 37 38
        color: #777;
        border: 0;
        width: 30px;
        height: 30px;
        align-items: center;
        display: none;
        &:hover{
            color: red;
            background-color: #ccc;
        }
Dominik Hebeler's avatar
Dominik Hebeler committed
39
        @media(max-width: 503px) {
40 41 42 43 44 45 46
            display: flex;
        }
    }

}

.startpage #main-content {
47
    justify-content: center;
Dominik Hebeler's avatar
Dominik Hebeler committed
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
    margin-top: -25%;
        #about-us {
            font-size: 1.4em;
            color: #777;
            text-align: center;
            display: grid;
            grid-gap: 24px;
            margin-top: 48px;
            margin-bottom: 48px;
            justify-content: center;
            grid-template-columns: 240px;
            position: absolute;
            width: 100%;
            top: 100vh;
            left: 0;
            @media(min-width: 504px){
                margin-top: 0;
                grid-template-columns: 240px 240px;
                grid-gap: 24px;
                top: inherit;
                bottom: 100px;
            }
            @media(min-width: 1000px){
                grid-template-columns: 240px 240px 240px 240px;
            }
            > a {
                display: flex;
                flex-direction: column;
                cursor: pointer;
                color: inherit;
                > div.teaser {
                    @media(min-width: 504px){
                        visibility: hidden;
                    }
                    font-size: .7em;
                }
                &:hover > div.teaser {
                    visibility: inherit;
                }
            }
        }
89
}