-
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.
- Loading branch information
Showing
3 changed files
with
190 additions
and
13 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,8 @@ | ||
import '../styles.css'; // Import the global CSS here | ||
import { AppProps } from 'next/app'; | ||
|
||
function MyApp({ Component, pageProps }: AppProps) { | ||
return <Component {...pageProps} />; | ||
} | ||
|
||
export default MyApp; |
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
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,121 @@ | ||
body { | ||
font-family: 'Noto Sans JP', sans-serif; | ||
background-color: #f7f3e9; | ||
color: #333; | ||
margin: 0; | ||
padding: 0; | ||
display: flex; | ||
flex-direction: column; | ||
min-height: 100vh; | ||
} | ||
|
||
h1, | ||
h2, | ||
h3 { | ||
color: #d32f2f; | ||
/* Traditional Japanese red */ | ||
} | ||
|
||
div { | ||
margin: 20px; | ||
flex: 1; | ||
/* This makes the main content area take up available space */ | ||
} | ||
|
||
label { | ||
display: block; | ||
margin-bottom: 10px; | ||
color: #333; | ||
} | ||
|
||
input[type="text"], | ||
textarea { | ||
width: 100%; | ||
padding: 10px; | ||
margin-top: 5px; | ||
margin-bottom: 20px; | ||
border: 1px solid #ccc; | ||
border-radius: 4px; | ||
background-color: #fff; | ||
color: #333; | ||
} | ||
|
||
button { | ||
background-color: #d32f2f; | ||
color: #fff; | ||
padding: 10px 20px; | ||
border: none; | ||
border-radius: 4px; | ||
cursor: pointer; | ||
transition: background-color 0.3s ease; | ||
} | ||
|
||
button:disabled { | ||
background-color: #ccc; | ||
} | ||
|
||
button:hover:enabled { | ||
background-color: #b71c1c; | ||
} | ||
|
||
pre { | ||
background-color: #fff; | ||
padding: 10px; | ||
border: 1px solid #ccc; | ||
border-radius: 4px; | ||
overflow-x: auto; | ||
color: #333; | ||
} | ||
|
||
a { | ||
color: #d32f2f; | ||
text-decoration: none; | ||
} | ||
|
||
a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
footer { | ||
background-color: #333; | ||
color: #fff; | ||
text-align: center; | ||
padding: 20px; | ||
width: 100%; | ||
position: relative; | ||
bottom: 0; | ||
} | ||
|
||
.warning-banner { | ||
background-color: #ffcc00; | ||
color: #333; | ||
text-align: center; | ||
padding: 10px; | ||
font-weight: bold; | ||
} | ||
|
||
.simulation-result { | ||
background-color: #fff; | ||
padding: 10px; | ||
border: 1px solid #ccc; | ||
border-radius: 4px; | ||
margin-top: 20px; | ||
} | ||
|
||
.simulation-result h3 { | ||
color: #d32f2f; | ||
} | ||
|
||
.simulation-result button { | ||
background-color: #d32f2f; | ||
color: #fff; | ||
padding: 10px 20px; | ||
border: none; | ||
border-radius: 4px; | ||
cursor: pointer; | ||
transition: background-color 0.3s ease; | ||
} | ||
|
||
.simulation-result button:hover { | ||
background-color: #b71c1c; | ||
} |