Added profile view. (WIP)
This commit is contained in:
@@ -5,8 +5,12 @@ last update: 10-01-2017
|
||||
Website: myhyvesbookplus.tk
|
||||
-----------------------------------------------------------------------------*/
|
||||
|
||||
.profile-picture {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: white;
|
||||
background-color: #B78996;
|
||||
color: #333;
|
||||
font-family: Arial, sans-serif;
|
||||
}
|
||||
@@ -82,4 +86,27 @@ table {
|
||||
td {
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/* Custom title box, appears instantaneously */
|
||||
a:hover {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
a[data-title]:hover:after {
|
||||
content: attr(data-title);
|
||||
padding: 4px 4px;
|
||||
color: #FFFFFF;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 100%;
|
||||
z-index: 20;
|
||||
white-space: nowrap;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
-moz-box-shadow: 0px 0px 4px #222;
|
||||
-webkit-box-shadow: 0px 0px 4px #222;
|
||||
box-shadow: 0px 0px 4px #222;
|
||||
background-color: #333;
|
||||
}
|
||||
40
website/styles/profile.css
Normal file
40
website/styles/profile.css
Normal file
@@ -0,0 +1,40 @@
|
||||
|
||||
|
||||
.profile-box {
|
||||
min-height: 150px;
|
||||
padding: 25px;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.profile-box .profile-picture {
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
margin: 0 20px 20px 0;
|
||||
}
|
||||
|
||||
.profile-box .profile-username {
|
||||
padding-top: 50px;
|
||||
}
|
||||
|
||||
.item-box {
|
||||
width: calc(50% - 60px);
|
||||
margin: 20px 0 0 0;
|
||||
padding: 25px;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.item-box .profile-picture {
|
||||
width: 25px;
|
||||
}
|
||||
|
||||
.post-box {
|
||||
float: left;
|
||||
width: 250px;
|
||||
margin: 20px 20px 0 0;
|
||||
padding: 25px;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.post-box img {
|
||||
width: 250px;
|
||||
}
|
||||
Reference in New Issue
Block a user