@font-face { font-family: "Lora"; src: url("/static/fonts/Lora-Regular.otf"); font-weight: normal; font-style: normal; } @font-face { font-family: "Lora"; src: url("/static/fonts/Lora-Bold.otf"); font-weight: bold; font-style: normal; } @font-face { font-family: "Lora"; src: url("/static/fonts/Lora-Italic.otf"); font-weight: normal; font-style: italic; } @font-face { font-family: "Lora"; src: url("/static/fonts/Lora-BoldItalic.otf"); font-weight: bold; font-style: italic; } :root { --clr-bg: hsl(0,0%,95%); --clr-bg-alt: hsl(0,0%,85%); --clr-border: hsl(0,0%,80%); --clr-text: hsl(0,0%,15%); --clr-text-long: hsl(0,0%,10%); --clr-text-highlight: hsl(0,50%,40%); --clr-header: hsl(0,0%,15%); --clr-subheader: hsl(0,0%,15%); --clr-link: hsl(175,50%,40%); --clr-link-alt: hsl(175,38%,60%); --clr-code: hsl(0,0%,15%); } * { box-sizing: border-box; } body { font-family: 'dm', 'Courier New', Courier, monospace; color: var(--clr-text); line-height: 1.4em; font-size: 1.1em; background-color: var(--clr-bg); margin: 24px; } header { margin: 0 0 48px; padding: 0 0 24px; border-bottom: 3px dashed rgba(0,0,0,0.5); } footer { margin: 64px 0 0; text-align: center; border-top: 3px dashed rgba(0,0,0,0.5); } .container { width: 100%; max-width: 720px; margin: 64px auto 128px; overflow: hidden; } .select-all { user-select: all; -ms-user-select: all; -moz-user-select: all; -webkit-user-select: all; } a { color: var(--clr-link); font-weight: bold; text-decoration: underline; } a:hover { color: var(--clr-text); background-color: var(--clr-link-alt); text-decoration: none; } h1 { line-height: 1.2em; margin: 8px 0 12px 0; } h2 { color: var(--clr-header); font-weight: bold; margin: 64px 0 0; line-height: 1.2em; } h3 { margin: 32px 0 0; color: var(--clr-subheader); line-height: 1.2em; } .small { font-size: 0.75em !important; } pre { padding: 0 4px; background-color: var(--clr-bg-alt); border: 2px solid var(--clr-border); overflow-x: auto; } code { font-family: 'dm', 'Courier New', Courier, monospace; color: var(--clr-code); background-color: var(--clr-bg-alt); border: 2px solid var(--clr-border); font-size: 1rem !important; line-height: 1.5rem; } pre > code { border: 0; } p > code, li > code { padding: 0 2px; } ul li { list-style-type: "|> "; } blockquote { margin-left: 0; padding-left: 32px; border-left: 2px solid #4ab4ab; } blockquote strong em { color: var(--clr-text-highlight); } .id-card { margin: 0 0 64px 0; } .ellipsis { width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .id-card { /* display: flex; align-items: top; flex-wrap: wrap; */ position: relative; padding: 24px 24px 0px; background: #f9f9f9; border: 2px solid rgba(0,0,0,0.5); } .id-card .header-image { /* flex: 1; flex-basis: auto; */ /* margin: 8px 32px 8px 0; */ text-align: center; } .id-card .header-description { width: 100%; /* flex: 100; flex-basis: auto; */ /* margin: 8px 0; */ /* border-left: 2px solid var(--clr-border); border-right: 2px solid var(--clr-border); */ } .id-card .header-description-id { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; margin: 0 0 1em 0; } .id-card .profile-picture { /* position: absolute; */ float: right; width: 128px; margin: 0 0 12px 12px; /* margin: 8px 0; */ /* margin: 0 1em 0 0; */ border-radius: 100%; } .id-card h1 { font-size: 1.6em; /* margin: 0; */ margin: 0 0 1em; /* margin: 0 0 16px; */ } .id-card p { width: 100%; font-size: 1.1em; margin: 0 0 1em 0; } .id-card .social a { display: inline-block; width: 20px; height: 20px; padding: 8px; margin: 0 4px; border: 0; } .wrapper-table { display: block; margin: 24px 0 48px; overflow-x: auto; } table { width: 100%; min-width: 640px; border-top: 1px var(--clr-text) solid; border-bottom: 1px var(--clr-text) solid; border-collapse: collapse; line-height: 1.4em; } table thead { border-bottom: 1px var(--clr-text) solid; } table th { padding: 8px 12px; } table td { padding: 10px 12px; } table.academic-record th:nth-child(1) { width: 15%; } table.academic-record th:nth-child(2) { width: 35%; } table.academic-record th:nth-child(3) { width: auto; } table.work-experience th:nth-child(1) { width: 15%; } table.work-experience th:nth-child(2) { width: 35%; } table.work-experience th:nth-child(3) { width: auto; } table.publications th:nth-child(1) { width: 15%; } table.publications th:nth-child(2) { width: 35%; } table.publications th:nth-child(3) { width: auto; } table.music th:nth-child(1) { width: 15%; } table.music th:nth-child(2) { width: 35%; } table.music th:nth-child(3) { width: auto; } /* Longform */ .longform_list { margin: 2em 0 0; } .longform_list__item { margin: 2em 0 0; font-family: 'Lora', Georgia, Times, serif; } .longform_list__item a { display: inline-block; margin: 4px 0; font-size: 1.3em; } .longform__header { font-size: 0.9em; color: var(--clr-subheader); } .longform__content { margin: 64px 0 0; font-family: 'Lora', Georgia, Times, serif; font-size: 1.1em; line-height: 1.8em; color: var(--clr-text-long); } .longform__content p { margin: 1.5em 0; } .longform__content code { font-size: 0.8em; } .longform__content ul li { list-style-type: "- "; } .longform__content img { display: block; max-width: 100%; max-height: 480px; margin: 0 auto; text-align: center; } .longform__content img + br { display: none; } .longform__content img + br + em { display: block; text-align: center; font-style: normal; font-size: 90%; } .comment { padding: 12px; margin: 32px 0 0; background-color: var(--clr-bg-alt); } .comment .quote { margin: 0 0 12px; font-family: 'Lora', Georgia, Times, serif; } .comment .sub { margin: 0; } .subsection { margin: 64px 0 0; border-top: 3px dashed rgba(0,0,0,0.5); } .subsection h2 { margin: 48px 0 0; } /* Lists */ .list { margin: 64px 0 0; } .list__item p { margin: 0 0 8px; } @media screen and (max-width: 560px) { .id-card .profile-picture { display: block; float: none; margin: 0 auto 1em; } }