开发布局
萨米 - 开发中心 » 开发布局
测试文本
body { color: #000 !important; font-weight: 500; font-size: 0.8em; font-family: 'zuijinregular', "Noto Sans SC", 'Lato', sans-serif; background: rgba(var(--head-gradient)); } ::selection { background-color: rgba(var(--rhodes)) !important; } ::-webkit-scrollbar, #side-bar:hover::-webkit-scrollbar { background-color: transaprent; width: .81em; height: .81em; box-shadow: 0 0 4px rgba(var(--scroll-back)); } ::-webkit-scrollbar-thumb, #side-bar:hover::-webkit-scrollbar-thumb { background-color: rgba(var(--rhodes-light-lite)); } /* MAIN CONTENT */ @keyframes merge { 0% {margin-top: 35%; filter: opacity(0);} 100% {margin-top: 17%; filter: opacity(1);} } @keyframes emerge { 0% {filter: opacity(0);} 100% {filter: opacity(0.5);} } @keyframes blur-in { 0% {filter: blur(30px);} 100% {filter: blur(0px);} } #container, #content-wrap { display: grid; padding: 0; } #container { position: relative; grid-template-areas: "header" "content-wrap" "footer" "license"; grid-template-columns: auto; width: 100%; height: 100%; margin: 0; } #content-wrap { position: initial; grid-area: content-wrap; grid-template-areas: "content"; grid-template-columns: 1fr 0fr; height: -webkit-fit-content; height: fit-content; min-height: 100vh; margin: 0 auto; width: 75vw; } #action-area-top { display: none; grid-area: action-area-top; width: 66vw; } #page-title { grid-area: page-title; } #breadcrumbs, .pseudocrumbs { display: flex; position: relative; grid-area: breadcrumbs; flex-wrap: wrap; align-items: center; justify-content: flex-start; width: -webkit-fit-content; width: -moz-fit-content; width: fit-content; margin: -1em 0 1em; padding: 0 .75em 0 0; font-size: .85em; line-height: 2; } #page-content { font-size: 1rem; grid-area: page-content; background: #ffffff70; padding: 1em; box-shadow: 0 0 20px 10px #ffffff8c; margin-bottom: 1rem; } #page-content > p { text-indent: 2em; } #main-content .page-tags { display: block; position: relative; grid-area: page-tags; justify-self: flex-start; width: 100%; } #page-info-break { grid-area: page-info-break; } #page-options-container { display: contents; } div#page-info { grid-area: pinfo; align-self: flex-end; height: min-content; overflow: visible; text-align: right; } div.page-watch-options { grid-area: pwatch; align-self: flex-end; height: min-content; overflow: visible; line-height: 1; } div#page-options-bottom { position: relative; grid-area: options-1; padding-top: .75em; } div#page-options-bottom-2 { grid-area: options-2; } div#page-options-area-bottom { grid-area: pbottom; } #action-area { grid-area: action-area-btm; padding: 2em 0 1em; text-align: center; } #footer { grid-area: footer; box-sizing: border-box; display: flex !important; flex-wrap: wrap; margin: 0; padding-top: 1em; line-height: 1; white-space: nowrap; align-content: center; justify-content: center; font-size: 110%; color: #ffca00; } #footer > a, #footer > div.options > a, #license-area > a { text-shadow: none !important; color: #c5e5ff; transition: all .4s cubic-bezier(.4,0,.2,1); border-bottom: 1px solid transparent; -moz-transition: all .4s cubic-bezier(.4,0,.2,1); -webkit-transition: all .4s cubic-bezier(.4,0,.2,1); -o-transition: all .4s cubic-bezier(.4,0,.2,1); } #footer > a:hover, #footer > div.options > a:hover { color: #64adff; border-bottom: 1px solid #64adff; } #license-area > a:before { --base-font-size: 0.9375rem; --clip-path: polygon(0 0,0 0,0 100%,0 100%); clip-path: var(--clip-path) calc(100% + var(--base-font-size)*.93333); content: ' '; transition: all 0.2s ease-out; -moz-transition: all all 0.2s ease-out; -webkit-transition: all all 0.2s ease-out; width: 1%; height: 100%; background: rgba(var(--trans)); position: absolute; top: 0; left: 0; z-index: -1; }#license-area > a:hover:before { background: rgba(var(--si-a-bg)); width: 100%; } #license-area { grid-area: license; box-sizing: border-box; display: flex; flex-wrap: wrap; align-self: flex-end; width: 100%; padding: .5em; position: relative; align-items: center; justify-content: center; line-height: 1; color: #ffca00; font-size: 105%; } @media (min-width: 767px) { #main-content { position: initial; max-height: 100%; width: 67vw; height: -webkit-fit-content; height: fit-content; max-width: 75vw; padding: 1rem 2rem; margin: 0 auto; background-color: rgba(var(--content-bg)); box-shadow: 0 0 9px 1px rgba(var(--bg-shadow)); animation: merge 2s cubic-bezier(0, 0, 0.05, 0.99); -moz-animation: merge 2s cubic-bezier(0, 0, 0.05, 0.99); -webkit-animation: merge 1s cubic-bezier(0, 0, 0.05, 0.99); -o-animation: merge 2s cubic-bezier(0, 0, 0.05, 0.99); animation-iteration-count: 1; animation-fill-mode: forwards; -webkit-backdrop-filter: blur(0.5em); backdrop-filter: blur(0.5em); display: grid; grid-template-columns: repeat(7,1fr); grid-template-areas: "action-area-top action-area-top action-area-top action-area-top action-area-top action-area-top action-area-top" "page-title page-title page-title page-title page-title page-title page-title" "breadcrumbs breadcrumbs breadcrumbs breadcrumbs breadcrumbs breadcrumbs breadcrumbs" "page-content page-content page-content page-content page-content page-content page-content" "page-info-break page-info-break page-info-break page-info-break page-info-break page-info-break page-info-break" ". . . pwatch pwatch pwatch pwatch" ". . . pinfo pinfo pinfo pinfo" "page-tags page-tags page-tags page-tags page-tags page-tags page-tags" "options-1 options-1 options-1 options-1 options-1 options-1 options-1" "options-2 options-2 options-2 options-2 options-2 options-2 options-2" "pbottom pbottom pbottom pbottom pbottom pbottom pbottom" "action-area-btm action-area-btm action-area-btm action-area-btm action-area-btm action-area-btm action-area-btm"; grid-auto-rows: min-content; grid-area: content; } }