94 lines
1.7 KiB
CSS
94 lines
1.7 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: 0 0 10px 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);
|
|
cursor: pointer;
|
|
transition-duration: 250ms;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
div.posts div.post:hover {
|
|
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
button.friend-button {
|
|
float: right;
|
|
height: auto;
|
|
padding: 10px;
|
|
margin-left: 10px;
|
|
border-radius: 5px;
|
|
transition-duration: 250ms;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button.friend-button:hover {
|
|
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
|
|
} |