xssbook/public/css/home.css
2023-01-21 09:08:22 -05:00

177 lines
No EOL
11 KiB
CSS

body {
background-color: #f0f2f5;
}
#posts {
display: flex;
flex-direction: column;
align-items: center;
}
.post, .create {
width: 40em;
height: fit-content;
background-color: white;
border-radius: 10px;
padding: 15px;
box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
margin-bottom: 1.5em;
}
.post {
padding-bottom: 0;
}
.create {
display: flex;
flex-direction: row;
}
.create button {
all: unset;
background-color: #f0f2f5;
border-radius: 3em;
margin-left: 1em;
flex: 1;
}
.create button:hover {
background-color: #e4e6e8;
cursor: pointer;
}
.create button p {
margin-left: 1em;
font-size: 18px;
}
.postheader {
display: flex;
flex-direction: row;
margin-bottom: .5em;
}
.postbuttons {
display: flex;
flex-direction: row;
}
.postbuttons>span {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
padding: 7px;
border-radius: 5px;
color: #606770;
margin: 3px
}
.postbuttons>span:hover {
background-color: #e4e6e8;
}
.postname {
margin-left: 1em;
display: flex;
flex-direction: column;
}
.icons {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAMaCAMAAABESx1iAAAC/VBMVEVHcEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcHiEAAAA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VFY4OjI3ruXJRANrXB/o6LFzs2mzCC9uQaVTTfrPWKfBzqogOqrFlu2bdbKWLNvpDRGPA1ZOA1YmREzzideiY/f2tmxJmfHwrl5ztH9M0dH4dlrV/pa0h3OTToLfPmEeV5y3rVpowMTiKngcrUxmsgBYNXbfKcFHe54uTMUx+ciFyAi4jK9Y1uNP0M9LPWr1SnO1vg/wDZSSIGDqRwtgAAAABJRU5ErkJggg==');
display: inline-block;
width: 18px;
height: 18px;
background-size: auto;
background-repeat: no-repeat;
margin-right: .5em;
filter: invert(39%) sepia(21%) saturate(200%) saturate(109.5%) hue-rotate(174deg) brightness(94%) contrast(86%);
}
.blue {
filter: invert(39%) sepia(57%) saturate(200%) saturate(200%) saturate(200%) saturate(200%) saturate(200%) saturate(147.75%) hue-rotate(202deg) brightness(97%) contrast(96%);
}
.like {
background-position: 0px -132px;
}
.comm {
background-position: 0px -113px;
}
.createpost {
position: relative;
background-color: white;
width: 450px;
padding: 20px;
border-radius: .5em;
box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 8px 16px rgba(0, 0, 0, .1);
}
.createpost .postheader {
margin-top: 20px;
}
.createpost textarea {
border: none;
resize: none;
outline: none;
font-family: sfpro;
font-size: 24px;
margin-top: 10px;
width: 100%;
height: 120px;
margin-bottom: 20px;
}
.createpost>span {
margin-top: -10px;
}
.primary {
margin: 0;
width: calc(100% - 20px);
font-family: sfprobold;
height: 15px;
}
.close {
top: 1em;
right: 1em;
}
.comment {
display: flex;
flex-direction: row;
margin-bottom: 10px;
}
.comment>span {
display: flex;
flex-direction: column;
margin-left: 10px;
background-color: #f0f2f5;
border-radius: 10px;
padding: 10px;
padding-right: 10px;
}
.larger {
font-size: 18px;
}
.newcomment {
display: flex;
flex-direction: row;
}
#comments input {
all: unset;
padding: 10px;
border-radius: 10px;
width: calc(100% - 20px);
background-color: #f0f2f5;
font-family: sfpro;
}