@charset "utf-8";

@import "../initial";

// Link MODULES
.widget-link {
    // 在 layout-content 下的樣式
    .widget-title {
        @extend .unity-title;
    }

    &.widget1 {
        .widget-content {
            line-height: 2.5em;

            & + .widget-content {
                border-top: 1px dotted $theme-gray-light;
            }

            .widget-content-title {
                display: inline-block;
            }
        }

        // 在 layout-footer 下的樣式
        .layout-footer & {
            .widget-content {
                line-height: 2em;
                border-top-color: $theme-gray;
            }
        }
    }
}

// Link INDEX
.index-link {
    .index-title {
        @extend .unity-title;
    }

    &.index1 {
        .index-content {
            list-style-type: decimal-leading-zero;
            list-style-position: inside;

            & + .index-content {
                border-top: 1px dotted $theme-gray-light;
            }

            .index-context {
                display: inline-block;
                margin: 0 0 10px 2em;
                color: darken($theme-gray-light, 20%);
            }
        }
    }
}