diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 78b5428..6536a58 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: "npm" diff --git a/src/App.css b/src/App.css index 2d28aba..3e6653f 100644 --- a/src/App.css +++ b/src/App.css @@ -1,7 +1,15 @@ @import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap'); +html, body { + margin: 0; + padding: 0; + min-height: 100vh; + overflow-y: auto; /* allows vertical scrolling */ +} + .App { text-align: center; + overflow: auto; } @@ -24,7 +32,7 @@ align-items: center; justify-content: center; font-size: calc(10px + 2vmin); - color: white; + color: black; } .App-link { @@ -45,10 +53,10 @@ transform: translateY(-82%); } -.take-quiz-button { +.take-quiz-block { border-radius: 30px; position: fixed; - width: 900px; + width: 75%; padding: 40px; background-color: darkblue; color: white; @@ -60,13 +68,14 @@ font-size: 45px; text-align: center; align-items: center; + margin: 40px auto; } .fade-strip { z-index: 9998; position: fixed; width: 100%; - height: 200px; + height: 15%; top: 5%; display: flex; align-items: center; @@ -94,7 +103,7 @@ color: white; } -.basic{ +.basic, .detailed{ background-color: #d3dced; width: 1000px; padding: 15px; @@ -103,14 +112,16 @@ display: grid; place-items: center; text-wrap:balance; - top: 46%; + top: unset; border-style: solid; - position: fixed; - left: 50%; + position: relative; + left: unset; z-index: 1000; - transform: translateX(-50%); + transform: none; + margin: 40px auto; } +/* .detailed{ background-color: #d3dced; width: 1000px; @@ -125,19 +136,20 @@ top: 58%; left: 50%; transform: translateX(-50%); -} +}*/ .Detailed-Questions{ text-wrap:balance; padding:25px; border-style: solid; + width: 75%; } -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } +.Detailed-Questions header { + font-size: 1.8rem; + font-weight: bold; +} + +.Detailed-Questions small { + font-size: 50%; } diff --git a/src/App.tsx b/src/App.tsx index 5a638a5..ebef9fc 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -61,16 +61,15 @@ function App() { > Home Page -
Not sure where to start? Answer a few small questions to get some starting points on a career path.
- + (QTYPEAANSWER[0]); const [answer4, setAnswer4] = useState