minor fixes
[wolnelektury.git] / src / wolnelektury / static / 2022 / styles / pages / _map.scss
1 #references-map {
2     position: absolute;
3     left: 0;
4     right: 0;
5     top: 50px;
6     bottom: 0;
7     z-index: 0;
8     @include rwd($break-menu) {
9         top: 68px;
10     }
11
12    .leaflet-popup-content h2 {
13        margin-top: 0;
14        padding-top: 0;
15        border: 0;
16    }
17    .l-popup-books {
18        display: flex;
19        flex-wrap: wrap;
20        gap: 5px;
21        max-height: 350px;
22        overflow-y: scroll;
23
24        margin-left: -10px;
25        margin-right: -10px;
26        padding-left: 10px;
27        padding-right: 10px;
28    }
29    .l-popup-books img {
30        display: block;
31    }
32    .l-popup-books .c-search-result-fragment {
33        padding: 0 0 20px 0;
34        border-width: 0;
35        border-radius: 0;
36
37        h1, h2, h3, h4 {
38            font-size: 1em;
39            margin: 0;
40            font-weight: bold;
41        }
42        p {
43            margin: 0;
44            font-size: 18px;
45            line-height: 1.5em;
46        }
47    }
48    .l-popup-book-header {
49        display: flex;
50        gap: 16px;
51    }
52 }