Skip to content

responsive account page #55

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
234 changes: 42 additions & 192 deletions public/assests/css/profile.css
Original file line number Diff line number Diff line change
@@ -1,201 +1,51 @@
html,body,div,ul,li,a,p,h1,h2,h3,h4,h5,h6{
margin: 0;
padding: 0;
box-sizing:border-box;
.body{
font-family: sans-serif;
}
body {
position: absolute;
font-family: 'Helvetica Neue', sans-serif;
min-height: 100%;
.container{
width: 100%;
background-color: rgb(244, 239, 239);
overflow: auto;
}
h1,h2,h3,h4 {
color: #3B5998;
}
ul {
text-decoration: none;
list-style-type: none;
}
a {
text-decoration: none;
color:white;
cursor: pointer;
}

.header {
position: fixed;
top: 0;
width: 100%;
height: 50px;
background-color: #2c3e50;
z-index: 1000;
}
.header ul li {
display: inline-block;
letter-spacing: 2px;

}
.header ul li a{
display: block;
padding: 15px 10px;
}
.nav-right {
float: right;
margin: 0;
font-size: 18px;
text-transform: capitalize;
letter-spacing: 1px;
}
#brand {
font-size: 18px;
color: white;
text-decoration: none;
padding: 15px 20px;
float: left;
text-transform: capitalize;
letter-spacing: 1px;
/*word-spacing: 3px;*/
}
#brand:hover {
background-color: rgba(0,0,0,0.3);
}
.header ul li a:hover{
background-color: rgba(0,0,0,0.3);

}


.boxx
{
background-color: white;
margin: 1% 10% 2% 10%;
width: 80%;
border-radius: 2px;
padding: 2%;
text-align: center;
border-bottom: 5px solid #2c3e50;
float: left;
z-index: 10;
margin-bottom: 2%;
}

.main>div:first-child {
margin-top: 60px;
}

.main>div:last-child {
margin-bottom: 60px;
}

.pic
{
width: 30%;
float: left;
}
.pic > img
{
width: 50%;
height: auto;
border: 2px solid #212121;
}

.brief {
width: 55%;
float: left;
text-align: left;
}
.edit>a {
width: 15%;
float: right;
display: block;
border:1px solid #e9ebee;
padding: 5px;
}
.edit > a{
color: black;
}
.edit > a:hover{
background-color: black;
color: white;
}

#profile {
display: none;
text-align: left;
padding: 5% 15%;
line-height: 40px;
}

#profile textarea {
width: 100%;
height: 100px;
font-size: 15px;
padding: 5px;
resize:none;
overflow: hidden;
display:flex;
height: 100%;
justify-content: center;
align-items: center;
}

#education {
width: 100%;
height: 30px;
text-indent: 10px;
}

#gender {
width: 18px;
height: 18px;
.profilepic {
border: solid 3px #3a3636;
padding: 5px;
height: 250px; width: 250px;
}

#submit {
width: 60%;
text-align: center;
height: 30px;
margin-left: 20%;
.detailsinfo {
position: relative;
background: #dcbaba;
box-shadow: -12px 8px 25px 0 rgba(19, 81, 132, 0.2);
border-radius: .375rem;
transition: all .3s ease;
padding: 30px 10px;
text-align: center;
}


.footer {
margin-top: 50px;
width: 100%;
height: 40px;
background-color: #2c3e50;
position: fixed;
bottom: 0;
}
.footer_text {
text-align: center;
font-size: 18px;
color: white;
word-spacing: 2px;
letter-spacing: 1px;
padding: 10px;
}
.footer_text a {
color: black;
}
p > a {
color: blue;
}

@media (max-width:1024px) {
.header
{
height: 50px;
}
background-color: #194369;
position: fixed;
left: 0;
bottom: 0;
width: 100%;
color: white;
text-align: center;
}
html{
min-height:100%;/* make sure it is at least as tall as the viewport */
position:relative;
}
body{
height:100%; /* force the BODY element to match the height of the HTML element */
}
.row{
position:absolute;
top:0;
bottom:0;
left:0;
right:0;
overflow:hidden;
z-index:-1; /* Remove this line if it's not going to be a background! */
}
@media (max-width: 700px) {
.header {
height: 50px;
}
.cover{
top: 35px;
}
.brand {
font-size: 12px;
}
.left {
font-size: 12px;
}
}
4 changes: 2 additions & 2 deletions public/assests/js/profile.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
$(".edit a").click(function() {
/*$(".edit a").click(function() {
$("#profile").show();
});
});*/
Loading