Skip to content

Commit

Permalink
user profile responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
akashTharuka committed Mar 13, 2021
1 parent 4327ef0 commit 1cb30c8
Showing 1 changed file with 63 additions and 12 deletions.
75 changes: 63 additions & 12 deletions public/assets/css/styles_userProfile.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ body{

/* ---------------------------------------STAFF--------------------------------------------------- */

.staff .main-body{
/* .staff .main-body{
width: 30%;
height: 90%;
}
Expand All @@ -33,7 +33,7 @@ body{
.staff .threadView{
height: 100%;
width: 100%;
}
} */

.container{
box-sizing: border-box;
Expand Down Expand Up @@ -132,6 +132,7 @@ body{
padding: 0;
margin: 0;
width: 65%;
height: 90%;
align-items: center;
/* background: linear-gradient(to right, #ffbf96, #fe7096) !important; */
}
Expand Down Expand Up @@ -215,19 +216,18 @@ body{
flex-direction: row;
box-sizing: border-box;
align-items: center;
width: fit-content;
width: 100%;
margin: 0;
margin-right: auto;
margin-left: auto;
}

.threadViewContainer{
height: 40%;
width: 100%;
}

.request-tiles{
height: 50%;
height: 60%;
}

.threadView,
Expand Down Expand Up @@ -268,10 +268,11 @@ body{
color: #fff;
padding: 30px;
max-width: 300px;
height: auto;
}
.request .preview{
background: linear-gradient(to right, #56ab2f, #a8e063);
height: 135px;
height: 25%;
}
.request.submission .preview{
background: linear-gradient(to right, #d66d75, #e29587);
Expand All @@ -288,8 +289,8 @@ body{
.request .info{
padding: 10px;
position: relative;
height: inherit;
padding-top: 15px;
height: 75%;
/* padding-top: 15px; */
}

.open-button-threadView,
Expand Down Expand Up @@ -358,10 +359,6 @@ body{
background: linear-gradient(to right, #185a9d, #43cea2);
}

.request-tiles.staff{
display: none;
}

.dropdown-content{
font-family: monospace;
box-sizing: border-box;
Expand Down Expand Up @@ -415,4 +412,58 @@ footer{
bottom: 0;
left: inherit;
background: transparent;
}

@media only screen and (max-width: 1400px){
.request .open-button-request{
font-size: 13px;
}
}

@media only screen and (max-width: 1275px){
.request-tiles{
flex-direction: column;
}
.request{
flex-direction: row;
width: 95%;
height: 90%;
}
.request .preview{
padding: 20px;
height: auto;
width: 30%;
}
.request .info{
padding: 30px;
height: auto;
width: 70%;
}
.request .image-avatar{
display: none;
}
.request h2{
font-size: 0.9rem;
margin: 5px;
}
}

@media only screen and (max-width: 1245px){
.column{
flex-direction: row;
}
.container{
flex-direction: column;
}
.column,
.main-body{
width: 100%;
}
.request-tiles{
height: 80%;
width: 100%;
}
.threadView{
margin: 10px;
}
}

0 comments on commit 1cb30c8

Please sign in to comment.