@import "../base/variables";

// 日志
.journals {
    >.name {
        font-size: 1.5rem;
        font-weight: bold;
        line-height: 2.2rem;
        color: #262626;
    }

    >ul {
        >li {
            >.content {
                font-size: 1rem;
                color: #595959;
            }

            >.info {
                display: flex;
                justify-content: flex-end;
                font-size: 0.75rem;
                color: #8c8c8c;
            }
        }
    }

    // =========== 深色 ===========
    @include darkmode {
        >.name {
            color: #dbdbdb;
        }

        >ul {
            >li {
                >.content {
                    color: #acacac;
                }

                >.info {
                    color: #7d7d7d;
                }
            }
        }
    }

    // =========== 320px 设备 ===========
    @media (max-width: 320px) {
        >.name {
            padding: 2.5% 0;
            text-align: center;
        }

        >ul {
            >li {
                padding: 2.5% 0;

                >.info {
                    padding: 1% 0;
                }
            }
        }
    }
    // =========== 768px 设备 ===========
    @media (min-width: 320px) and (max-width: 768px) {
        >.name {
            padding: 2.5% 0;
            text-align: center;
        }
        >ul {
            >li {
                padding: 2.5% 0;

                >.info {
                    padding: 1% 0;
                }
            }
        }
    }

    // =========== 2048px 设备 ===========
    @media (min-width: 768px) and (max-width: 2048px) {
        >.name {
            padding: 0.5rem 0;
        }
        >ul {
            >li {
                padding: 1rem 0.1rem;

                >.info {
                    padding: 1rem 0;
                }
            }
        }
    }
}