Skip to content

Commit

Permalink
[feat] change specific css
Browse files Browse the repository at this point in the history
- change title
- make border thin
- place description in left
  • Loading branch information
tinajeong committed Aug 12, 2022
1 parent 7385e1c commit 5cfc43e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/component/Artwork.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,14 @@ export default function Artwork() {
transitionEnter={false}
transitionLeave={false}
>
<div className="grid md:grid-cols-2 md:grid-rows-1 sm:grid-rows-2 sm:grid-cols-1 place-items-center md:border-x-2 bg-white">
<div className="grid md:grid-cols-2 md:grid-rows-1 sm:grid-rows-2 sm:grid-cols-1 place-items-center md:border-x-1.5 bg-white">
<img
src={fetched["primaryImage"] + "?tr=w-1,h-1"}
alt={"artwork image"}
className="p-8 md:max-w-md lg:max-w-lg"
loading="lazy"
/>
<div className="flex flex-col border-l-4 border-slate-300 p-4">
<div className="flex flex-col border-l-2 border-slate-300 p-4">
<div
className="flex flex-row flex-wrap transition ease-in-out delay-150 hover:scale-105 hover:text-slate-500 duration-150 justify-self-start tracking-tight font-extrabold bg-white text-slate-900 text-3xl md:text-2xl sm:text-lg mb-2"
onClick={searchTitle}
Expand Down
2 changes: 1 addition & 1 deletion src/component/NavigationBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default function NavigationBar() {
<div className="nav bg-white underline underline-offset-4 border-y-2 border-slate-800 text-left grid grid-cols-4 pt-2 pb-2 place-items-center">
<Link
to="/"
className="text-slate-800 font-extrabold text-3xl md:text-2xl sm:text-lg col-span-3 mx-auto ml-8 text"
className="text-slate-800 font-extrabold text-3xl md:text-xl sm:text-md col-span-3 mx-auto ml-8 text"
>
Today's Artwork
</Link>
Expand Down
2 changes: 1 addition & 1 deletion src/component/SimpleArtwork.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default function SimpleArtwork() {
className="self-center md:max-w-md lg:max-w-lg"
/>

<div className="m-4 p-2 self-center border-l-4 border-r-4 border-slate-200">
<div className="m-4 p-2 self-left border-l-2 border-slate-200">
<h2 className="text-slate-900 text-md text-gray-900 mb-2">
{artwork.title}
</h2>
Expand Down

1 comment on commit 5cfc43e

@vercel
Copy link

@vercel vercel bot commented on 5cfc43e Aug 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

artworks – ./

artworks-git-main-tinajeong.vercel.app
artworks-tinajeong.vercel.app
artworks-tau.vercel.app

Please sign in to comment.