xssbook/public/css/profile.css
2023-01-30 22:55:14 -05:00

134 lines
2.2 KiB
CSS

body {
background-color: var(--secondary);
}
.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 div, #banner img {
width: 80em;
height: inherit;
background-color: var(--hover);
border-radius: 0px 0px 20px 20px;
}
#info {
width: 80em;
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;
}
.infodata {
margin-top: 2em;
display: flex;
flex-direction: column;
}
.infodata span {
margin-bottom: .5em;
}
.profilebuttons {
width: 80em;
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 {
margin-top: 2em;
}
#about .ltext {
border-right: 2px solid var(--mild);
padding: 10px;
padding-right: 3em;
}
#about .data {
display: flex;
flex-direction: column;
padding: 10px;
padding-left: 20px;
padding-top: 15px;
}
#about .data span {
margin-bottom: 10px;
width: 28em;
margin-bottom: 5px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.logout {
flex: 1;
/* align-self: flex-end !important; */
}