Skip to content

Commit

Permalink
πŸ³οΈβ€πŸŒˆβ˜•οΈ ↣ Converting react-based css over to next.js for #32 #35
Browse files Browse the repository at this point in the history
  • Loading branch information
Gizmotronn committed Nov 23, 2022
1 parent 74b1637 commit cfca156
Show file tree
Hide file tree
Showing 5 changed files with 860 additions and 0 deletions.
141 changes: 141 additions & 0 deletions styles/Dao.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
/*html,
body {
margin: 0;
font-family: Inter, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: #7700ee;
color: #fff;
overflow-x: hidden;
}
#root {
min-height: 100vh;
display: flex;
}*/

.h1 {
font-size: 5rem;
}

.unsupported-network {
width: 340px;
max-width: 100%;
padding-left: 0.5rem;
padding-right: 0.5rem;
margin: auto;
padding: 1rem;
}

.error {
width: 340px;
max-width: 100%;
padding-left: 0.5rem;
padding-right: 0.5rem;
margin: auto;
padding: 1rem;
border-radius: 1rem;
background-color: #f00;
}

.landing,
.connect-wallet,
.mint-nft,
.member-page {
flex-direction: column;
width: 960px;
max-width: calc(100% - 1rem);
padding-left: 0.5rem;
padding-right: 0.5rem;
margin: auto;
align-content: center;
display: flex;
text-align: center;
}

.member-page > div {
display: flex;
flex-direction: row;
width: 100%;
text-align: left;
gap: 2rem;
}
.member-page > div > div {
display: flex;
flex-direction: column;
width: 50%;
gap: 1rem;
}
@media screen and (max-width: 768px) {
.member-page > div {
flex-direction: column;
}
.member-page > div > div {
width: 100%;
}
}

.member-page form {
display: flex;
flex-direction: column;
gap: 1rem;
}

.member-page form > div {
display: flex;
flex-direction: column;
gap: 1rem;
}

.member-page form h5 {
margin-top: 0;
color: #7700ee;
}

.member-page form .card > div {
display: flex;
gap: 1rem;
justify-content: space-between;
}

.member-page form small {
text-align: center;
}

.card {
background-color: #fff;
padding: 1rem;
border-radius: 1rem;
color: #000;
box-shadow: 3.1px 6.2px 6.2px hsl(0deg 0% 0% / 0.4);
}

.btnhero {
margin: auto;
width: 250px;
}

.button {
cursor: pointer;
background-color: #000;
color: #fff;
border: none;
font-weight: bold;
font-family: inherit;
padding: 1.2rem 2rem;
text-transform: uppercase;
border-radius: 3rem;
font-size: 1.2rem;
}

.button:hover {
background-color: #121212;
}

.button:focus {
background-color: #222;
}

.button:disabled {
opacity: 0.8;
pointer-events: none;
}
50 changes: 50 additions & 0 deletions styles/Gameplay.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
@keyframes scroll {
0% {
transform: translateX(0);
}
100% {
transform: translateX(calc(-250px * 7));
}
}

.slider {
height: 48px;
margin: auto;
overflow: hidden;
position: relative;
width: 500px;

/* before */
}

.slider::before {
content: "";
height: 100px;
position: absolute;
width: 200px;
z-index: 2;
left: 0;
top: 0;
}

.slider::after {
content: "";
height: 100px;
position: absolute;
width: 200px;
z-index: 2;
right: 0;
top: 0;
transform: rotateZ(180deg);
}

.slideTrack {
animation: scroll 10s linear infinite;
display: flex;
width: calc(250px * 14);
}

.slide {
height: 100px;
width: 250px;
}
Loading

0 comments on commit cfca156

Please sign in to comment.