Skip to content

Commit

Permalink
fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
koh110 committed Oct 18, 2024
1 parent 8b8fa1c commit cb80b31
Show file tree
Hide file tree
Showing 5 changed files with 783 additions and 507 deletions.
13 changes: 2 additions & 11 deletions app/(commonLayout)/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,7 @@
align-items: center;
margin: 0 auto;
container: layout / inline-size;
background: var(--color-base);
}

.layout::before {
position: absolute;
top: 0;
content: '';
height: 100%;
width: 100vw;
background: linear-gradient(90deg, rgba(75, 108, 183, 1) 0%, rgba(24, 40, 72, 1) 100%);
background: linear-gradient(90deg, rgba(70, 120, 231, 1) 0%, rgba(151, 3, 146, 1) 100%);
}

.contents {
Expand All @@ -24,7 +15,7 @@
width: 100%;
min-height: 100vh;
color: rgba(255, 255, 255, 1);
}
}

.contents_wrapper {
width: 100%;
Expand Down
5 changes: 3 additions & 2 deletions components/Menu/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
min-width: min(980px, 90cqw);
display: flex;
font-size: 1rem;
flex: 1;
position: relative;
overflow: hidden;
}

.menu {
Expand Down Expand Up @@ -56,7 +57,7 @@
.selector {
position: absolute;
height: 100%;
width: calc(100% / 5);
width: calc(100% / 5 - var(--radius) / 2);
transition: all 0.3s;
}

Expand Down
2 changes: 1 addition & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
Loading

0 comments on commit cb80b31

Please sign in to comment.