Files
WebDB/website/public/styles/profile.css
2017-01-20 16:18:12 +01:00

86 lines
1.4 KiB
CSS

.profile-box {
min-height: 150px;
padding: 25px;
background-color: #FFFFFF;
}
.profile-box .profile-picture, .profile-box .group-picture {
width: 150px;
height: 150px;
margin: 0 20px 20px 0;
}
.profile-box h1.profile-username {
padding-top: 50px;
}
.profile-box h5.profile-username {
padding-top: 0;
}
div.posts {
padding-top: 20px;
width: calc(100% + 20px);
display: inline-flex;
}
div.posts div.post {
display: block;
margin: 20px 0 0 0;
padding: 10px;
width: calc(100% - 40px);
}
div.posts div.post img {
width: 100%;
height: auto;
}
div.posts .post p.subscript {
text-align: right;
font-size: 8pt;
}
div.posts .post form input, div.posts .post form textarea {
width: calc(100% - 15px);
}
div.posts .post form input[type="submit"] {
width: 100%;
}
div.posts .post form textarea.newpost {
margin: 15px 0 15px 0;
height: 100px;
}
@media only screen and (max-width: 1500px) {
.post-box {
width: calc(50% - 68px);
}
}
/* mobile */
@media only screen and (max-width: 1000px) {
.post-box {
width: calc(100% - 65px);
}
}
.post .post-date {
float: right;
color: #aaaaaa;
font-size: 0.8em;
}
.profile-button {
float: right;
padding: 10px;
border-radius: 5px;
background-color: #845663;
color: #FFFFFF;
transition-duration: 250ms;
}
.profile-button:hover {
background-color: #B78996;
}