Skip to content

LTT Forum Theme v1.2.5 by nayr438

Screenshot of LTT Forum Theme v1.2.5

Details

Authornayr438

LicenseNo License

Categorylinustechtips

Created

Updated

Size6.7 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A custom Stylus Theme for The Linus Tech Tips Forum. Will work with light or dark theme.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           LTT Forum Theme v1.2.5
@namespace      USO Archive
@author         Nayr438
@description    `A custom Stylus Theme for The Linus Tech Tips Forum. Will work with light or dark theme.`
@version        1.2.5
@license        CC0-1.0
@preprocessor   uso
==/UserStyle== */
@-moz-document domain("linustechtips.com") {
    body {
        font-size: 12px;
    }

    /* Hide Default Logo */
    #elLogo img {
        visibility: hidden;
    }

    /* Embed Alt Logo */
    #elLogo {
        background: url("https://raw.githubusercontent.com/Nayr438/ltt_stylus_theme/master/images/AltLogoBanner_Unofficial_LTT.png") no-repeat left;
        background-size: 350px 61.75px;
        min-width: 350px;
    }

    /* Hovercard Padding */
    .ipsTabs {
        --ipsTabs--padding: 8px;
    }

    /* Hovercard Remove Shadow */
    .ipsHovercard {
        box-shadow: none !important;
    }

    /* Global Padding */
    /*  Member Stats  */
    /*  Page Header   */
    .ipsPadding {
        padding: 10px !important;
    }

    /* Global */
    /* Sidebar Padding */
    .ipsPad,
    .ipsApp ul.ipsPad,
    .ipsApp ol.ipsPad {
        padding: 10px !important;
    }

    /* Global Page Title */
    .ipsType_pageTitle {
        font-size: 20px;
    }

    /* Page Header */
    .ipsPageHeader {
        position: relative;
        margin-bottom: 20px !important;
        padding: 7px;
    }

    /* Breadcrumb Navigation */
    .ipsBreadcrumb_top {
        margin: 0px 0px 10px 0px;
    }

    .ipsBreadcrumb {
        font-size: 13px;
        padding: 10px 0 8px;
    }

    /* Navigation Bar */
    #secondaryNav > ul > li > a {
        font-size: 12px;
    }

    /* Forum Home Category Spacing */
    .ipsDataList_large .ipsDataItem_main,
    .ipsDataList_large .ipsDataItem_stats,
    .ipsDataList_large .ipsDataItem_lastPoster,
    .ipsDataList_large .ipsDataItem_lastPoster\:flex,
    .ipsDataList_large .ipsDataItem_generic {
        padding: 10px;
    }

    /* Forum Home Titles */
    .cForumList .ipsDataItem_title {
        font-size: 14px !important;
    }


    /* Forum Section Spacing */
    .ipsType_sectionTitle {
        font-size: 16px;
        padding: 5px 15px 5px 15px;
        margin-top: 0px;
    }

    /* Forum Home Section Post Count */
    .ipsDataItem_statsLarge .ipsDataItem_stats_number {
        font-size: 16px;
    }

    /* Forum Home Section Seperator */
    .cForumList .ipsDataItem {
        border-bottom-width: 0;
        border-top-width: 2px !important;
    }

    /* Forum Home Section Last Post User Image */
    .ipsDataItem_lastPoster .ipsUserPhoto {
        margin: 0px 10px 0px -50px;
    }

    /* Forum home Section Last Post */
    .ipsDataItem_lastPoster__title {
        font-size: 12px !important;
    }

    /* Subforum Padding */
    .ipsDataItem_main,
    .ipsDataItem_stats,
    .ipsDataItem_lastPoster,
    .ipsDataItem_generic,
    .ipsDataItem_modCheck,
    .ipsDataItem_icon {
        padding: 10px;
    }

    .cNotificationSettings_expand {
        line-height: 40px;
    }

    /* Subforum and sidebar Seperator */
    .ipsDataItem {
        border-width: 0 0 2px 0;
    }

    /* Post Badge Height */
    .ipsBadge {
        line-height: 1.5;
    }

    /*Bade Font Size in post badges */
    /* Smaller font, I broke things */
    .ipsBadge.ipsBadge_large {
        font-size: 11px;
    }

    /* Quote Padding */
    .ipsQuote_citation,
    .ipsSpoiler_header {
        padding: 5px;
    }

    /* Post Footer Padding */
    .lmgComment_footer {
        padding: 0px 0px 0px 2px;
    }


    /*Author Badge */
    .ipsComment .ipsComment_authorBadge {
        position: absolute;
        left: 148px;
        top: 13px;
        background-color: grey;
        color: darkorange;
        content: "Original Poster" !important;
    }

    /* Set max width on post date to prevent Author Badge Overlap */
    /* Wraps around, might do something diffrent later */
    .ipsComment_meta .ipsType_reset {
        max-width: 130px;
    }

    /* Post User Area */
    .ipsType_sectionHead {
        font-size: 16px;
    }

    /* Sidebar */
    .ipsPad_half,
    .ipsApp ul.ipsPad_half,
    .ipsApp ol.ipsPad_half {
        padding: 5px;
    }

    /*Sidebar user images */
    .ipsWidget.ipsWidget_vertical .ipsDataList.ipsDataList_reducedSpacing .ipsDataItem_icon {
        padding-left: 2px !important;
    }

    /* Sidebar Content */
    html[dir="ltr"] .ipsDataList.ipsDataList_reducedSpacing .ipsDataItem_icon + .ipsDataItem_main {
        padding-left: 2px;
    }

    /* Sidebar Titles */
    .ipsWidget_title {
        font-size: 14px;
        font-weight: bold;
        padding: 10px;
    }

    /* Sidebar Content */
    .ipsType_medium {
        font-size: 12px;
    }

    /* Sidebar Youtube Video Images */
    .lmg-card .card-img-a {
        width: unset !important;
        margin: unset;
    }


    /* Member Stats User Photo */
    .ipsPhotoPanel > .ipsUserPhoto {
        margin: 4px 0px !important;
    }


    /* Sidebar Youtube Video Content */
    .lmg-card h2 {
        font-size: 14px;
    }

    /* Sidebar Youtube Video Title */
    .lmg-card h3 {
        font-weight: bold;
        font-size: 14px;
    }

    /* ips button - Primary - New Topic */
    /* Watch me */
    .ipsToolList_horizontal > .ipsToolList_primaryAction .ipsButton:not(.ipsButton_link) {
        padding: 0 10px
    }

    /* SubForum Banner Spacing */
    .ipsMargin_vertical\:half,
    .ipsMargin_bottom\:half {
        margin-bottom: 5px !important;
    }

    /* Topic Page Navigation */
    .ipsPadding\:half {
        padding: 6px !important;
    }

    .ipsCommentCount {
        padding: 0 5px;
        min-width: 21px;
        line-height: 21px;
    }

    #ipsLayout_sidebar > [data-role="sidebarAd"] {
        display: flex;
        margin-top: 7px;
    }

    #ipsLayout_sidebar > [data-role="sidebarAd"] > * {
        flex: 0 0 300px;
        margin: auto;
    }

    /* Fix Profile feed alignment */
    #elProfileActivityOverview {
        margin: unset;
    }

    /* Remove padding from profile tablist */
    #elProfileTabs {
        padding: unset;
    }

    /* Give the global search a more rounded box */
    #elSearch {
        border-radius: 20px;
    }

    /* Reduce Blog Title Size */
    .cBlog_grid .cBlog_grid_item__title {
        font-size: 18px;
    }
}

Reviews

No reviews yet.