mirror of
https://github.com/Akif9748/akf-forum.git
synced 2024-12-23 16:19:08 +03:00
206 lines
2.8 KiB
CSS
206 lines
2.8 KiB
CSS
.title {
|
|
color: #414141;
|
|
font-weight: 700;
|
|
font-size: 36px;
|
|
}
|
|
|
|
.date {
|
|
color: gray;
|
|
}
|
|
|
|
.message {
|
|
max-width: 800px;
|
|
box-shadow: 0 0 5px 0 #c3c3c3;
|
|
margin: 10px auto;
|
|
padding: 20px;
|
|
display: flex;
|
|
gap: 10px;
|
|
position: relative;
|
|
}
|
|
|
|
.message .left {
|
|
text-align: center;
|
|
border-right: 2px solid #d9d9d9;
|
|
}
|
|
|
|
.message .left img {
|
|
width: 100px;
|
|
height: 100px;
|
|
border-radius: 50%;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.message .left .username {
|
|
color: #555;
|
|
}
|
|
|
|
.content {
|
|
width: 70%;
|
|
}
|
|
|
|
.reactions {
|
|
position: absolute;
|
|
right: 20px;
|
|
bottom: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.reactions div {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 4px;
|
|
color: #747474;
|
|
cursor: pointer;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.reactions div:hover {
|
|
color: #151515;
|
|
|
|
}
|
|
|
|
.reactions div i {
|
|
font-size: 22px;
|
|
}
|
|
|
|
|
|
.pagination {
|
|
box-shadow: 0 0 5px 0 #c3c3c3;
|
|
margin: 10px auto;
|
|
padding: 8px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
max-width: 400px;
|
|
gap: 10px;
|
|
position: relative;
|
|
}
|
|
|
|
.pagination .back,
|
|
.pagination .after {
|
|
color: #747474;
|
|
font-size: 26px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
.pagination .numbers {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
.pagination .number {
|
|
color: #747474;
|
|
font-size: 22px;
|
|
border: 0 0 5px #747474;
|
|
padding: 8px;
|
|
border-radius: 2px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
margin: 8px;
|
|
}
|
|
|
|
.pagination .number.active {
|
|
color: #4d18e6;
|
|
font-weight: 700;
|
|
}
|
|
|
|
|
|
.dots {
|
|
position: absolute;
|
|
right: 20px;
|
|
font-size: 22px;
|
|
top: 10px;
|
|
color: #747474;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dots-menu {
|
|
position: absolute;
|
|
top: 50px;
|
|
right: 0;
|
|
background-color: #e6e6e6;
|
|
width: 100px;
|
|
text-align: center;
|
|
display: none;
|
|
}
|
|
|
|
.dots-menu.active {
|
|
display: block;
|
|
}
|
|
|
|
.dots-menu a {
|
|
display: block;
|
|
margin: 8px;
|
|
cursor: pointer;
|
|
}
|
|
.dots-menu a:hover:nth-child(1){
|
|
color:#e70000}
|
|
.dots-menu a:hover:nth-child(2){
|
|
color:#4d18e6}
|
|
|
|
|
|
/* Media Query */
|
|
|
|
@media(max-width:980px){
|
|
.message{
|
|
margin: 10px 20px;
|
|
max-width: 100%;
|
|
flex-direction:column;
|
|
position:relative;
|
|
}
|
|
.message .left{
|
|
padding: 40px;
|
|
border:none;
|
|
border-bottom: 2px solid #d9d9d9;
|
|
|
|
}
|
|
.message .left img{
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 50%;
|
|
margin-right: 5px;
|
|
position: absolute;
|
|
left: 20px;
|
|
top: 20px;
|
|
}
|
|
.message .left .username{
|
|
position: absolute;
|
|
top: 20px;
|
|
left: 80px;
|
|
}
|
|
.message .date:nth-of-type(3){
|
|
position: absolute;
|
|
right: 20px;
|
|
top: 20px;
|
|
}
|
|
.message .date:nth-of-type(2){
|
|
position: absolute;
|
|
right: 20px;
|
|
top: 40px;
|
|
}
|
|
|
|
.dots{
|
|
position: absolute;
|
|
right: auto;
|
|
top: 70px;
|
|
left: 40px;
|
|
}
|
|
.dots-menu{
|
|
position: absolute;
|
|
left: 70px;
|
|
top: 60px;
|
|
width: 120px;
|
|
}
|
|
.dots-menu.active{
|
|
display:flex;
|
|
}
|
|
.content{
|
|
width:50%;
|
|
}
|
|
|
|
}
|