-
Notifications
You must be signed in to change notification settings - Fork 70
Scales for Dummies #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
e6d86dd
a71d7f0
dddf91b
4744dc6
6feb548
c568d8c
3359395
2954267
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,19 +1,231 @@ | ||
| * { | ||
| margin: 0; | ||
| padding: 0; | ||
| box-sizing: border-box; | ||
| } | ||
|
|
||
| html { | ||
| scroll-behavior: smooth; | ||
| } | ||
|
|
||
| .App { | ||
| font-family: "Heebo"; | ||
| display: flex; | ||
| flex-direction: column; | ||
| text-align: center; | ||
| justify-content: center; | ||
| background-color: #f5d6ba; | ||
| color: black; | ||
| } | ||
|
|
||
| .App-logo { | ||
| height: 40vmin; | ||
| pointer-events: none; | ||
| p { | ||
| margin-bottom: 20px; | ||
| } | ||
|
|
||
| .App-header { | ||
| background-color: #282c34; | ||
| min-height: 100vh; | ||
| .container { | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| padding-left: 10%; | ||
| padding-right: 10%; | ||
| height: 100vh; | ||
| color: white; | ||
| width: 100vw; | ||
| } | ||
|
|
||
| .wrapper { | ||
| margin-top: 20vh; | ||
| font-size: 1.5rem; | ||
| line-height: 1; | ||
| } | ||
|
|
||
| .home-title-1 { | ||
| font-size: 1.5rem; | ||
| margin-bottom: 2vh; | ||
| } | ||
|
|
||
| .home-title-2 { | ||
| font-size: 3.5rem; | ||
| font-weight: 700; | ||
| } | ||
|
|
||
| .button-1-wrapper { | ||
| display: flex; | ||
| justify-content: center; | ||
| margin-top: 30%; | ||
| } | ||
|
|
||
| .button-1 { | ||
| display: flex; | ||
| justify-content: center; | ||
| font-size: calc(10px + 2vmin); | ||
| align-items: center; | ||
| background-color: #a9caba; | ||
| color: #4c6a5e; | ||
| border: solid; | ||
| padding: 5px; | ||
| border-radius: 100%; | ||
| font-size: 1.5rem; | ||
| margin-left: 10px; | ||
| margin-right: 10px; | ||
| } | ||
|
|
||
| .button-1:active { | ||
| background-color: #4c6a5e; | ||
| color: white; | ||
| box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5); | ||
| } | ||
|
|
||
| .about-button-wrapper { | ||
| display: flex; | ||
| justify-content: center; | ||
| position: absolute; | ||
| inset: auto 0% 5%; | ||
| } | ||
|
|
||
| .about-button { | ||
| background-color: transparent; | ||
| border-style: solid; | ||
| border-width: 2px; | ||
| border-color: white; | ||
| border-radius: 20px; | ||
| font-size: 0.8rem; | ||
| font-weight: 700; | ||
| color: white; | ||
| padding: 9px 15px; | ||
| } | ||
|
|
||
| .about-button:active { | ||
| background-color: white; | ||
| color: #172121; | ||
| border-color: #172121; | ||
| } | ||
|
|
||
| .about-button:active::after { | ||
| color: #172121; | ||
| border-color: #172121; | ||
| } | ||
|
|
||
| .padding-container { | ||
| padding-left: 5%; | ||
| padding-right: 5%; | ||
| margin-bottom: 10vh; | ||
| } | ||
|
|
||
| .container-flex { | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| } | ||
|
|
||
| .align-center { | ||
| width: 100vw; | ||
| display: flex; | ||
| flex-direction: row; | ||
| align-items: center; | ||
| justify-content: space-around; | ||
| } | ||
|
|
||
| .title { | ||
| font-size: 3rem; | ||
| line-height: 1; | ||
| font-weight: bold; | ||
| text-align: center; | ||
| margin-bottom: 2vh; | ||
| } | ||
|
|
||
| #text-align-left { | ||
| margin-left: auto; | ||
| margin-right: auto; | ||
| padding-left: 5%; | ||
| text-align: left; | ||
| } | ||
|
|
||
| .separation-line { | ||
| width: 80%; | ||
| height: 1.2px; | ||
| background-color: #d7bca3; | ||
| margin-bottom: 3vh; | ||
| } | ||
|
|
||
| .back-to-top-button-wrapper { | ||
| display: flex; | ||
| justify-content: center; | ||
| inset: auto 0% 5%; | ||
| padding-bottom: 5vh; | ||
| color: #7b6b5d; | ||
| } | ||
|
|
||
| .back-to-top-button { | ||
| background-color: transparent; | ||
| border-style: solid; | ||
| border-width: 3px; | ||
| border-color: #c8af98; | ||
| border-radius: 100%; | ||
| font-size: 0.9rem; | ||
| font-weight: 700; | ||
| padding: 5px; | ||
| color: black; | ||
| text-decoration: none; | ||
| } | ||
|
|
||
| .back-to-top-button:active { | ||
| background-color: #b8a18c; | ||
| color: black; | ||
| border-color: #d7bca3; | ||
| box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); | ||
| } | ||
|
|
||
| .circle-pointers { | ||
| width: 80%; | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| text-align: left; | ||
| } | ||
|
|
||
| #homepage-section { | ||
| background-color: #81b29a; | ||
| box-shadow: 0px 0px 20px 12px rgba(0, 0, 0, 0.5); | ||
| margin-bottom: 10vh; | ||
| } | ||
|
|
||
| #basics-section { | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| align-items: center; | ||
| color: #202124; | ||
| height: 100vh; | ||
| } | ||
|
|
||
| #intervals-section { | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| align-items: center; | ||
| height: 100vh; | ||
| } | ||
|
|
||
| #major-scales-section { | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| align-items: center; | ||
| height: 100vh; | ||
| } | ||
|
|
||
| #minor-scales-section { | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| align-items: center; | ||
| height: 100vh; | ||
| } | ||
|
|
||
| #circle-of-fifths-section { | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| align-items: center; | ||
| height: 100vh; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,23 @@ | ||
| import React from "react"; | ||
| import logo from "./logo.png"; | ||
| import "./App.css"; | ||
| import HomePage from "./homepage"; | ||
| import Basics from "./basics"; | ||
| import Intervals from "./intervals"; | ||
| import MajorScales from "./major-scales"; | ||
| import MinorScales from "./minor-scales"; | ||
| import CircleOfFifths from "./circle-of-fifths"; | ||
|
|
||
| class App extends React.Component { | ||
| render() { | ||
| return ( | ||
| <div className="App"> | ||
| <header className="App-header"> | ||
| <img src={logo} className="App-logo" alt="logo" /> | ||
| <p> | ||
| Edit <code>src/App.js</code> and save to reload. | ||
| </p> | ||
| </header> | ||
| </div> | ||
| ); | ||
| } | ||
| function App() { | ||
| return ( | ||
| <div className="App"> | ||
| <HomePage id="Home" /> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. HomePage seems odd naming to me for a single-page application! Maybe something like Hero, Heading, or something along these lines would fit better, depending on what the section actually contains. |
||
| <Basics /> | ||
| <Intervals /> | ||
| <MajorScales /> | ||
| <MinorScales /> | ||
| <CircleOfFifths /> | ||
| </div> | ||
| ); | ||
| } | ||
|
|
||
| export default App; | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this inserted by github pages? Seems a bit inefficient to me :D