Skip to content

Commit

Permalink
size adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Maija Y committed Oct 17, 2023
1 parent 7fdbb74 commit 2a58ab1
Showing 1 changed file with 32 additions and 26 deletions.
58 changes: 32 additions & 26 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,35 +16,38 @@ export default function Page() {
display: flex;
flex-wrap: wrap;
width: 100%;
max-width: 760px;
max-width: 768px;
align-items: center;
overflow: hidden;
justify-content: space-between;
margin: auto;
`}>
<div className={css`
display: flex;
align-items: center;
justify-content: center;
gap:10px;
justify-content: space-between;
width:65%;
`}>

<div className={css`
display: flex;
align-items: center;
`}>

`}>
<div className={css`
height: 80px;
width: 8px;
height: 95px;
width: 10px;
border-left: 1px solid black;
border-top: 1px solid black;
border-bottom: 1px solid black;
`} />

<div className={css`
display:inline-grid;
height: 55px;
grid-template-columns: 58px 58px;
grid-column-gap: 4px;
grid-row-gap: 4px;
height: 65px;
grid-template-columns: 60px 60px;
grid-column-gap: 6px;
grid-row-gap: 6px;
`}>
<input type="number" value={a} step=".1" onChange={(event) => setA(event.target.valueAsNumber)} />
<input type="number" value={b} step=".1" onChange={(event) => setB(event.target.valueAsNumber)} />
Expand All @@ -53,29 +56,30 @@ export default function Page() {
</div>

<div className={css`
height: 80px;
width: 8px;
height: 95px;
width: 10px;
border-right: 1px solid black;
border-top: 1px solid black;
border-bottom: 1px solid black;
`} />
</div>

<div className={css`
font-size: 26px;
padding-left: 15px;
padding: 10px;
font-size: 30px;
`}>&times;</div>

<div className={css`
display: flex;
align-items: center;
padding-right: 25px;
justify-content: center;
width: 190px;
height: 190px;
width: 200px;
height: 200px;
`}>
<img src="https://rage.github.io/introduction-to-matrix-calculus/static/c4b8116295cab8e3c208d824de6ffd01/5a46d/hedelmat.png"
width={155}
height={155}
width={185}
height={185}
alt="Picture of a fruitbowl"
/>
</div>
Expand All @@ -84,23 +88,25 @@ export default function Page() {
<div className={css`
display: flex;
align-items: center;
gap: 20px;
`}>
justify-content: space-between;
`}>
<p className={css`
font-size: 26px;
font-size: 30px;
padding-right: 35px;
`}>=</p>

<div className={css`
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
width: 190px;
height: 190px;
width: 200px;
height: 200px;
`}>
<img src="https://rage.github.io/introduction-to-matrix-calculus/static/c4b8116295cab8e3c208d824de6ffd01/5a46d/hedelmat.png"
alt="Matrix linear transformation visualization"
width={155}
height={155}
width={185}
height={185}
className={css`
transform: matrix(${a}, ${b}, ${c} , ${d}, 0, 0);
`} />
Expand Down

0 comments on commit 2a58ab1

Please sign in to comment.