Margin note added to my css and an example added to the About Me post.

This commit is contained in:
Zachary Billman 2022-04-06 08:11:28 -04:00
parent f337844dd8
commit 961c0a2966
6 changed files with 23 additions and 10 deletions

View File

@ -1,9 +1,11 @@
.marginnote,
.sidenote {
font-size: 80%;
position: relative;
}
/* Wide viewport */
@media (min-width: 960px) {
@media (min-width: 1080px) {
.marginnote,
.sidenote {
float: right;
clear: right;
@ -17,14 +19,15 @@
}
/* Narrow viewport */
@media (max-width: 960px) {
@media (max-width: 1080px) {
.marginnote,
.sidenote {
float: right;
text-align: left;
width: 100%;
margin: 1rem 0;
padding-left: 15%;
padding-left: 7.5%;
}
}

View File

@ -8,7 +8,13 @@ weight = 1
## Welcome to my site! {#welcome-to-my-site}
My name is Zachary Billman. I'm an MD-PhD student at UNC Chapel Hill in Ed Miao's lab. The curious reader may be thinking: "But Zach, Ed Miao's lab is at Duke now! What does that make you?" What an astute question! I am a card-carrying UNC Microbiology and Immunology student who happens to have all of their research take place at Duke. This makes for very interesting basketball viewing parties with my Duke friends!
My name is Zachary Billman. I'm an MD-PhD student at UNC Chapel Hill in Ed Miao's lab. The curious reader may be thinking: "But Zach, Ed Miao's lab is at Duke now! What does that make you?" What an astute question!
{{% marginnote %}}
This move was quite a trial, especially when compounded with the onset of the pandemic. I suspect my research timeline suffered, though this is an extremely minor inconvenience compared to the tragedy the pandemic caused.
{{% /marginnote %}}
I am a card-carrying UNC Microbiology and Immunology student who happens to have all of their research take place at Duke. This makes for very interesting basketball viewing parties with my Duke friends!
## My Research and Science Interests. {#my-research-and-science-interests-dot}

View File

@ -0,0 +1 @@
<span class="marginnote">{{ .Inner }}</span>

View File

@ -1 +0,0 @@
<span class="sidenote-number"><small class="sidenote">{{ .Inner }}</small></span>

View File

@ -1,5 +1,5 @@
(undo-tree-save-format-version . 1)
"8d94c5aa59977033275c493b1a04569b0509ab90"
[nil nil nil nil (25164 54527 20256 317000) 0 nil]
([nil current ((1 . 2417) (t . 0)) nil (25164 54527 20252 89000) 0 nil])
"5d3801edf9228d3774d584262e2731a23ff38fa3"
[nil nil nil nil (25165 33587 477779 459000) 0 nil]
([nil current ((1 . 2687) (t . 0)) nil (25165 33587 477775 191000) 0 nil])
nil

View File

@ -1,6 +1,6 @@
#+HUGO_BASE_DIR: ../
#+AUTHOR: Zachary Billman
#+hugo_paired_shortcodes: %sidenote
#+hugo_paired_shortcodes: %sidenote %marginnote
* About me.
@ -11,7 +11,11 @@
:EXPORT_HUGO_CUSTOM_FRONT_MATTER: :weight 1
:END:
*** Welcome to my site!
My name is Zachary Billman. I'm an MD-PhD student at UNC Chapel Hill in Ed Miao's lab. The curious reader may be thinking: "But Zach, Ed Miao's lab is at Duke now! What does that make you?" What an astute question! I am a card-carrying UNC Microbiology and Immunology student who happens to have all of their research take place at Duke. This makes for very interesting basketball viewing parties with my Duke friends!
My name is Zachary Billman. I'm an MD-PhD student at UNC Chapel Hill in Ed Miao's lab. The curious reader may be thinking: "But Zach, Ed Miao's lab is at Duke now! What does that make you?" What an astute question!
#+begin_marginnote
This move was quite a trial, especially when compounded with the onset of the pandemic. I suspect my research timeline suffered, though this is an extremely minor inconvenience compared to the tragedy the pandemic caused.
#+end_marginnote
I am a card-carrying UNC Microbiology and Immunology student who happens to have all of their research take place at Duke. This makes for very interesting basketball viewing parties with my Duke friends!
*** My Research and Science Interests.
I am in the 4th year of my PhD studying the host-pathogen interaction between the intracellular fungus /Histoplasma capsulatum/ and macrophages. There are many unstudied curiosities regarding the innate immune response to /Histoplasma spp./ and other intracellular fungi that I think are quite interesting.
*** Hobbies to be found here.