aboutsummaryrefslogtreecommitdiff
path: root/static/css/journals/journal_entries.css
blob: b44d47b1f6bcb0eea785afd6c40ddeb9ec2c100c (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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
.entries-page {
    background: linear-gradient(135deg, transparent 14.14px, #dee8ff 14.14px);
    position: relative;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    clip-path: polygon(20px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 20px);
    -webkit-mask-image:
        linear-gradient(to top, transparent 16px, white 16px),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 40' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='t' x='-25%25' y='-25%25' width='150%25' height='150%25'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.02 0.005' numOctaves='4' seed='256' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='16' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='-60' y='-60' width='1800' height='90' fill='white' filter='url(%23t)'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%, 100% 40px;
    -webkit-mask-position: top, bottom;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-composite: source-over;
    mask-image:
        linear-gradient(to top, transparent 16px, white 16px),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 40' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='t' x='-25%25' y='-25%25' width='150%25' height='150%25'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.02 0.005' numOctaves='4' seed='256' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='16' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='-60' y='-60' width='1800' height='90' fill='white' filter='url(%23t)'/%3E%3C/svg%3E");
    mask-size: 100% 100%, 100% 40px;
    mask-position: top, bottom;
    mask-repeat: no-repeat;
    mask-composite: add;
    padding-bottom: 16px;
}

.entries-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: linear-gradient(to bottom right, #1a1a30, #2a2a44);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: -1;
    pointer-events: none;
}

.entries-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Cdefs%3E%3CradialGradient id='s' cx='14' cy='14' r='28' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0%25' stop-color='%23000000' stop-opacity='0.35'/%3E%3Cstop offset='30%25' stop-color='%23000000' stop-opacity='0.18'/%3E%3Cstop offset='60%25' stop-color='%23000000' stop-opacity='0.06'/%3E%3Cstop offset='100%25' stop-color='%23000000' stop-opacity='0'/%3E%3C/radialGradient%3E%3ClinearGradient id='f' x1='10' y1='10' x2='20' y2='20' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0%25' stop-color='%23e8ecff'/%3E%3Cstop offset='25%25' stop-color='%23b5b9cd'/%3E%3Cstop offset='55%25' stop-color='%23c2c6da'/%3E%3Cstop offset='100%25' stop-color='%23bfc3d5'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='14' cy='14' r='28' fill='url(%23s)'/%3E%3Cpath d='M 20 0 L 20 20 L 0 20 Z' fill='url(%23f)'/%3E%3Cpath d='M 19 1 L 1 19' stroke='%23fff' stroke-opacity='0.3' stroke-width='0.7' fill='none'/%3E%3C/svg%3E") no-repeat;
    background-size: 50px 50px;
    z-index: 10;
    pointer-events: none;
}

.entry-container .header {
    background: linear-gradient(to bottom, #b3baf5 0%, #9699ed 50%, #7a87e5 100%);
    padding: 8px 12px 8px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    filter: drop-shadow(2px 0 0 white) drop-shadow(0 2px 0 white) drop-shadow(-2px 0 0 white) drop-shadow(0 -2px 0 white) drop-shadow(0px 1px 1px #14228b) drop-shadow(0px 1px 1px #14228b);
    color: #14228b;
    font-size: 20px;
    font-family: 'SweetFairy';
    white-space: nowrap;
}

.entry-container .header::after {
    content: '';
    flex: 1;
    order: 1;
    margin-left: 12px;
    height: 24px;
    background-image: radial-gradient(circle, #14228b 2px, transparent 2px);
    background-size: 8px 8px;
    background-position: 0 0;
    opacity: 0.7;
}

.entry-container + .entry-container {
    border-top: 3px solid #b3baf5;
}

.entry-container .weblog-content {
    background: #dee8ff;
    color: #000;
    margin: 0;
    padding: 8px 16px;
    overflow: hidden;
}

.entry-container .weblog-content a,
.entry-container .weblog-content a:visited,
.entry-container .weblog-content a:hover,
.journal-entry-details a,
.journal-entry-details a:visited,
.journal-entry-details a:hover {
    color: #2251bd !important;
}

.entry-container .weblog-content img.float-left {
    float: left;
    margin-right: 12px;
    margin-left: 0;
}

.entry-container .weblog-content img.float-right {
    float: right;
    margin-left: 12px;
    margin-right: 0;
}

.entry-container .weblog-content a:has(img) {
    pointer-events: none;
}

.entry-container .weblog-content img {
    pointer-events: none;
}

.entry-container .dropdown {
    order: 2;
    margin-left: 8px;
}

.entry-container .dropdown-trigger {
    background: #fff;
    border: none;
    border-radius: 50%;
    color: #14228b;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.entry-container .dropdown-trigger svg {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}

.entry-container .dropdown-trigger:hover {
    background: #e8eeff;
}

.entry-container .dropdown-content {
    background: #dee8ff;
    border: 1px solid #9ab0d8;
    box-shadow: 0 4px 12px rgba(20, 34, 139, 0.15);
}

.entry-container .dropdown-item {
    color: #14228b !important;
}

.entry-container .dropdown-item:hover {
    background: rgba(20, 34, 139, 0.08) !important;
    color: #14228b !important;
}

.entry-container .dropdown-item.delete {
    color: #c0392b !important;
}

.entry-container .dropdown-item.delete:hover {
    background: rgba(192, 57, 43, 0.08) !important;
    color: #c0392b !important;
}

.journal-entry-details {
    background: #dee8ff;
    padding: 8px 16px;
    font-size: 13px;
    color: #333;
    border-top: 2px solid transparent;
    background-image:
        repeating-linear-gradient(90deg,
            #2f148b 0px,
            #2f148b 4px,
            transparent 4px,
            transparent 8px,
            #2f148b 8px,
            #2f148b 12px,
            transparent 12px,
            transparent 16px);
    background-size: 100% 2px;
    background-position: 0 0;
    background-repeat: no-repeat;
}