This repository has been archived by the owner on Nov 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add: yataiの装飾(absolute多用はここは許して欲しいです、、、)
- Loading branch information
Showing
4 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
h1{ | ||
font-size: 40px; | ||
} | ||
|
||
.title{ | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
z-index: 1; | ||
padding: 16px; | ||
margin: 0; | ||
} | ||
.nobori img{ | ||
position: absolute; | ||
bottom: 0; | ||
left: -240px; | ||
height: 80vh; | ||
aspect-ratio: 1 / 1; | ||
z-index: -1; | ||
} | ||
|
||
.light img{ | ||
position: absolute; | ||
top: 0; | ||
left: 0px; | ||
height: 80vh; | ||
aspect-ratio: 1 / 1; | ||
z-index: -1; | ||
} | ||
|
||
.container { | ||
display: flex; | ||
align-items: flex-end; | ||
position: absolute; | ||
bottom: 16px; | ||
left: 4vw; | ||
z-index: 1; | ||
} | ||
|
||
.logo img { | ||
height: 16vh; | ||
aspect-ratio: 1 / 1; | ||
margin-right: 2vw; | ||
} | ||
|
||
.shop { | ||
color: var(--white); | ||
font-size: 4vw; | ||
padding: 16px; | ||
margin: 0; | ||
} | ||
|
||
.light-right img{ | ||
position: absolute; | ||
top: 0; | ||
right: 0px; | ||
height: 80vh; | ||
aspect-ratio: 1 / 1; | ||
z-index: -1; | ||
transform: scale(-1, 1); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import styles from "./index.module.css" | ||
|
||
function Garally() { | ||
return ( | ||
<div> | ||
<h1 className={styles.title}>VIRTUAL_NATSUMATSURI</h1> | ||
<div className={styles.nobori}> | ||
<img src="/2D_material/nobori.webp" alt="夏祭り_のぼり" /> | ||
</div> | ||
<div className={styles.light}> | ||
<img src="/2D_material/red_small_lite.webp" alt="提灯" /> | ||
</div> | ||
<div className={styles.container}> | ||
<div className={styles.logo}> | ||
<img src="/logo.webp" alt="logo" /> | ||
</div> | ||
<p className={styles.shop}>VIRTUAL_NATSUMATSURI</p> | ||
</div> | ||
<div className={styles["light-right"]}> | ||
<img src="/2D_material/red_small_lite.webp" alt="提灯" /> | ||
</div> | ||
</div> | ||
) | ||
} | ||
export default Garally; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ | |
.canvas { | ||
width: 100%; | ||
height: 100%; | ||
background-color: transparent; | ||
} | ||
|
||
.target { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters