首页/style.css

/* 新版首页DIV */
body.skin-vector #mainpage-body {
    display: grid;
    width: 100%;
    grid-template-areas: "a a b"
                         "c c d"
                         "e e f"
                         "g h i";
    grid-template-columns: 1fr 1fr 1fr;
}

body.skin-vector #mainpage-body :nth-child(1) {grid-area: a;}
body.skin-vector #mainpage-body :nth-child(2) {grid-area: b;}
body.skin-vector #mainpage-body :nth-child(3) {grid-area: c;}
body.skin-vector #mainpage-body :nth-child(4) {grid-area: d;}
body.skin-vector #mainpage-body :nth-child(5) {grid-area: e;}
body.skin-vector #mainpage-body :nth-child(6) {grid-area: f;}
body.skin-vector #mainpage-body :nth-child(7) {grid-area: g;}
body.skin-vector #mainpage-body :nth-child(8) {grid-area: h;}
body.skin-vector #mainpage-body :nth-child(9) {grid-area: i;}
/* [[分类:模板样式]] */