Skip to content

Commit

Permalink
Merge pull request #6 from williamscch/refactor
Browse files Browse the repository at this point in the history
Refactor
  • Loading branch information
williamscch authored Nov 20, 2022
2 parents 3b49847 + 405ecae commit 71f6ea7
Show file tree
Hide file tree
Showing 56 changed files with 702 additions and 1,398 deletions.
119 changes: 119 additions & 0 deletions app/assets/stylesheets/_config.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
* {
font-family: "Figtree", sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
text-decoration: none;
list-style: none;
color: var(--color-text);
}

body {
background-color: #f2f2f2;
height: 100vh;
}

main {
display: flex;
justify-content: center;
align-items: flex-start;
width: 100%;
flex-wrap: wrap;
height: auto;
}

:root {
/* colors */
--color-main: #3778c2;
--color-second: #f21905;
--color-text: #353a40;
--color-third: #5fb523;
}

.proxima-nova-bold {
font-weight: 700;
font-style: normal;
}

.proxima-nova-light {
font-weight: 300;
font-style: normal;
}

.container {
width: 100%;
max-width: 720px;
}

.flex {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}

.btn-group {
width: 100%;
}

.btn-main,
.btn-white {
padding: 0.75rem;
margin-top: 1rem;
background-color: var(--color-main);
width: 90%;
border-radius: 0.18rem;
text-align: center;
text-transform: uppercase;
color: white;
letter-spacing: 1px;
font-weight: 400;
cursor: pointer;
font-size: 18px;
border: none;
transition: all 100ms ease-out;
}

.btn-white {
background-color: white;
color: var(--color-text);
}

.btn-main:hover {
background-color: #87aeda;
text-shadow: 0 0 10px black;
opacity: 80%;
}

.btn-white:hover {
background-color: var(--color-third);
color: white;
text-shadow: 0 0 10px black;
opacity: 80%;
}

.title {
width: 100%;
text-align: center;
font-size: 20px;
font-weight: 300;
background-color: white;
padding: 0.75rem 0;
}

.inner-container {
width: 100%;
margin-top: 1rem;
}

.card {
justify-content: space-between;
align-items: center;
padding: 10px 12px;
}

.inner-card {
display: flex;
flex-direction: column;
gap: 10px;
}
Loading

0 comments on commit 71f6ea7

Please sign in to comment.