summaryrefslogtreecommitdiff
path: root/main.css
blob: 8c67c4df56f4b0f998efac9a462a8d2928d7d714 (plain)
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
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
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    text-align: center;
}

h1 {
    font-size: 2.5em;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.list {
    max-height: 60vh;
    min-width: 15vw;
    max-width: 30vw;
    overflow: auto;
    border: 5px solid black;
    padding: 2rem 6rem;
}

.add {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.item {
    border: 3px solid black;
    margin: 0.3rem;
    padding: 0.4em 3em;
    list-style-type: none;
}

.fa-square, .fa-square-check {
    cursor: pointer;
    margin: 0.2rem;
    margin-left: 0.5rem;
}

.edit {
    margin: 0.5rem;
    cursor: pointer;
}

.delete {
    margin: 0.1rem;
    cursor: pointer;
}

@media only screen and (max-width: 1250px) {
    .list {
        padding: 1em 1em;
        max-width: 80vw;
        overflow: initial;
        max-height: fit-content;
    }

    .add {
        font-size: 1.2em;
    }

    .item {
        padding: 1em 3em;
    }

    .fa-solid {
        font-size: 1.1em;
    }
}