Skip to content

vns.lpnu.ua - fixed readability by andrii-vovk

Details

Authorandrii-vovk

LicenseNo License

Categoryvns

Created

Updated

Size1.6 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Reverts vns's 2022 awful redesign to what it kinda was before

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           vns.lpnu.ua - 8/24/2022, 1:36:02 PM
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
==/UserStyle== */
@-moz-document url-prefix("https://vns.lpnu.ua/course/") {
    html {
        --picture-size: 23px;
        --image-scale: 0.65;
    }

    .topics {
        width: 100%;
    }


    #page-content {
        flex-direction: column-reverse !important;
    }

    #page-content > div {
        flex: 0 1 auto !important;
        max-width: 100% !important;
    }

    .activity-wrapper {
        margin-left: 25px;
    }

    .activity-item {
        border: none !important;
        padding: 0 !important;
    }

    .activity-item .media-body {
        display: flex;
        flex-direction: row-reverse;
        gap: 10px;
        align-items: baseline;
    }

    .activity-item .activityiconcontainer {
        width: var(--picture-size);
        height: var(--picture-size);
        padding: 0;
        margin-right: 5px !important;
    }

    .activity-item .activityiconcontainer img {
        width: calc(var(--picture-size) * var(--image-scale));
        height: calc(var(--picture-size) * var(--image-scale));
    }


    .activity-item .text-uppercase {
        padding: 0;
    }

    .activity-item .text-uppercase::after {
        content: ']';
    }

    .activity-item .text-uppercase::before {
        content: '[';
    }

    .activity-altcontent {
        margin-top: 5px !important;
        padding: 4px !important;
        font-style: italic;
    }

    .course-description-item {
        margin-left: 15px !important;
    }
}

Reviews

No reviews yet.