idk sorry

master
km0 3 years ago
parent 1e745fc95f
commit 6ed8fe8642

File diff suppressed because one or more lines are too long

@ -29,13 +29,18 @@ def dump():
# this is temporary, sorry # this is temporary, sorry
elif "type" in content: elif "type" in content:
if content["type"] == 'mimic_code': if content["type"] == 'mimic-colophon':
postit = { postit = {
"title": metadata['title'], "title": metadata['title'],
"type": content['type'], "type": content['type'],
"code": content['code'], "original": content['original'],
"date": content['date'], "original-credits": content['original-credits'],
"credits": content['credits'], "original-action": content['original-action'],
"original-date": content['original-date'],
"current": content['current'],
'current-credits': content['current-credits'],
"current-action": content['current-action'],
"current-date": content['current-date'],
"slug": folder, "slug": folder,
} }
@ -50,6 +55,8 @@ def dump():
"positivity": content["positivity"], "positivity": content["positivity"],
"slug": folder, "slug": folder,
} }
elif "word" in content and content['category'] != 'Loot Box':
continue
elif "word" in content: elif "word" in content:
postit = { postit = {
"title": metadata["title"], "title": metadata["title"],

@ -1 +1 @@
Subproject commit c3b19740326b50f43343fec8ebe1d07e8b20c95d Subproject commit 907d2bdfcd1fd3c1d5d094a6cae1a8ae9796cd98

@ -47,19 +47,19 @@
display: none; display: none;
} }
.crosswords { /* .crosswords {
display: inline-block; display: inline-block;
} } */
.crosswords .category { .crosswords .category {
font-size: 14px; font-size: 14px;
margin: 4mm; margin: 4mm;
position: absolute; position: absolute;
bottom: calc(4mm + 1em); top: calc(4mm - 1em);
} }
.crosswords .description { .crosswords .description {
font-size: 21px; font-size: 18px;
text-align: start; text-align: start;
} }
@ -75,3 +75,11 @@
line-height: 33.9px; line-height: 33.9px;
margin: 0; margin: 0;
} }
.mimic .colophon {
font-size: 21px;
}
.mimic .action {
font-style: italic;
}

@ -118,3 +118,9 @@ a {
top: 0; top: 0;
left: 0; left: 0;
} }
@media screen {
.post-it {
border: 1px solid var(--background);
}
}

@ -49,14 +49,26 @@
<div class="category">{{content['start']}} {{content['category']}}</div> <div class="category">{{content['start']}} {{content['category']}}</div>
{%elif content['type'] == 'mimic_code'%} {%elif content['type'] == 'mimic-colophon'%}
<p class="description">
<span> {{content['credits']}} </span>
<code>{{content['code']}}</code>
<span> {{content['date']}} </span>
</p>
<div class="description">
<div class="colophon">{{content['original']}}</div>
<div>{{content['original-credits']}}</div>
<div class="action">{{content['original-action']}}</div>
<div>{{content['original-date']}}</div>
<br />
<div class="colophon">{{content['current']}}</div>
<div>{{content['current-credits']}}</div>
<code>{{content['current-action']}}</code>
<div>{{content['current-date']}}</div>
</div>
<footer>
<h2 class="title">{{content['title']}}</h2>
<span
class="progress-bar"
style="width: {{ 100 / contents|length * loop.index}}%"
></span>
</footer>
{%else%} {%else%}
<p <p

Loading…
Cancel
Save