Small Apple.com

Shrinks apple home page to be readable for normal people

当前为 2023-01-28 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

/* ==UserStyle==
@name           Small Apple.com
@namespace      https://greasyfork.org/en/users/759797-lego-savant
@version        1.0
@description    Shrinks apple home page to be readable for normal people
@author         legosavant
@license        GPLv3
==/UserStyle== */
/******************************HOME*************************/
/*super huge*/
.main [data-module-template="heroes"] {
    --columns:3;
    --content-height:400px;
    --gutter-width: 8px;
    --gutter-half-width: 4px;
    --gutter-and-half-width: 12px;
}
.main [data-module-template="heroes"] .unit-image-wrapper .unit-image[class] {
    background-size:54%;
    background-position:center bottom
}
.main [data-module-template="heroes"] [data-unit-id] .unit-copy-wrapper {
    padding-top:4px
}
@media (max-width:1681px) {
    .main [data-module-template="heroes"] {
        --content-height:300px
    }
    .main [data-module-template="heroes"] .unit-image-wrapper .unit-image[class] {
        background-size:40%;
        background-position:center bottom
    }
    .main [data-module-template="heroes"] [data-unit-id] .unit-copy-wrapper>*.headline {
        font-size:36px
    }
    .main [data-module-template="heroes"] [data-unit-id] .unit-copy-wrapper>*.subhead {
        font-size:24px
    }
    .main [data-module-template="heroes"] .unit-copy-wrapper>*.callout, .main [data-module-template="heroes"] [data-unit-id] .unit-copy-wrapper>*.cta, .main [data-module-template="heroes"] [data-unit-id] .unit-copy-wrapper>*.cta-links {
        font-size:16px
    }
}
/*huge*/
.main [data-module-template="promos"] {
    --columns:6;
    --content-height:300px
}
.main [data-module-template="promos"] .unit-image-wrapper .unit-image[class] {
    background-size:52%;
    background-position:center bottom
}
.main [data-module-template="promos"] [data-unit-id] .unit-copy-wrapper .headline {
    margin-top:6px;
    font-size:24px
}
.main [data-module-template="promos"] [data-unit-id] .unit-copy-wrapper .subhead {
    font-size:16px
}
@media (max-width:1681px) {
    .main [data-module-template="promos"] .unit-image-wrapper .unit-image[class] {
        background-size:43%;
        background-position:center bottom
    }
    .main [data-module-template="promos"] {
        --columns:6;
        --content-height:250px
    }
    .main [data-module-template="promos"] [data-unit-id] .unit-copy-wrapper .headline {
        margin-top:4px;
        font-size:20px
    }
    .main [data-module-template="promos"] [data-unit-id] .unit-copy-wrapper .subhead, .main [data-module-template="promos"] [data-unit-id] .unit-copy-wrapper .cta-links, .main [data-module-template="promos"] [data-unit-id] .unit-copy-wrapper .cta {
        font-size:14px
    }
}