Skip to content

Commit

Permalink
fix index size
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsliu9121 committed Jul 1, 2022
1 parent 9bef071 commit 18007dd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
1 change: 1 addition & 0 deletions src/app.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ globalStyle(
width: '100vw',
overflowX: 'hidden',
scrollSnapType: 'y mandatory',
scrollSnapAlign: 'center',
},
)

Expand Down
11 changes: 6 additions & 5 deletions src/lib/blocks/IndexBlock/IndexBlock.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ import {colors} from '../../styles/colors'

export const logoContainer = style({
position: 'absolute',
top: '-25vw',
left: '-50vw',
width: '200vw',
height: '200vw',
top: '-15%',
left: '50%',
width: '100vh',
height: '100vh',
backgroundColor: colors['Dark Lava Light'],
boxShadow: `0 0 3px ${colors['Dark Lava Light']}`,
borderRadius: '200vw',
transform: 'translate3d(-50%, 0, 0)',
borderRadius: '100vh',
zIndex: 1,
})

Expand Down
5 changes: 4 additions & 1 deletion src/lib/components/Footer/Footer.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ import {style} from '@vanilla-extract/css'
import {colors} from '../../styles/colors'

export const footer = style({
display: 'flex',
flexDirection: 'column',
justifyContent: 'end',
padding: '3rem 1rem',
color: colors.White,
backgroundColor: colors['Dark Lava'],
background: `linear-gradient(to bottom, ${colors['Dark Lava Light']}, ${colors['Dark Lava']})`,
})

export const title = style({
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/Footer/Footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
</h5>

<h6 class={subtitle}>
2022 總統盃 黑客松 參賽隊伍 文譯之間
2022 總統盃黑客松 參賽隊伍 文譯之間
</h6>
</footer>

0 comments on commit 18007dd

Please sign in to comment.