Skip to content

Commit

Permalink
changing the layout
Browse files Browse the repository at this point in the history
  • Loading branch information
abutler911 committed Oct 10, 2023
1 parent 8b74dc1 commit 56b48b1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 14 deletions.
5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,17 @@ <h1>EFT Tapping</h1>
</div>

<div id="affirmation-page" style="display: none">
<div class="-affirmation-header">Affirmations</div>
<div class="affirmation-header">Affirmations</div>

<div id="timer-container">
<span id="timer"></span>
</div>

<div id="affirmation-container">
<span id="section-name"></span>
<div id="affirmation-display"></div>
</div>

<div class="button-container">
<button id="prev-button">Previous</button>
<button id="next-button">Next</button>
Expand Down
33 changes: 20 additions & 13 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

body {
font-family: "Cinzel", serif;
background-color: var(--black);
background-color: var(--white);
color: #333;
margin: 0;
padding: 0;
Expand All @@ -30,47 +30,52 @@ body {
align-items: center;
justify-content: center;
min-height: 100vh;
animation: backgroundFade 10s infinite alternate;
}

.header,
.header p {
text-align: center;
padding: 20px;
color: var(--white);
font-size: var(--font-medium);
color: var(--black);
font-size: 0.8rem;
line-height: 1.5;
margin: 0;
}

.header h1 {
font-size: var(--font-large);
font-size: 3rem;
color: var(--green);
}

.affirmation-header {
text-align: center;
padding: 20px;
color: var(--black);
font-size: 3rem;
line-height: 1.5;
}
#timer-container {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}

#timer,
button {
font-size: var(--font-large);
#timer {
font-size: 5rem;
color: var(--green);
}

#affirmation-container {
display: flex;
flex-direction: column;
align-items: center;
width: 80%;
width: 90%;
min-height: 20vh;
background-color: var(--white);
background-color: var(--light-blue);
border-radius: 12px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 20px;
padding: 10px;
margin-top: 20px;
margin: 20px auto;
}
Expand All @@ -82,10 +87,11 @@ button {
align-items: center;
justify-content: center;
text-align: center;
font-size: 2rem;
}

#section-name {
font-size: var(--font-small);
font-size: 1rem;
text-align: center;
color: #555;
}
Expand All @@ -96,7 +102,7 @@ button {
}

button {
background-color: #8e44ad;
background-color: var(--dark-blue);
color: var(--white);
border: none;
padding: 10px 20px;
Expand All @@ -105,6 +111,7 @@ button {
cursor: pointer;
transition: background-color 0.3s ease;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
font-size: 1.3rem;
}

button:hover {
Expand Down

0 comments on commit 56b48b1

Please sign in to comment.