Skip to content

Commit

Permalink
changed back to baseline-20
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbreese committed May 22, 2024
1 parent dbfa61f commit 216817e
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/components/layout/global-footer.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const GlobalFooter = () => {
return (
<div
className="global-footer basefont-18 rs-py-1 text-white bg-cardinal-red">
className="global-footer basefont-20 rs-py-1 text-white bg-cardinal-red">
<div className="centered flex flex-col lg:flex-row" title="Common Stanford resources">
<div className="text-center mt-5 mb-9">
<a rel="nofollow" className="logo text-white hocus:text-white type-3" href="https://www.stanford.edu">
Expand Down
2 changes: 1 addition & 1 deletion src/components/node/stanford-course/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const StanfordCourseCard = ({node, h3Heading, ...props}: Props) => {
const HeadingElement = h3Heading ? 'h3' : 'h2';
return (
<article
className="block w-full basefont-18 leading-display bg-white text-black border border-solid border-black-10 shadow-md rs-pt-2 rs-px-2 rs-pb-3" {...props}>
className="block w-full basefont-20 leading-display bg-white text-black border border-solid border-black-10 shadow-md rs-pt-2 rs-px-2 rs-pb-3" {...props}>
<div className="rs-pb-0">
<span className="font-bold leading-cozy">
{node.suCourseSubject?.name}
Expand Down
2 changes: 1 addition & 1 deletion src/components/node/stanford-person/horizontal-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const HorizontalPersonCard = ({node, h3Heading, ...props}: Props) => {

return (
<article
className="flex flex-col @3xl:flex-row w-full basefont-18 leading-display bg-white text-black border-x border-t border-b-5 border-solid border-black-10 border-b-digital-red shadow-md rs-pt-2 rs-px-2 rs-pb-3 mt-0" {...props}>
className="flex flex-col @3xl:flex-row w-full basefont-20 leading-display bg-white text-black border-x border-t border-b-5 border-solid border-black-10 border-b-digital-red shadow-md rs-pt-2 rs-px-2 rs-pb-3 mt-0" {...props}>
{imageUrl &&
<div className="flex items-center mx-auto mb-50 @3xl:ml-0 @3xl:mb-0 @3xl:mr-50">
<div className="relative aspect-[1/1] w-[155px]">
Expand Down
2 changes: 1 addition & 1 deletion src/components/node/stanford-person/list-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const StanfordPersonListItem = ({node, ...props}: { node: NodeStanfordPerson })

return (
<article
className="@container flex flex-col gap-lg w-full basefont-18 leading-display bg-white text-black" {...props}>
className="@container flex flex-col gap-lg w-full basefont-20 leading-display bg-white text-black" {...props}>
{imageUrl &&
<div
className="relative rounded-full overflow-hidden aspect-[1/1] w-[130px] @lg:w-[215px] mx-auto">
Expand Down
2 changes: 1 addition & 1 deletion src/components/node/stanford-person/vertical-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const VerticalPersonCard = ({node, h3Heading, ...props}: Props) => {

return (
<article
className="@container w-full basefont-18 leading-display bg-white text-black border-x border-t-5 border-b border-solid border-black-10 border-t-digital-red shadow-md rs-pt-2 rs-px-2 rs-pb-3 mt-70" {...props}>
className="@container w-full basefont-20 leading-display bg-white text-black border-x border-t-5 border-b border-solid border-black-10 border-t-digital-red shadow-md rs-pt-2 rs-px-2 rs-pb-3 mt-70" {...props}>
{imageUrl &&
<div
className="relative flex justify-center pb-70 @lg:pb-80">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const ManualFieldsCard = ({paragraph}: Props) => {
return (
<div className="@container">
<div
className="flex w-full basefont-18 leading-display shadow-md border-0 rounded flex-col @6xl:flex-row">
className="flex w-full basefont-20 leading-display shadow-md border-0 rounded flex-col @6xl:flex-row">

{imageUrl &&
<div className="overflow-hidden aspect-[16/9] relative flex-shrink-0 @6xl:w-1/2">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const NodeReferenceCard = ({paragraph}: Props) => {
return (
<div className="@container">
<div
className="flex w-full basefont-18 leading-display shadow-md border-0 rounded flex-col @6xl:flex-row">
className="flex w-full basefont-20 leading-display shadow-md border-0 rounded flex-col @6xl:flex-row">

{imageUrl &&
<div className="overflow-hidden aspect-[16/9] relative flex-shrink-0 @6xl:w-1/2">
Expand Down
4 changes: 2 additions & 2 deletions src/components/patterns/banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const Banner = ({
const hasCardText = header || superHeader || body || link;

return (
<div className="hero basefont-18 relative h-full mx-auto w-full lg:max-h-500" {...props}>
<div className="hero basefont-20 relative h-full mx-auto w-full lg:max-h-500" {...props}>
<div
className="w-full overflow-hidden relative max-h-500 min-h-[30rem] lg:min-h-[50rem] bg-[grey]">
{image}
Expand All @@ -41,7 +41,7 @@ const Banner = ({
<div
className={`mx-auto block lg:absolute lg:top-auto lg:bottom-36 ${overlayPosition === 'right' ? 'lg:right-36' : 'lg:left-36'}`}>
<div
className="card basefont-18 leading-display bg-white text-black border border-solid border-black-10 shadow relative lg:max-w-[50%]">
className="card basefont-20 leading-display bg-white text-black border border-solid border-black-10 shadow relative lg:max-w-[50%]">
<Card
header={header}
superHeader={superHeader}
Expand Down
2 changes: 1 addition & 1 deletion src/components/patterns/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const Card = ({
}
return (
<div
className="card block w-full basefont-18 leading-display bg-white text-black border border-solid border-black-10 shadow-md">
className="card block w-full basefont-20 leading-display bg-white text-black border border-solid border-black-10 shadow-md">

{(image) &&
<div className="overflow-hidden aspect-[16/9] relative" aria-hidden="true">
Expand Down
2 changes: 1 addition & 1 deletion src/components/patterns/horizontal-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const HorizontalCard = ({
}

<div
className="@container centered relative basefont-18 leading-display text-white mt-[77px] @6xl:mt-0 pt-[5.8rem] pb-[7.2rem] lg:px-80">
className="@container centered relative basefont-20 leading-display text-white mt-[77px] @6xl:mt-0 pt-[5.8rem] pb-[7.2rem] lg:px-80">

<div className="grid @6xl:grid-cols-2 gap-2xl items-center">
{(image || video) &&
Expand Down

0 comments on commit 216817e

Please sign in to comment.