Skip to content

better table by watercatuwu

Details

Authorwatercatuwu

LicenseNo License

Categorye-campus.clhs.tyc.edu.tw

Created

Updated

Size1.4 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

稍微優化了表格樣式
無聊寫的uwub

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           tyc.edu.tw - 2022/8/25 下午11:45:29
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
==/UserStyle== */
@-moz-document domain("e-campus.clhs.tyc.edu.tw") {
    table {
        border: 0px;
        border-collapse: collapse;
        width: 60%;
    }

    p table {
        width: 90%;
        text-align: center;
    }

    form td {
        border: 0px !important;
    }

    td {
        border: 0px;
        height: 40px;
        text-align: center;
    }


    center td,
    p td {
        border-bottom: 1px solid #D9D9D9;
    }

    form tr:hover {
        background-color: rgba(0, 0, 0, 0)
    }



    tr:hover {
        background-color: rgba(0, 0, 0, 0.15);
    }

    a {
        text-decoration: none;
    }





    input {
        width: 30%;
        height: 30px;
        padding: 10px;
        border: 1px solid #bfbfbf;
        border-radius: 5px;
        outline: none;
    }

    button {
        width: 25% !important;
        height: 40px;
        border: 1px solid rgba(0, 0, 0, 0.25);
        border-radius: 10px;
    }

    button:hover {
        background-color: rgba(0, 0, 0, 0.15);
    }

    button br {
        display: none;
    }

    td img {
        display: none;
    }

    table[id*=item] {
        padding-left: 20px;
    }
}

Reviews

No reviews yet.