Skip to content

Commit

Permalink
Add or update the UI and style files.
Browse files Browse the repository at this point in the history
  • Loading branch information
RochaGabriell committed Sep 9, 2023
1 parent f93c514 commit a9b06c4
Show file tree
Hide file tree
Showing 3 changed files with 255 additions and 242 deletions.
223 changes: 105 additions & 118 deletions assets/css/style.css
Original file line number Diff line number Diff line change
@@ -1,197 +1,184 @@
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

* {
margin: 0;
padding: 0;
border: 0;
list-style: none;
text-decoration: none;
box-sizing: border-box;
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
border: 0;
list-style: none;
text-decoration: none;
box-sizing: border-box;
font-family: "Roboto", sans-serif;
}

body {
background-image: url("https://raw.githubusercontent.com/RochaGabriell/MiniPortfolio/main/assets/img/background.png");
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
width: 100vw;
height: 100vh;
background-image: url("https://raw.githubusercontent.com/RochaGabriell/MiniPortfolio/main/assets/img/background.png");
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
width: 100vw;
margin-top: 65px;
}

.container {
background-color: #232428;
border-radius: 10px;
width: 600px;
height: 585px;
background-color: #232428;
border-radius: 10px;
width: 600px;
}

header {
height: 105px;
margin-bottom: 60px;
height: 105px;
margin-bottom: 60px;
}

.box-top {
border-radius: 10px 10px 0px 0px;
background-color: black;
width: 100%;
height: 100%;
text-align: center;
border-radius: 10px 10px 0px 0px;
background-color: black;
width: 100%;
height: 100%;
text-align: center;
}

.banner-profile {
height: 100%;
height: 100%;
}

.box-image {
display: flex;
justify-content: center;
align-items: center;
width: 130px;
height: 130px;
position: relative;
top: -64px;
left: 22px;
border: solid 6px #232428;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
width: 130px;
height: 130px;
position: relative;
top: -64px;
left: 22px;
border: solid 6px #232428;
border-radius: 50%;
}

.img-profile {
width: 100%;
height: 100%;
border-radius: 50%;
width: 100%;
height: 100%;
border-radius: 50%;
}

.box-main {
display: flex;
flex-direction: column;
padding: 16px;
color: aliceblue;
display: flex;
flex-direction: column;
padding: 16px;
color: aliceblue;
}

.data-user {
background-color: #111214;
border-radius: 5px;
padding: 12px;
height: 385px;
background-color: #111214;
border-radius: 5px;
padding: 12px;
}

.name-phrase {
display: flex;
flex-direction: column;
gap: 12px;
margin-bottom: 17px;
display: flex;
flex-direction: column;
gap: 12px;
margin-bottom: 17px;
}

.name-phrase > h1 {
font-size: 20px;
font-size: 20px;
}

.text-normal {
font-size: 14px;
color: #b5bac1;
line-height: 18px;
text-align: justify;
font-size: 14px;
color: #b5bac1;
line-height: 18px;
text-align: justify;
}

.separator {
border-top: solid #ffffff 1px;
opacity: 0.2;
height: 10px;
border-top: solid #ffffff 1px;
opacity: 0.2;
height: 10px;
}

.data-about {
overflow-y: scroll;
height: 290px;
padding: 2px;
overflow-y: scroll;
height: 290px;
padding: 2px;
}

.bio > h2 {
font-size: 12px;
text-transform: uppercase;
margin-bottom: 8px;
font-size: 12px;
text-transform: uppercase;
margin-bottom: 8px;
}

.bio > p{
margin-bottom: 16px;
.bio > p {
margin-bottom: 16px;
}

.connected-accounts {
margin-top: 16px;
display: flex;
justify-content: space-between;
margin-top: 16px;
display: flex;
gap: 16px;
}

.connected-accounts-column {
display: flex;
flex-direction: column;
gap: 16px;
display: flex;
flex-direction: column;
gap: 16px;
width: 48%;
}

.connected-account-container {
border: solid #444444 1px;
display: flex;
padding: 12px 8px;
border-radius: 4px;
width: 265px;
height: 50px;
justify-content: space-between;
border: solid #444444 1px;
display: flex;
padding: 12px 8px;
border-radius: 4px;
width: 100%;
height: 50px;
justify-content: space-between;
}

.account {
display: flex;
align-items: center;
gap: 8px;
display: flex;
align-items: center;
gap: 8px;
}

.connected {
display: flex;
align-items: center;
display: flex;
align-items: center;
}

.connected > a {
height: 16px;
height: 16px;
}


.data-about::-webkit-scrollbar {
background-color: transparent;
width: 5px;
background-color: transparent;
width: 5px;
}

.data-about::-webkit-scrollbar-thumb {
background: #232428;
border-radius: 4px;
background: #232428;
border-radius: 4px;
}

@media only screen and (max-width: 630px) {
.container {
width: 85%;
height: 700px;
}

.box-top {
text-align: end;
padding-right: 40px;
}
@media only screen and (max-width: 768px) {
.container {
width: 85%;
}

.data-user {
height: 500px;
}

.data-about {
height: 390px;
}

.connected-accounts {
flex-direction: column;
gap: 16px;
}

.connected-account-container {
width: 100%;
}
.box-top {
text-align: end;
padding-right: 40px;
}

.connected-accounts {
flex-direction: column;
gap: 16px;
}

.connected-accounts-column {
width: 100%;
}
}
24 changes: 24 additions & 0 deletions assets/img/svg/gist_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit a9b06c4

Please sign in to comment.