From 4f39910814164f91657de0b6de5c36241f19fc74 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Mon, 6 Jan 2025 22:33:00 +0100 Subject: [RM] delete tachyons --- assets/css/input.css | 214 +++++++ assets/css/syntax.css | 354 +++++++++++ assets/css/tailwind.css | 1572 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 2140 insertions(+) create mode 100644 assets/css/input.css create mode 100644 assets/css/syntax.css create mode 100644 assets/css/tailwind.css (limited to 'assets/css') diff --git a/assets/css/input.css b/assets/css/input.css new file mode 100644 index 0000000..6243110 --- /dev/null +++ b/assets/css/input.css @@ -0,0 +1,214 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +.baskerville { + font-family: baskerville, serif; +} + +blockquote::before { + font-family: "Font Awesome 6 Free"; + color: #79c753; + content: "\f10d"; + font-weight: 900; + font-size: 2rem; + position: absolute; + left: 10px; + top: -15px; +} + +@layer base { + blockquote { + @apply border-l-4 p-6 py-1 m-8 relative border-lime-500 baskerville; + } + blockquote p:last-of-type { + @apply text-center uppercase mt-4 tracking-wide; + } + h1 { + @apply text-5xl font-bold my-4; + } + h2 { + @apply text-4xl font-bold my-4; + } + h3 { + @apply text-3xl font-bold my-4; + } + h4 { + @apply text-2xl font-bold my-4; + } + h5 { + @apply text-xl font-bold my-4; + } + h6 { + @apply text-lg font-bold my-4; + } +} + +@layer components { + #hero { + text-shadow: 2px 2px 3px black; + } + .main-content { + p { + @apply my-4 text-xl; + code { + @apply text-blue-500 px-1; + } + } + } + .main-content a { + @apply px-1 text-lime-500; + } + .main-content a[href^="http"]::after { + content: ""; + width: 11px; + height: 11px; + margin-left: 4px; + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E"); + background-position: center; + background-repeat: no-repeat; + background-size: contain; + display: inline-block; + } + .main-content { + dl { + @apply px-8 text-xl; + } + dt { + @apply font-bold; + } + dd { + @apply ml-8; + } + .highlight { + .chroma { + @apply p-1 overflow-x-scroll; + } + } + } + .cv-entry, + .cv-honor { + @apply ml-4 pl-8 pb-2 relative; + .cv-role { + @apply m-0; + } + .cv-host, + .cv-date, + .cv-location { + @apply font-light m-0 p-0; + } + .cv-host::before { + font-family: "Font Awesome 6 Free"; + content: "\f1ad"; + font-weight: 900; + margin: 0 0.5rem; + } + .cv-location::before { + font-family: "Font Awesome 6 Free"; + content: "\f041"; + font-weight: 900; + margin: 0 0.5rem; + } + p { + @apply text-base my-2; + } + ul { + all: revert; + } + } + .cv-entry { + @apply border-l border-gray-400; + .cv-role::before { + content: ""; + position: absolute; + width: 2rem; + height: 2rem; + background-color: #79c753; + border-radius: 50%; + transform: translateX(-50%); + left: 0; + } + .cv-date, + .cv-location { + @apply inline-block; + } + .cv-date::before { + font-family: "Font Awesome 6 Free"; + content: "\f133"; + font-weight: 900; + margin: 0 0.5rem; + } + } + + .cv-honor { + .cv-role { + @apply ml-12 text-xl; + } + .cv-date { + top: 0.05rem; + @apply absolute left-0 text-xl; + } + .cv-date::before { + font-family: "Font Awesome 6 Free"; + color: #ffb700; + content: "\f559"; + font-weight: 900; + margin: 0 0.5rem; + } + } + .comment { + @apply my-2 pl-4 border-l border-lime-500 relative; + h3, + h4, + h5, + h6 { + @apply my-0 pl-2; + &::before { + font-family: "Font Awesome 6 Free"; + color: #79c753; + content: "\f075"; + font-weight: 900; + font-size: 2rem; + position: absolute; + left: -0.75rem; + top: -1rem; + transform: scaleX(-1); + } + } + } + + /* https://lubna.dev/articles/create-css-only-image-gallery/ */ + .gallery { + --max-img-width: 72rem; + --max-img-height: 48rem; + max-width: var(--max-img-width); + padding-top: min(66%, var(--max-img-height)); + + input:checked + img { + opacity: 1; + } + input:checked ~ label > img { + @apply shadow-md shadow-lime-500; + } + } +} + +@layer utilities { + @font-face { + font-family: "BerkshireSwash-Regular"; + font-display: optional; + src: + url("/css/fonts/BerkshireSwash-Regular.ttf.woff") format("woff"), + url("/css/fonts/BerkshireSwash-Regular.ttf.svg#BerkshireSwash-Regular") + format("svg"), + url("/css/fonts/BerkshireSwash-Regular.ttf.eot"), + url("/css/fonts/BerkshireSwash-Regular.ttf.eot?#iefix") + format("embedded-opentype"); + font-weight: normal; + font-style: normal; + } + + .berkshire-swash { + font-family: "BerkshireSwash-Regular"; + } +} diff --git a/assets/css/syntax.css b/assets/css/syntax.css new file mode 100644 index 0000000..1163569 --- /dev/null +++ b/assets/css/syntax.css @@ -0,0 +1,354 @@ +/* Background */ +.bg { + color: #ebdbb2; + background-color: #282828; +} +/* PreWrapper */ +.chroma { + color: #ebdbb2; + background-color: #282828; +} +/* Other */ +.chroma .x { +} +/* Error */ +.chroma .err { +} +/* CodeLine */ +.chroma .cl { +} +/* LineLink */ +.chroma .lnlinks { + outline: none; + text-decoration: none; + color: inherit; +} +/* LineTableTD */ +.chroma .lntd { + vertical-align: top; + padding: 0; + margin: 0; + border: 0; +} +/* LineTable */ +.chroma .lntable { + border-spacing: 0; + padding: 0; + margin: 0; + border: 0; +} +/* LineHighlight */ +.chroma .hl { + background-color: #3d3d3d; +} +/* LineNumbersTable */ +.chroma .lnt { + white-space: pre; + -webkit-user-select: none; + user-select: none; + margin-right: 0.4em; + padding: 0 0.4em 0 0.4em; + color: #756d59; +} +/* LineNumbers */ +.chroma .ln { + white-space: pre; + -webkit-user-select: none; + user-select: none; + margin-right: 0.4em; + padding: 0 0.4em 0 0.4em; + color: #756d59; +} +/* Line */ +.chroma .line { + display: flex; +} +/* Keyword */ +.chroma .k { + color: #fe8019; +} +/* KeywordConstant */ +.chroma .kc { + color: #fe8019; +} +/* KeywordDeclaration */ +.chroma .kd { + color: #fe8019; +} +/* KeywordNamespace */ +.chroma .kn { + color: #fe8019; +} +/* KeywordPseudo */ +.chroma .kp { + color: #fe8019; +} +/* KeywordReserved */ +.chroma .kr { + color: #fe8019; +} +/* KeywordType */ +.chroma .kt { + color: #fabd2f; +} +/* Name */ +.chroma .n { +} +/* NameAttribute */ +.chroma .na { + color: #b8bb26; + font-weight: bold; +} +/* NameBuiltin */ +.chroma .nb { + color: #fabd2f; +} +/* NameBuiltinPseudo */ +.chroma .bp { +} +/* NameClass */ +.chroma .nc { +} +/* NameConstant */ +.chroma .no { + color: #d3869b; +} +/* NameDecorator */ +.chroma .nd { +} +/* NameEntity */ +.chroma .ni { + color: #fabd2f; +} +/* NameException */ +.chroma .ne { + color: #fb4934; +} +/* NameFunction */ +.chroma .nf { + color: #fabd2f; +} +/* NameFunctionMagic */ +.chroma .fm { +} +/* NameLabel */ +.chroma .nl { + color: #fb4934; +} +/* NameNamespace */ +.chroma .nn { +} +/* NameOther */ +.chroma .nx { +} +/* NameProperty */ +.chroma .py { +} +/* NameTag */ +.chroma .nt { + color: #fb4934; +} +/* NameVariable */ +.chroma .nv { +} +/* NameVariableClass */ +.chroma .vc { +} +/* NameVariableGlobal */ +.chroma .vg { +} +/* NameVariableInstance */ +.chroma .vi { +} +/* NameVariableMagic */ +.chroma .vm { +} +/* Literal */ +.chroma .l { +} +/* LiteralDate */ +.chroma .ld { +} +/* LiteralString */ +.chroma .s { + color: #b8bb26; +} +/* LiteralStringAffix */ +.chroma .sa { + color: #b8bb26; +} +/* LiteralStringBacktick */ +.chroma .sb { + color: #b8bb26; +} +/* LiteralStringChar */ +.chroma .sc { + color: #b8bb26; +} +/* LiteralStringDelimiter */ +.chroma .dl { + color: #b8bb26; +} +/* LiteralStringDoc */ +.chroma .sd { + color: #b8bb26; +} +/* LiteralStringDouble */ +.chroma .s2 { + color: #b8bb26; +} +/* LiteralStringEscape */ +.chroma .se { + color: #b8bb26; +} +/* LiteralStringHeredoc */ +.chroma .sh { + color: #b8bb26; +} +/* LiteralStringInterpol */ +.chroma .si { + color: #b8bb26; +} +/* LiteralStringOther */ +.chroma .sx { + color: #b8bb26; +} +/* LiteralStringRegex */ +.chroma .sr { + color: #b8bb26; +} +/* LiteralStringSingle */ +.chroma .s1 { + color: #b8bb26; +} +/* LiteralStringSymbol */ +.chroma .ss { + color: #83a598; +} +/* LiteralNumber */ +.chroma .m { + color: #d3869b; +} +/* LiteralNumberBin */ +.chroma .mb { + color: #d3869b; +} +/* LiteralNumberFloat */ +.chroma .mf { + color: #d3869b; +} +/* LiteralNumberHex */ +.chroma .mh { + color: #d3869b; +} +/* LiteralNumberInteger */ +.chroma .mi { + color: #d3869b; +} +/* LiteralNumberIntegerLong */ +.chroma .il { + color: #d3869b; +} +/* LiteralNumberOct */ +.chroma .mo { + color: #d3869b; +} +/* Operator */ +.chroma .o { + color: #fe8019; +} +/* OperatorWord */ +.chroma .ow { + color: #fe8019; +} +/* Punctuation */ +.chroma .p { +} +/* Comment */ +.chroma .c { + color: #928374; + font-style: italic; +} +/* CommentHashbang */ +.chroma .ch { + color: #928374; + font-style: italic; +} +/* CommentMultiline */ +.chroma .cm { + color: #928374; + font-style: italic; +} +/* CommentSingle */ +.chroma .c1 { + color: #928374; + font-style: italic; +} +/* CommentSpecial */ +.chroma .cs { + color: #928374; + font-style: italic; +} +/* CommentPreproc */ +.chroma .cp { + color: #8ec07c; +} +/* CommentPreprocFile */ +.chroma .cpf { + color: #8ec07c; + font-style: italic; +} +/* Generic */ +.chroma .g { +} +/* GenericDeleted */ +.chroma .gd { + color: #282828; + background-color: #fb4934; +} +/* GenericEmph */ +.chroma .ge { + color: #83a598; + text-decoration: underline; +} +/* GenericError */ +.chroma .gr { + background-color: #fb4934; + font-weight: bold; +} +/* GenericHeading */ +.chroma .gh { + color: #b8bb26; + font-weight: bold; +} +/* GenericInserted */ +.chroma .gi { + color: #282828; + background-color: #b8bb26; +} +/* GenericOutput */ +.chroma .go { + color: #504945; +} +/* GenericPrompt */ +.chroma .gp { +} +/* GenericStrong */ +.chroma .gs { +} +/* GenericSubheading */ +.chroma .gu { + color: #b8bb26; + font-weight: bold; +} +/* GenericTraceback */ +.chroma .gt { + background-color: #fb4934; + font-weight: bold; +} +/* GenericUnderline */ +.chroma .gl { +} +/* TextWhitespace */ +.chroma .w { +} diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css new file mode 100644 index 0000000..ea36784 --- /dev/null +++ b/assets/css/tailwind.css @@ -0,0 +1,1572 @@ +*, ::before, ::after { + --tw-border-spacing-x: 0; + --tw-border-spacing-y: 0; + --tw-translate-x: 0; + --tw-translate-y: 0; + --tw-rotate: 0; + --tw-skew-x: 0; + --tw-skew-y: 0; + --tw-scale-x: 1; + --tw-scale-y: 1; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; + --tw-scroll-snap-strictness: proximity; + --tw-gradient-from-position: ; + --tw-gradient-via-position: ; + --tw-gradient-to-position: ; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: rgb(59 130 246 / 0.5); + --tw-ring-offset-shadow: 0 0 #0000; + --tw-ring-shadow: 0 0 #0000; + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: ; + --tw-contain-size: ; + --tw-contain-layout: ; + --tw-contain-paint: ; + --tw-contain-style: ; +} + +::backdrop { + --tw-border-spacing-x: 0; + --tw-border-spacing-y: 0; + --tw-translate-x: 0; + --tw-translate-y: 0; + --tw-rotate: 0; + --tw-skew-x: 0; + --tw-skew-y: 0; + --tw-scale-x: 1; + --tw-scale-y: 1; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; + --tw-scroll-snap-strictness: proximity; + --tw-gradient-from-position: ; + --tw-gradient-via-position: ; + --tw-gradient-to-position: ; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: rgb(59 130 246 / 0.5); + --tw-ring-offset-shadow: 0 0 #0000; + --tw-ring-shadow: 0 0 #0000; + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: ; + --tw-contain-size: ; + --tw-contain-layout: ; + --tw-contain-paint: ; + --tw-contain-style: ; +} + +/* +! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com +*/ + +/* +1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) +2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116) +*/ + +*, +::before, +::after { + box-sizing: border-box; + /* 1 */ + border-width: 0; + /* 2 */ + border-style: solid; + /* 2 */ + border-color: #e5e7eb; + /* 2 */ +} + +::before, +::after { + --tw-content: ''; +} + +/* +1. Use a consistent sensible line-height in all browsers. +2. Prevent adjustments of font size after orientation changes in iOS. +3. Use a more readable tab size. +4. Use the user's configured `sans` font-family by default. +5. Use the user's configured `sans` font-feature-settings by default. +6. Use the user's configured `sans` font-variation-settings by default. +7. Disable tap highlights on iOS +*/ + +html, +:host { + line-height: 1.5; + /* 1 */ + -webkit-text-size-adjust: 100%; + /* 2 */ + -moz-tab-size: 4; + /* 3 */ + -o-tab-size: 4; + tab-size: 4; + /* 3 */ + font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + /* 4 */ + font-feature-settings: normal; + /* 5 */ + font-variation-settings: normal; + /* 6 */ + -webkit-tap-highlight-color: transparent; + /* 7 */ +} + +/* +1. Remove the margin in all browsers. +2. Inherit line-height from `html` so users can set them as a class directly on the `html` element. +*/ + +body { + margin: 0; + /* 1 */ + line-height: inherit; + /* 2 */ +} + +/* +1. Add the correct height in Firefox. +2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655) +3. Ensure horizontal rules are visible by default. +*/ + +hr { + height: 0; + /* 1 */ + color: inherit; + /* 2 */ + border-top-width: 1px; + /* 3 */ +} + +/* +Add the correct text decoration in Chrome, Edge, and Safari. +*/ + +abbr:where([title]) { + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted; +} + +/* +Remove the default font size and weight for headings. +*/ + +h1, +h2, +h3, +h4, +h5, +h6 { + font-size: inherit; + font-weight: inherit; +} + +/* +Reset links to optimize for opt-in styling instead of opt-out. +*/ + +a { + color: inherit; + text-decoration: inherit; +} + +/* +Add the correct font weight in Edge and Safari. +*/ + +b, +strong { + font-weight: bolder; +} + +/* +1. Use the user's configured `mono` font-family by default. +2. Use the user's configured `mono` font-feature-settings by default. +3. Use the user's configured `mono` font-variation-settings by default. +4. Correct the odd `em` font sizing in all browsers. +*/ + +code, +kbd, +samp, +pre { + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; + /* 1 */ + font-feature-settings: normal; + /* 2 */ + font-variation-settings: normal; + /* 3 */ + font-size: 1em; + /* 4 */ +} + +/* +Add the correct font size in all browsers. +*/ + +small { + font-size: 80%; +} + +/* +Prevent `sub` and `sup` elements from affecting the line height in all browsers. +*/ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* +1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297) +2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016) +3. Remove gaps between table borders by default. +*/ + +table { + text-indent: 0; + /* 1 */ + border-color: inherit; + /* 2 */ + border-collapse: collapse; + /* 3 */ +} + +/* +1. Change the font styles in all browsers. +2. Remove the margin in Firefox and Safari. +3. Remove default padding in all browsers. +*/ + +button, +input, +optgroup, +select, +textarea { + font-family: inherit; + /* 1 */ + font-feature-settings: inherit; + /* 1 */ + font-variation-settings: inherit; + /* 1 */ + font-size: 100%; + /* 1 */ + font-weight: inherit; + /* 1 */ + line-height: inherit; + /* 1 */ + letter-spacing: inherit; + /* 1 */ + color: inherit; + /* 1 */ + margin: 0; + /* 2 */ + padding: 0; + /* 3 */ +} + +/* +Remove the inheritance of text transform in Edge and Firefox. +*/ + +button, +select { + text-transform: none; +} + +/* +1. Correct the inability to style clickable types in iOS and Safari. +2. Remove default button styles. +*/ + +button, +input:where([type='button']), +input:where([type='reset']), +input:where([type='submit']) { + -webkit-appearance: button; + /* 1 */ + background-color: transparent; + /* 2 */ + background-image: none; + /* 2 */ +} + +/* +Use the modern Firefox focus style for all focusable elements. +*/ + +:-moz-focusring { + outline: auto; +} + +/* +Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737) +*/ + +:-moz-ui-invalid { + box-shadow: none; +} + +/* +Add the correct vertical alignment in Chrome and Firefox. +*/ + +progress { + vertical-align: baseline; +} + +/* +Correct the cursor style of increment and decrement buttons in Safari. +*/ + +::-webkit-inner-spin-button, +::-webkit-outer-spin-button { + height: auto; +} + +/* +1. Correct the odd appearance in Chrome and Safari. +2. Correct the outline style in Safari. +*/ + +[type='search'] { + -webkit-appearance: textfield; + /* 1 */ + outline-offset: -2px; + /* 2 */ +} + +/* +Remove the inner padding in Chrome and Safari on macOS. +*/ + +::-webkit-search-decoration { + -webkit-appearance: none; +} + +/* +1. Correct the inability to style clickable types in iOS and Safari. +2. Change font properties to `inherit` in Safari. +*/ + +::-webkit-file-upload-button { + -webkit-appearance: button; + /* 1 */ + font: inherit; + /* 2 */ +} + +/* +Add the correct display in Chrome and Safari. +*/ + +summary { + display: list-item; +} + +/* +Removes the default spacing and border for appropriate elements. +*/ + +blockquote, +dl, +dd, +h1, +h2, +h3, +h4, +h5, +h6, +hr, +figure, +p, +pre { + margin: 0; +} + +fieldset { + margin: 0; + padding: 0; +} + +legend { + padding: 0; +} + +ol, +ul, +menu { + list-style: none; + margin: 0; + padding: 0; +} + +/* +Reset default styling for dialogs. +*/ + +dialog { + padding: 0; +} + +/* +Prevent resizing textareas horizontally by default. +*/ + +textarea { + resize: vertical; +} + +/* +1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300) +2. Set the default placeholder color to the user's configured gray 400 color. +*/ + +input::-moz-placeholder, textarea::-moz-placeholder { + opacity: 1; + /* 1 */ + color: #9ca3af; + /* 2 */ +} + +input::placeholder, +textarea::placeholder { + opacity: 1; + /* 1 */ + color: #9ca3af; + /* 2 */ +} + +/* +Set the default cursor for buttons. +*/ + +button, +[role="button"] { + cursor: pointer; +} + +/* +Make sure disabled buttons don't get the pointer cursor. +*/ + +:disabled { + cursor: default; +} + +/* +1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14) +2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210) + This can trigger a poorly considered lint error in some tools but is included by design. +*/ + +img, +svg, +video, +canvas, +audio, +iframe, +embed, +object { + display: block; + /* 1 */ + vertical-align: middle; + /* 2 */ +} + +/* +Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14) +*/ + +img, +video { + max-width: 100%; + height: auto; +} + +/* Make elements with the HTML hidden attribute stay hidden by default */ + +[hidden]:where(:not([hidden="until-found"])) { + display: none; +} + +blockquote { + position: relative; + margin: 2rem; + border-left-width: 4px; + --tw-border-opacity: 1; + border-color: rgb(132 204 22 / var(--tw-border-opacity, 1)); + padding: 1.5rem; + padding-top: 0.25rem; + padding-bottom: 0.25rem; + font-family: baskerville, serif; +} + +blockquote p:last-of-type { + margin-top: 1rem; + text-align: center; + text-transform: uppercase; + letter-spacing: 0.025em; +} + +h1 { + margin-top: 1rem; + margin-bottom: 1rem; + font-size: 3rem; + line-height: 1; + font-weight: 700; +} + +h2 { + margin-top: 1rem; + margin-bottom: 1rem; + font-size: 2.25rem; + line-height: 2.5rem; + font-weight: 700; +} + +h3 { + margin-top: 1rem; + margin-bottom: 1rem; + font-size: 1.875rem; + line-height: 2.25rem; + font-weight: 700; +} + +h4 { + margin-top: 1rem; + margin-bottom: 1rem; + font-size: 1.5rem; + line-height: 2rem; + font-weight: 700; +} + +h5 { + margin-top: 1rem; + margin-bottom: 1rem; + font-size: 1.25rem; + line-height: 1.75rem; + font-weight: 700; +} + +h6 { + margin-top: 1rem; + margin-bottom: 1rem; + font-size: 1.125rem; + line-height: 1.75rem; + font-weight: 700; +} + +.container { + width: 100%; +} + +@media (min-width: 640px) { + .container { + max-width: 640px; + } +} + +@media (min-width: 768px) { + .container { + max-width: 768px; + } +} + +@media (min-width: 1024px) { + .container { + max-width: 1024px; + } +} + +@media (min-width: 1280px) { + .container { + max-width: 1280px; + } +} + +@media (min-width: 1536px) { + .container { + max-width: 1536px; + } +} + +#hero { + text-shadow: 2px 2px 3px black; +} + +.main-content { + p { + margin-top: 1rem; + margin-bottom: 1rem; + } + p { + font-size: 1.25rem; + line-height: 1.75rem; + } + p { + code { + padding-left: 0.25rem; + padding-right: 0.25rem; + } + code { + --tw-text-opacity: 1; + color: rgb(59 130 246 / var(--tw-text-opacity, 1)); + } + } +} + +.main-content a { + padding-left: 0.25rem; + padding-right: 0.25rem; + --tw-text-opacity: 1; + color: rgb(132 204 22 / var(--tw-text-opacity, 1)); +} + +.main-content a[href^="http"]::after { + content: ""; + width: 11px; + height: 11px; + margin-left: 4px; + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E"); + background-position: center; + background-repeat: no-repeat; + background-size: contain; + display: inline-block; +} + +.main-content { + dl { + padding-left: 2rem; + padding-right: 2rem; + } + dl { + font-size: 1.25rem; + line-height: 1.75rem; + } + dt { + font-weight: 700; + } + dd { + margin-left: 2rem; + } + .highlight { + .chroma { + overflow-x: scroll; + } + .chroma { + padding: 0.25rem; + } + } +} + +.cv-entry, + .cv-honor { + position: relative; + margin-left: 1rem; + padding-left: 2rem; + padding-bottom: 0.5rem; + .cv-role { + margin: 0px; + } + .cv-host, + .cv-date, + .cv-location { + margin: 0px; + } + .cv-host, + .cv-date, + .cv-location { + padding: 0px; + } + .cv-host, + .cv-date, + .cv-location { + font-weight: 300; + } + .cv-host::before { + font-family: "Font Awesome 6 Free"; + content: "\f1ad"; + font-weight: 900; + margin: 0 0.5rem; + } + .cv-location::before { + font-family: "Font Awesome 6 Free"; + content: "\f041"; + font-weight: 900; + margin: 0 0.5rem; + } + p { + margin-top: 0.5rem; + margin-bottom: 0.5rem; + } + p { + font-size: 1rem; + line-height: 1.5rem; + } + ul { + all: revert; + } +} + +.cv-entry { + border-left-width: 1px; + --tw-border-opacity: 1; + border-color: rgb(156 163 175 / var(--tw-border-opacity, 1)); + .cv-role::before { + content: ""; + position: absolute; + width: 2rem; + height: 2rem; + background-color: #79c753; + border-radius: 50%; + transform: translateX(-50%); + left: 0; + } + .cv-date, + .cv-location { + display: inline-block; + } + .cv-date::before { + font-family: "Font Awesome 6 Free"; + content: "\f133"; + font-weight: 900; + margin: 0 0.5rem; + } +} + +.cv-honor { + .cv-role { + margin-left: 3rem; + } + .cv-role { + font-size: 1.25rem; + line-height: 1.75rem; + } + .cv-date { + top: 0.05rem; + } + .cv-date { + position: absolute; + } + .cv-date { + left: 0px; + } + .cv-date { + font-size: 1.25rem; + line-height: 1.75rem; + } + .cv-date::before { + font-family: "Font Awesome 6 Free"; + color: #ffb700; + content: "\f559"; + font-weight: 900; + margin: 0 0.5rem; + } +} + +.comment { + position: relative; + margin-top: 0.5rem; + margin-bottom: 0.5rem; + border-left-width: 1px; + --tw-border-opacity: 1; + border-color: rgb(132 204 22 / var(--tw-border-opacity, 1)); + padding-left: 1rem; + h3, + h4, + h5, + h6 { + margin-top: 0px; + margin-bottom: 0px; + } + h3, + h4, + h5, + h6 { + padding-left: 0.5rem; + } + h3, + h4, + h5, + h6 { + &::before { + font-family: "Font Awesome 6 Free"; + color: #79c753; + content: "\f075"; + font-weight: 900; + font-size: 2rem; + position: absolute; + left: -0.75rem; + top: -1rem; + transform: scaleX(-1); + } + } +} + +/* https://lubna.dev/articles/create-css-only-image-gallery/ */ + +.gallery { + --max-img-width: 72rem; + --max-img-height: 48rem; + max-width: var(--max-img-width); + padding-top: min(66%, var(--max-img-height)); + input:checked + img { + opacity: 1; + } + input:checked ~ label > img { + --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); + --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color); + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); + } + input:checked ~ label > img { + --tw-shadow-color: #84cc16; + --tw-shadow: var(--tw-shadow-colored); + } +} + +.collapse { + visibility: collapse; +} + +.static { + position: static; +} + +.fixed { + position: fixed; +} + +.absolute { + position: absolute; +} + +.relative { + position: relative; +} + +.bottom-0 { + bottom: 0px; +} + +.left-0 { + left: 0px; +} + +.right-0 { + right: 0px; +} + +.top-0 { + top: 0px; +} + +.float-right { + float: right; +} + +.float-left { + float: left; +} + +.m-0 { + margin: 0px; +} + +.m-1 { + margin: 0.25rem; +} + +.m-2 { + margin: 0.5rem; +} + +.m-4 { + margin: 1rem; +} + +.mx-0 { + margin-left: 0px; + margin-right: 0px; +} + +.mx-1 { + margin-left: 0.25rem; + margin-right: 0.25rem; +} + +.mx-auto { + margin-left: auto; + margin-right: auto; +} + +.my-0 { + margin-top: 0px; + margin-bottom: 0px; +} + +.my-1 { + margin-top: 0.25rem; + margin-bottom: 0.25rem; +} + +.my-2 { + margin-top: 0.5rem; + margin-bottom: 0.5rem; +} + +.my-3 { + margin-top: 0.75rem; + margin-bottom: 0.75rem; +} + +.my-4 { + margin-top: 1rem; + margin-bottom: 1rem; +} + +.\!mt-1 { + margin-top: 0.25rem !important; +} + +.ml-2 { + margin-left: 0.5rem; +} + +.mt-3 { + margin-top: 0.75rem; +} + +.mt-4 { + margin-top: 1rem; +} + +.block { + display: block; +} + +.inline-block { + display: inline-block; +} + +.inline { + display: inline; +} + +.flex { + display: flex; +} + +.table { + display: table; +} + +.grid { + display: grid; +} + +.contents { + display: contents; +} + +.hidden { + display: none; +} + +.h-4 { + height: 1rem; +} + +.h-64 { + height: 16rem; +} + +.h-full { + height: 100%; +} + +.min-h-screen { + min-height: 100vh; +} + +.w-16 { + width: 4rem; +} + +.w-64 { + width: 16rem; +} + +.w-full { + width: 100%; +} + +.max-w-3xl { + max-width: 48rem; +} + +.max-w-64 { + max-width: 16rem; +} + +.max-w-lg { + max-width: 32rem; +} + +.max-w-screen-md { + max-width: 768px; +} + +.grow { + flex-grow: 1; +} + +.transform { + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.cursor-pointer { + cursor: pointer; +} + +.items-start { + align-items: flex-start; +} + +.items-center { + align-items: center; +} + +.justify-center { + justify-content: center; +} + +.justify-between { + justify-content: space-between; +} + +.overflow-hidden { + overflow: hidden; +} + +.rounded { + border-radius: 0.25rem; +} + +.rounded-full { + border-radius: 9999px; +} + +.rounded-lg { + border-radius: 0.5rem; +} + +.rounded-md { + border-radius: 0.375rem; +} + +.rounded-b-md { + border-bottom-right-radius: 0.375rem; + border-bottom-left-radius: 0.375rem; +} + +.rounded-t-md { + border-top-left-radius: 0.375rem; + border-top-right-radius: 0.375rem; +} + +.border { + border-width: 1px; +} + +.border-y { + border-top-width: 1px; + border-bottom-width: 1px; +} + +.border-t { + border-top-width: 1px; +} + +.border-current { + border-color: currentColor; +} + +.border-gray-200 { + --tw-border-opacity: 1; + border-color: rgb(229 231 235 / var(--tw-border-opacity, 1)); +} + +.border-gray-500 { + --tw-border-opacity: 1; + border-color: rgb(107 114 128 / var(--tw-border-opacity, 1)); +} + +.bg-black { + --tw-bg-opacity: 1; + background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1)); +} + +.bg-black\/80 { + background-color: rgb(0 0 0 / 0.8); +} + +.bg-gray-100 { + --tw-bg-opacity: 1; + background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1)); +} + +.bg-gray-200 { + --tw-bg-opacity: 1; + background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1)); +} + +.bg-gray-400 { + --tw-bg-opacity: 1; + background-color: rgb(156 163 175 / var(--tw-bg-opacity, 1)); +} + +.bg-green-600 { + --tw-bg-opacity: 1; + background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1)); +} + +.bg-lime-50 { + --tw-bg-opacity: 1; + background-color: rgb(247 254 231 / var(--tw-bg-opacity, 1)); +} + +.bg-lime-500 { + --tw-bg-opacity: 1; + background-color: rgb(132 204 22 / var(--tw-bg-opacity, 1)); +} + +.bg-lime-700 { + --tw-bg-opacity: 1; + background-color: rgb(77 124 15 / var(--tw-bg-opacity, 1)); +} + +.bg-red-100 { + --tw-bg-opacity: 1; + background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1)); +} + +.bg-red-50 { + --tw-bg-opacity: 1; + background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1)); +} + +.bg-red-600 { + --tw-bg-opacity: 1; + background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1)); +} + +.bg-transparent { + background-color: transparent; +} + +.bg-white { + --tw-bg-opacity: 1; + background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1)); +} + +.bg-opacity-40 { + --tw-bg-opacity: 0.4; +} + +.p-0 { + padding: 0px; +} + +.p-1 { + padding: 0.25rem; +} + +.p-2 { + padding: 0.5rem; +} + +.p-4 { + padding: 1rem; +} + +.p-8 { + padding: 2rem; +} + +.px-0 { + padding-left: 0px; + padding-right: 0px; +} + +.px-1 { + padding-left: 0.25rem; + padding-right: 0.25rem; +} + +.px-2 { + padding-left: 0.5rem; + padding-right: 0.5rem; +} + +.px-4 { + padding-left: 1rem; + padding-right: 1rem; +} + +.px-8 { + padding-left: 2rem; + padding-right: 2rem; +} + +.py-1 { + padding-top: 0.25rem; + padding-bottom: 0.25rem; +} + +.py-16 { + padding-top: 4rem; + padding-bottom: 4rem; +} + +.py-2 { + padding-top: 0.5rem; + padding-bottom: 0.5rem; +} + +.py-4 { + padding-top: 1rem; + padding-bottom: 1rem; +} + +.pb-2 { + padding-bottom: 0.5rem; +} + +.pl-2 { + padding-left: 0.5rem; +} + +.text-center { + text-align: center; +} + +.text-right { + text-align: right; +} + +.font-sans { + font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; +} + +.font-serif { + font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; +} + +.\!text-sm { + font-size: 0.875rem !important; + line-height: 1.25rem !important; +} + +.text-2xl { + font-size: 1.5rem; + line-height: 2rem; +} + +.text-4xl { + font-size: 2.25rem; + line-height: 2.5rem; +} + +.text-base { + font-size: 1rem; + line-height: 1.5rem; +} + +.text-lg { + font-size: 1.125rem; + line-height: 1.75rem; +} + +.text-sm { + font-size: 0.875rem; + line-height: 1.25rem; +} + +.text-xl { + font-size: 1.25rem; + line-height: 1.75rem; +} + +.font-bold { + font-weight: 700; +} + +.font-light { + font-weight: 300; +} + +.font-normal { + font-weight: 400; +} + +.font-semibold { + font-weight: 600; +} + +.uppercase { + text-transform: uppercase; +} + +.ordinal { + --tw-ordinal: ordinal; + font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction); +} + +.leading-none { + line-height: 1; +} + +.leading-normal { + line-height: 1.5; +} + +.text-amber-400 { + --tw-text-opacity: 1; + color: rgb(251 191 36 / var(--tw-text-opacity, 1)); +} + +.text-black { + --tw-text-opacity: 1; + color: rgb(0 0 0 / var(--tw-text-opacity, 1)); +} + +.text-green-600 { + --tw-text-opacity: 1; + color: rgb(22 163 74 / var(--tw-text-opacity, 1)); +} + +.text-lime-500 { + --tw-text-opacity: 1; + color: rgb(132 204 22 / var(--tw-text-opacity, 1)); +} + +.text-red-600 { + --tw-text-opacity: 1; + color: rgb(220 38 38 / var(--tw-text-opacity, 1)); +} + +.text-slate-900 { + --tw-text-opacity: 1; + color: rgb(15 23 42 / var(--tw-text-opacity, 1)); +} + +.text-white { + --tw-text-opacity: 1; + color: rgb(255 255 255 / var(--tw-text-opacity, 1)); +} + +.underline { + text-decoration-line: underline; +} + +.opacity-0 { + opacity: 0; +} + +.outline-2 { + outline-width: 2px; +} + +.outline-4 { + outline-width: 4px; +} + +.invert { + --tw-invert: invert(100%); + filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); +} + +.filter { + filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); +} + +.transition { + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter; + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter; + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); + transition-duration: 150ms; +} + +.transition-opacity { + transition-property: opacity; + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); + transition-duration: 150ms; +} + +.duration-300 { + transition-duration: 300ms; +} + +@font-face { + font-family: "BerkshireSwash-Regular"; + + font-display: optional; + + src: + url("/css/fonts/BerkshireSwash-Regular.ttf.woff") format("woff"), + url("/css/fonts/BerkshireSwash-Regular.ttf.svg#BerkshireSwash-Regular") + format("svg"), + url("/css/fonts/BerkshireSwash-Regular.ttf.eot"), + url("/css/fonts/BerkshireSwash-Regular.ttf.eot?#iefix") + format("embedded-opentype"); + + font-weight: normal; + + font-style: normal; +} + +.berkshire-swash { + font-family: "BerkshireSwash-Regular"; +} + +.baskerville { + font-family: baskerville, serif; +} + +blockquote::before { + font-family: "Font Awesome 6 Free"; + color: #79c753; + content: "\f10d"; + font-weight: 900; + font-size: 2rem; + position: absolute; + left: 10px; + top: -15px; +} + +.odd\:bg-white:nth-child(odd) { + --tw-bg-opacity: 1; + background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1)); +} + +.even\:bg-gray-200:nth-child(even) { + --tw-bg-opacity: 1; + background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1)); +} + +.hover\:scale-105:hover { + --tw-scale-x: 1.05; + --tw-scale-y: 1.05; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); +} + +.hover\:bg-gray-100:hover { + --tw-bg-opacity: 1; + background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1)); +} + +.hover\:bg-gray-200:hover { + --tw-bg-opacity: 1; + background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1)); +} + +.hover\:bg-lime-500:hover { + --tw-bg-opacity: 1; + background-color: rgb(132 204 22 / var(--tw-bg-opacity, 1)); +} + +.hover\:opacity-50:hover { + opacity: 0.5; +} + +@media (min-width: 768px) { + .md\:float-left { + float: left; + } + + .md\:m-4 { + margin: 1rem; + } + + .md\:flex { + display: flex; + } + + .md\:hidden { + display: none; + } + + .md\:shrink-0 { + flex-shrink: 0; + } + + .md\:flex-row { + flex-direction: row; + } +} -- cgit v1.2.3