Skip to content

Commit fde35bd

Browse files
committed
add margins to memos
1 parent 3d6e2b8 commit fde35bd

File tree

4 files changed

+18
-13
lines changed

4 files changed

+18
-13
lines changed

_layouts/memo.html

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
{% include section-break.html section="Lab Memo" subsection=subsection_text %}
1010

11-
<div class="mx-4 lg:mx-8 grid grid-cols-1 md:grid-cols-3 mb-8 lg:mb-16 items-center">
11+
<div class="mx-4 lg:mx-8 mb-8 lg:mb-16 items-center">
1212
<!-- Tag & Title (Always First) -->
1313
<div class="md:col-span-2">
1414

@@ -17,28 +17,18 @@
1717
{{ item.title }}
1818
</div>
1919

20-
<div class="text-xs font-ibmserif mt-2 italic pb-2 border-b-2 md:border-none border-dashed border-gray-400">
20+
<div class="text-xs font-ibmserif mt-2 italic pb-2 md:border-none">
2121
{% for person in item.people %}
2222
{{ person }}{% unless forloop.last %}, {% endunless %}
2323
{% endfor %}
2424
</div>
2525

2626
</div>
2727

28-
<!-- Image Section (Appears between title and text in mobile, right side in desktop) -->
29-
<div class="w-full order-2 md:col-span-1 md:order-3 self-start py-5">
30-
31-
<img class="w-full h-10 sm:h-15 md:h-auto object-cover rounded-lg" src="/assets/images/{{
32-
item.image_folder | default: 'projects' }}/{{ item.image }}" alt="{{ item.image_alt }}">
33-
34-
</div>
35-
3628
<!-- Text Section (Takes 2/3 space on desktop, below image in mobile) -->
3729

38-
<div class="prose-sm md:prose-base md:col-span-2 md:pr-6 order-3 md:order-2 font-ibmserif">
30+
<div class="prose-sm mx-8 md:prose-base md:col-span-2 md:pr-6 order-3 md:order-2 font-ibmserif">
3931

4032
{{ item.content | markdownify }}
4133
</div>
4234
</div>
43-
44-

collections/_memos/_todo.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
- add pdf
2+
- add doi
3+
- test on small screens
4+
5+
- add
6+
<meta name="citation_title" content="Your Article Title">
7+
<meta name="citation_author" content="Author Full Name">
8+
<meta name="citation_publication_date" content="2025/05/11">
9+
<meta name="citation_journal_title" content="Your Journal Title">
10+
<meta name="citation_volume" content="12">
11+
<meta name="citation_issue" content="2">
12+
<meta name="citation_firstpage" content="23">
13+
<meta name="citation_lastpage" content="45">
14+
<meta name="citation_doi" content="10.1234/example.doi">
15+
<meta name="citation_issn" content="1234-5678">

0 commit comments

Comments
 (0)