aboutsummaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/things.css
blob: 154232b5ed4bbf02ce368ab2a52fa3568bb9f9e1 (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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/*
 * Thing form.
 */

#thing_form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

@media only screen and (max-width: 720px) {
    #thing_form {
        grid-template-columns: 1fr;
    }

    #thing-delete-button {
        width: 100%;
    }
}

#thing_form input[type=text], input[type=number], input[type=date], select {
    width: 100%;
}

#thing_form .thing_large {
    grid-column: 1 / -1;
}

h5 a {
    font-size: 1rem;
}

/*
 * Listing things.
 */

.thing_row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.thing_head {
    flex-grow: 0;
}

.thing_body {
    flex-grow: 1;
}

.thing_body a {
    text-decoration: none;
    color: var(--text) !important;
}

.thing_body a:hover {
    color: var(--accent) !important;
}

.thing_tail {
    flex-grow: 0;
}

.dot {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
}

.dot_other {
    background-color: black;
}

.dot_paper {
    background-color: white;
}

.dot_poetry {
    background-color: #facc15;
}

.dot_theater {
    background-color: #c084fc;
}

.dot_essay {
    background-color: #ef4444;
}

.dot_shorts {
    background-color: #a3e635;
}

.dot_novel {
    background-color: #60a5fa;
}

.dot_letters {
    background-color: #4bacc6;
}

.dot_phd {
    background-color: #cccccc;
}

.dot_chronicle {
    background-color: #ecbaff;
}

.dot_it {
    background-color: #008000;
}

.dot_bio {
    background-color: #81d41a;
}