parent
cd228d507d
commit
c99035b9d2
@ -1,113 +1,142 @@
|
|||||||
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap');
|
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap');
|
||||||
|
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: #2a2a72;
|
background-color: rgb(13, 17, 23);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: 'Poppins', sans-serif;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
.container {
|
||||||
.user-form {
|
padding: 0 10px;
|
||||||
width: 100%;
|
|
||||||
max-width: 700px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-form input {
|
.user-form input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
background-color: #4c2885;
|
background: #161b22;
|
||||||
border: none;
|
border: 1px solid rgb(48, 54, 61);
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
box-shadow: 0 5px 10px rgba(154, 160, 185, 0.05),
|
box-shadow: 0 5px 10px rgba(154, 160, 185, 0.05),
|
||||||
0 15px 40px rgba(0, 0, 0, 0.1);
|
0 15px 40px rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-form input::placeholder {
|
.user-form input::placeholder {
|
||||||
color: #bbb;
|
color: #bbb;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-form input:focus {
|
.user-form input:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
max-width: 800px;
|
background-color: #161b22;
|
||||||
background-color: #4c2885;
|
border: 1px solid rgb(48, 54, 61);
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
box-shadow: 0 5px 10px rgba(154, 160, 185, 0.05),
|
box-shadow: 0 5px 10px rgba(154, 160, 185, 0.05), 0 15px 40px rgba(0, 0, 0, 0.1);
|
||||||
0 15px 40px rgba(0, 0, 0, 0.1);
|
display: flex;
|
||||||
display: flex;
|
justify-content: center;
|
||||||
padding: 3rem;
|
padding: 3rem;
|
||||||
margin: 0 1.5rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.avatar {
|
.avatar {
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
border: 10px solid #2a2a72;
|
height: 150px;
|
||||||
height: 150px;
|
border: 10px solid #7b7b7b59;
|
||||||
width: 150px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-info {
|
.user-info {
|
||||||
color: #eee;
|
color: #eee;
|
||||||
margin-left: 2rem;
|
margin-left: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-info h2 {
|
.user-info h2 {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-info ul {
|
.user-info ul {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
max-width: 400px;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-info ul li {
|
.user-info ul li {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
padding: 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-info ul li strong {
|
.user-info ul li strong {
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
margin-left: 0.5rem;
|
margin-left: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.repo {
|
.repo {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: #212a72;
|
background-color: rgb(13,17,23);
|
||||||
font-size: 0.7rem;
|
font-size: 16px;
|
||||||
padding: 0.25rem 0.5rem;
|
padding: 0.25rem 0.5rem;
|
||||||
margin-right: 0.5rem;
|
margin-right: 0.5rem;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 576px) {
|
||||||
@media (max-width: 500px) {
|
.container {
|
||||||
.card {
|
width: 100%;
|
||||||
flex-direction: column;
|
}
|
||||||
align-items: center;
|
.card , .user-form {
|
||||||
}
|
min-width: 322px;
|
||||||
|
}
|
||||||
.user-form {
|
}
|
||||||
max-width: 400px;
|
@media (min-width: 576px) {
|
||||||
}
|
.container {
|
||||||
|
width: 540px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.card {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.user-info {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.container {
|
||||||
|
width: 720px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (min-width: 992px) {
|
||||||
|
.container {
|
||||||
|
width: 960px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (min-width: 1200px) {
|
||||||
|
.container {
|
||||||
|
width: 1140px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (min-width: 1400px) {
|
||||||
|
.container {
|
||||||
|
width: 1320px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in new issue