xssbook/public/css/profile.css

128 lines
2.1 KiB
CSS
Raw Normal View History

2023-01-26 22:29:16 +00:00
body {
2023-01-30 23:55:36 +00:00
background-color: var(--secondary);
2023-01-26 22:29:16 +00:00
}
.spacer {
margin-bottom: 3.5em;
}
#top {
2023-01-30 23:55:36 +00:00
background-color: var(--primary);
2023-01-26 22:29:16 +00:00
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
}
#banner {
2023-01-30 23:55:36 +00:00
background-image: linear-gradient(var(--banner), var(--primary), var(--primary));
2023-01-26 22:29:16 +00:00
height: 30em;
width: 100%;
display: flex;
justify-content: center;
}
#banner div, #banner img {
width: 80em;
height: inherit;
2023-01-30 23:55:36 +00:00
background-color: var(--hover);
2023-01-26 22:29:16 +00:00
border-radius: 0px 0px 20px 20px;
}
#info {
width: 80em;
display: flex;
flex-direction: row;
}
.face {
2023-01-30 23:55:36 +00:00
background-color: var(--hover);
2023-01-26 22:29:16 +00:00
height: 12em;
width: 12em;
border-radius: 7em;
2023-01-30 23:55:36 +00:00
border: solid 5px var(--primary);
2023-01-26 22:29:16 +00:00
margin-top: -2em;
margin-left: 2em;
margin-right: 2em;
}
.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;
2023-01-26 22:29:16 +00:00
}
.profilebuttons button {
all: unset;
font-family: sfprobold;
padding: 0px 50px;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
2023-01-30 23:55:36 +00:00
color: var(--medium);
2023-01-26 22:29:16 +00:00
cursor: pointer;
flex: 0;
2023-01-26 22:29:16 +00:00
}
.profilebuttons button:hover {
2023-01-30 23:55:36 +00:00
background-color: var(--mild);
2023-01-26 22:29:16 +00:00
}
.selected {
2023-01-30 23:55:36 +00:00
color: var(--logo) !important;
border-bottom: 3px solid var(--logo) !important;
2023-01-26 22:29:16 +00:00
}
#about {
margin-top: 2em;
align-self: center;
padding: 0;
display: flex;
flex-direction: row;
}
#posts {
margin-top: 2em;
}
#about .ltext {
2023-01-30 23:55:36 +00:00
border-right: 2px solid var(--mild);
2023-01-26 22:29:16 +00:00
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; */
2023-01-26 22:29:16 +00:00
}