xssbook/public/css/profile.css
2023-01-31 22:57:39 -05:00

162 lines
No EOL
2.7 KiB
CSS

body {
background-color: var(--secondary);
max-width: 100%;
}
.spacer {
margin-bottom: 3.5em;
}
#top {
background-color: var(--primary);
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
}
#banner {
background-image: linear-gradient(var(--banner), var(--primary), var(--primary));
height: 30em;
width: 100%;
display: flex;
justify-content: center;
}
#banner .bg, #banner img {
width: 80em;
max-width: 100%;
height: inherit;
background-color: var(--hover);
border-radius: 0px 0px 20px 20px;
}
#info {
width: 80em;
max-width: 100%;
display: flex;
flex-direction: row;
}
.face {
background-color: var(--hover);
height: 12em;
width: 12em;
border-radius: 7em;
border: solid 5px var(--primary);
margin-top: -2em;
margin-left: 2em;
margin-right: 2em;
}
.face img {
height: 12em;
width: 12em;
border-radius: 7em;
}
.changeavatar, .changebanner {
all: unset;
position: absolute;
width: 3em;
height: 3em;
margin-left: -3em;
margin-top: 9em;
border-radius: 3em;
background-color: var(--secondary);
z-index: 10000 !important;
text-align: center;
background-image: url('/image/change.png');
cursor: pointer;
}
.changebanner {
position: relative;
margin-left: -4em;
margin-top: 26em;
}
.infodata {
margin-top: 2em;
display: flex;
flex-direction: column;
}
.infodata span {
margin-bottom: .5em;
}
.profilebuttons {
width: 80em;
max-width: 100%;
height: 3em;
display: flex;
align-items: center;
justify-content: space-between;
}
.profilebuttons button {
all: unset;
font-family: sfprobold;
padding: 0px 50px;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
color: var(--medium);
cursor: pointer;
flex: 0;
}
.profilebuttons button:hover {
background-color: var(--mild);
}
.selected {
color: var(--logo) !important;
border-bottom: 3px solid var(--logo) !important;
}
#about {
margin-top: 2em;
align-self: center;
padding: 0;
display: flex;
flex-direction: row;
}
#posts {
max-width: 100%;
margin-top: 2em;
}
#about .ltext {
border-right: 2px solid var(--mild);
padding: 10px;
padding-right: 3em;
max-width: 100%;
}
#about .data {
display: flex;
flex-direction: column;
padding: 10px;
padding-left: 20px;
padding-top: 15px;
max-width: 100%;
}
#about .data span {
margin-bottom: 10px;
width: 28em;
margin-bottom: 5px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
max-width: 100%;
}
.logout {
flex: 1;
}