Skip to content

Lowyat LYN Forum Redux by rafiazman

Screenshot of Lowyat LYN Forum Redux

Details

Authorrafiazman

LicenseNo License

Categorylowyat forums

Created

Updated

Size6.0 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

  • Rounded sections in LYN forums
  • Enlarged forum thread links clickable area
  • Enlarged various other UI elements to make them easier to click

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         LYN Forum Redux
@version      20240104.02.40
@namespace    ?
==/UserStyle== */

@-moz-document domain("forum.lowyat.net") {
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&display=swap');

* {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

img[src="https://forum.lowyat.net/html/avatars/noavatar.gif"] {
    display: none;
}

/* Mobile-specific styles */
@media (width <= 1200px) {
    td.row2 {
        padding-top: 8px;
        padding-bottom: 8px;
        padding-right: 16px;
        padding-left: 16px;
    }

    #searchwrap {
        margin-right: 16px;
        width: 200px;
    }
    
    #keywordsquick {
        width: calc(100% - 20px) !important;
    }
    
    #submenu {
        border-radius: 0px !important;
        top: 0;
    }
    
    #ipbwrapper {
        padding-top: 40px;
    }
    
    #userlinksguest {
        margin: 0 !important;
        margin-bottom: 8px;
        padding-top: 0 !important;
    }
    
    #userlinksguest p.pcen {
        margin: 0 !important;
    }
}

/* AD REMOVAL */

div[style="height:120px;padding:10px 0;"], .style_ad, div[style="min-height:90px;margin:0 auto;padding:10px 0;text-align:center;"], div[style="height:120px;padding:10px 0 20px 0;"], div[style="min-height:100px;margin:0 auto;padding:10px 0;text-align:center;"],
#navstrip + div
{
    display: none !important;
}

script[type="text/javascript"] + center, br + center {
    display: none !important;
}

/* END OF AD REMOVAL */

body {
    background: #1e1e1e;
}

#ipbwrapper {
    max-width: 1200px;
}

#logostrip {
    display: none;
}



/* Submenu bar */
.borderwrap {
    background: none;
    border: none;
}

#submenu {
    background: #202068;
    border: none;
    border-radius: 16px;
    padding: 0 8px;
}

#submenu * {
    color: #969EA2 !important;
}

#submenu a:hover {
    color: #d1dde3 !important;
}
/* End of submenu bar */

#navstrip a {
    color: white !important;
}

#userlinksguest {
    border-radius: 16px;
}



#topic_content {
    background: unset;
    border: unset;
}

#topic-top-row div[valign="middle"][nowrap="nowrap"] {
    padding-top: 14px !important;
}

.pagecurrent {
    padding: 6px;
    border-radius: 4px;
    font-weight: bold;
}

.pagelink, .pagelinklast, .pagelinknew {
    padding: 6px 0;
    border-radius: 4px;
    font-weight: bold;
}

.pagelink, .pagelinklast {
    background: #3e5369;
    border: unset;
}

.pagelink:hover, .pagelinklast:hover {
    background: #000;
}

.pagelink:last-child {
    margin-left: 8px;
}

.pagelink a, .pagecurrent a, .pagelinklast a {
    color: white;
    padding: 6px;
}

.maintitle {
    border-radius: 16px 16px 0 0;
}

.subtitle {
    border-radius: 0 0 16px 16px;
    margin-bottom: 24px;
}

/* Forum post styles */

.post_table {
    border-spacing: 0;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 16px;
}

.post_table:last-of-type {
    margin-bottom: 16px;
}

.post_table td {
    height: 36px;
}

.row2 {
     padding: 0;
}

.row2.post_td_right {
    display: flex;
    align-items: center;
    position: relative;
}

.row2.post_td_right div[align="right"] {
    position: absolute;
    right: 13px;
}

.post_td_right[valign="top"] {
    padding-top: 6px;
    padding-right: 16px;
}

.formbuttonrow.post_td_right {
    display: flex;
    align-items: center;
    position: relative;
}

.formbuttonrow.post_td_right div[align="right"] {
    position: absolute;
    right: 26px;
}

.post_text[data-postid] {
    font-size: 14px;
}

/* Advertisement below user post */
.catend[colspan="2"] {
    display: none;
}

.bar {
    display: none;
}

.barc, .borderwrap > .row2[style="padding: 5px;"] {
    border-radius: 8px;
    padding: 0 6px;
}

#topic-bottom-row td {
    display: flex;
    align-items: center;
}

#topic-bottom-row td div:first-child {
    flex-grow: 2;
}

.copyright {
    display: none;
}

/* End of forum post styles */


/* THREAD LIST VIEW STYLES */
.newslink {
    margin-bottom: 24px !important;
    border-radius: 16px;
}

.gsc-input {
    padding: 0 !important;
}

#gsc-iw-id1 {
    padding: 0;
    height: 100%;
}

#gsc-i-id1 {
    height: 15px !important;
} 

#forum_topic_list {
    padding-bottom: 16px;
}

#forum_section_list {
    padding-bottom: 8px;
}


table[cellspacing="1"] {
    border-spacing: 0;
}

.borderwrap.background {
    border-radius: 16px;
    overflow: hidden;
}

/* h3 {
    border: none !important;
} */

#rules p {
    border: none !important;
    margin: 0 !important;
    background: #F9F9F9 !important;
    padding: 8px !important;
}

td.row1[align="center"]:not([id]):not([width]) > img {
    padding-left: 4px;
}

td[colspan="8"][style="background-color: #DFE6EF;"] {
    display: none;
}

#forum_topic_title {
    position: relative;
    z-index: 0;
    font-weight: 500;
    line-height: 1.5;
    height: 40px;
}

#forum_section_row:hover {
    background: rgba(0, 0, 0, 0.05);
}

#forum_topic_title:before {
    content: "";
    position: absolute;
    width: calc(100% - 5px);
    height: 100%;
    top: 0;
}

#forum_topic_title:hover:before {
    background-color: rgba(0, 0, 0, 0.05);
}

#forum_topic_title a[href*="/topic"][title]:not([title*="jump"]), #forum_section_name a:first-child {
    position: relative;
    display: inline-block;
    z-index: 1;
    padding-right: 100vw;
    margin-right: -100vw;
    padding-top: 8px;
    margin-top: -8px;
    margin-bottom: -8px;
    padding-bottom: 8px;
}

#forum_topic_title a[title*="attachment"], .minipagelink, .minipagelinklast {
    position: relative;
    z-index: 2;
}

.catend[colspan="5"] {
    border-radius: 0 0 16px 16px;
    height: 12px;
}

.catend[colspan="8"] {
    border-radius: 0 0 16px 16px;
}

/* END OF THREAD LIST VIEW STYLES */

#gfooter {
    border-radius: 8px;
    padding-right: 8px;
}
}

Reviews

No reviews yet.