_boxes.scss 924 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
$COLOR_BOX_PRIMARY: #4085e4;
$COLOR_BOX_SECONDARY: #efefef;
$COLOR_BOX_FONT: #444;

.index-box-container {
    columns: 2;
    column-gap: 0px;
    display: inline-block;
    max-width: 100%;

    @media (max-width: 800px) {
        columns: 1;
    }
}

.index-box {
    width: 80%;
    min-height: 120px;
    display: inline-block;

    padding: 10px 20px 0px 20px;

    border: solid 2px $COLOR_BOX_SECONDARY;
    margin-bottom: #{"min(35px, 5%)"};
    border-radius: 0 0 15px 15px;
    border-top: solid 5px $COLOR_BOX_PRIMARY;

    &:hover {
        border-color: #ddd;
        border-top: solid 5px $COLOR_BOX_PRIMARY;
    }

    @media (max-width: 800px) {
        width: 90%;
        margin-right: 0;
    }

    h3 {
        font-size: 20pt;
        color: $COLOR_BOX_FONT;
        margin-block-end: 10px;
        border-bottom: solid 1px $COLOR_BOX_SECONDARY;
    }

    ul {
        margin-block-end: 12px;
    }
}