Skip to content

Commit 6569ae3

Browse files
committed
Some more css work on the main(index) page
1 parent 01440a8 commit 6569ae3

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

sample-app/pages/index.js

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const CenteredContainer = styled.div`
77
${helper.flexCenter};
88
height: 100vh;
99
background: #22262b;
10-
box-shadow: inset -25px -25px 50px #0e0f11, inset 25px 25px 50px #363d45;
10+
box-shadow: 35px 35px 70px #181b1f, -35px -35px 70px #2c3137;
1111
`;
1212

1313
const StyledInput = styled.div`
@@ -18,7 +18,8 @@ const StyledInput = styled.div`
1818
1919
input,
2020
button {
21-
color: #fff;
21+
// color: #fff;
22+
color: #81e7e9;
2223
font-family: ${fonts.mono};
2324
padding: 0;
2425
margin: 0;
@@ -41,7 +42,8 @@ const StyledInput = styled.div`
4142
box-shadow: -25px 25px 50px #16181c, 25px -25px 50px #56626e;
4243
4344
border-radius: 20px;
44-
box-shadow: 0 10px 40px #363d45, 0 0 0 20px #ffffffeb;
45+
// box-shadow: 0 10px 40px #363d45, 0 0 0 20px #ffffffeb;
46+
box-shadow: 0 10px 40px #417475, 0 0 0 20px #77d4d5;
4547
transform: scale(0.6);
4648
}
4749
@@ -81,7 +83,7 @@ const StyledInput = styled.div`
8183
height: 50px;
8284
margin-top: 0;
8385
border-width: 30px;
84-
border: 15px solid #0ff;
86+
border: 15px solid #81e7e9;
8587
background-color: transparent;
8688
border-radius: 50%;
8789
transition: 0.5s ease all;
@@ -108,7 +110,7 @@ const StyledInput = styled.div`
108110
right: 0;
109111
width: 45px;
110112
height: 15px;
111-
background-color: #0ff;
113+
background-color: #81e7e9;
112114
border-radius: 10px;
113115
transform: rotateZ(0);
114116
transition: 0.5s ease all;
@@ -119,7 +121,8 @@ const StyledInput = styled.div`
119121
width: 67px;
120122
height: 15px;
121123
border-width: 0;
122-
background-color: #f0f;
124+
// background-color: #d426ff;
125+
background-color: #77d4d5;
123126
border-radius: 20px;
124127
}
125128
@@ -145,7 +148,8 @@ const StyledInput = styled.div`
145148
#s-cover:hover button span:after {
146149
right: -6px;
147150
width: 40px;
148-
background-color: #f0f;
151+
// background-color: #d426ff;
152+
background-color: #77d4d5;
149153
}
150154
`;
151155

@@ -158,8 +162,7 @@ const Home = () => {
158162

159163
return (
160164
<main>
161-
<head>
162-
</head>
165+
<head></head>
163166

164167
<CenteredContainer>
165168
<StyledInput>
@@ -191,12 +194,11 @@ const Home = () => {
191194
</div>
192195
</div>
193196
</form>
194-
{/* </div> */}
195197
</div>
196198
</StyledInput>
197199
</CenteredContainer>
198200
</main>
199201
);
200202
};
201203

202-
export default Home;
204+
export default Home;

0 commit comments

Comments
 (0)