Skip to content
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

Refactor/project formatting #12

Merged
merged 3 commits into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
133 changes: 73 additions & 60 deletions docs/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@
margin: 0;
box-sizing: border-box;
}
:root{
font-size:18px;

:root {
font-size: 18px;
}

/* Element Stylings */

body {
background-color: #c8c4c4;
font-family: 'Arvo', serif;
letter-spacing:0.05em;
letter-spacing: 0.05em;
}

input {
Expand All @@ -28,45 +29,38 @@ input {
height: 150px;
}

/* 436 px is the exact point where the submit button stacks under the input form*/
/* Need a larger height due to the increased size of the stacked buttons*/
@media only screen and (max-width: 436px) {
#landForm {
height: 220px;
}
}

#loading-icon-wrapper {
display: none;
justify-content: center;
align-items: center;
align-content: center;
display: none;
justify-content: center;
align-items: center;
align-content: center;
}

#loading-icon {
align-content: center;
border: 8px solid #ffffff;
border-top: 8px solid #eb8d15;
border-radius: 50%;
width: 50px;
height: 50px;
animation: spin 1s linear infinite;
align-content: center;
border: 8px solid #ffffff;
border-top: 8px solid #eb8d15;
border-radius: 50%;
width: 50px;
height: 50px;
animation: spin 1s linear infinite;
}

main {
display:flex;
flex-direction:column;
position:relative;
width:100%;
margin:0 auto;
padding:3em 2em 8em;
display: flex;
flex-direction: column;
position: relative;
width: 100%;
margin: 0 auto;
padding: 3em 2em 8em;
background-color: rgba(39, 54, 70);
min-height:100vh;
color: rgba(255,255,255,0.9);
text-align:center;
line-height:2em;
min-height: 100vh;
color: rgba(255, 255, 255, 0.9);
text-align: center;
line-height: 2em;

}

footer {
margin-top: 5em;
position: absolute;
Expand All @@ -77,37 +71,42 @@ footer {
}

h1 {
color:#EEE;
margin-bottom:1em;
color: #EEE;
margin-bottom: 1em;
font-size: 7.5vw;

} h1::after {
display:block;
content:"";
width:40%;
margin:.5em auto 0;
}

h1::after {
display: block;
content: "";
width: 40%;
margin: .5em auto 0;
border-bottom: 1px solid #CD5C5C;
}

h2 {
color:#EEE;
margin-bottom:1em;
font-size:2em;
color: #EEE;
margin-bottom: 1em;
font-size: 2em;
}

h3 {
color:#eb8d15;
color: #eb8d15;
font-size: 1.5em;
}

p.info {
color:#EEE;
color: #EEE;
font-size: 1.5em;
}

a {
color:rgb(132, 167, 230);
color: rgb(132, 167, 230);
}

a:hover {
color: rgba(255,255,255);
color: rgba(255, 255, 255);
}


Expand All @@ -119,40 +118,54 @@ hr {
/* Classes */

.subtext {
font-size:1.25em;
font-size: 1.25em;
}

.phoneNumber {
font-size:2em;
font-weight:bold;
margin-top:.5em;
margin-bottom:.5em;
display:block;
font-size: 2em;
font-weight: bold;
margin-top: .5em;
margin-bottom: .5em;
display: block;
letter-spacing: 0.2em;
}

section.info {
font-size:.6em;
font-size: .6em;
line-height: 2.5em;
margin-top: 3em;
margin-bottom: 3em;
text-align: left;
}

/* Media Queries */

@media screen and (min-width:960px){
main{
@media screen and (min-width: 960px) {
main {
width: 50%;
padding: 1em 4em;
}
}

@media screen and (min-width:460px){
h1{
font-size:2em
@media screen and (min-width: 460px) {
h1 {
font-size: 2em
}
}

/* 436 px is the exact point where the submit button stacks under the input form*/
/* Need a larger height due to the increased size of the stacked buttons*/
@media only screen and (max-width: 436px) {
#landForm {
height: 220px;
}
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
Loading
Loading