UNPKG

mdt-for-typecho

Version:

Concise Typecho blog theme.

289 lines (244 loc) 5.65 kB
/* 加密文章页面 */ .protected { text-align: center; padding: 5px; } .protected .text { display: block; -webkit-box-sizing: border-box; box-sizing: border-box; width: 100%; height: 36px; margin: 0; padding: 8px 0; overflow: hidden; color: rgba(0,0,0,.87); font-size: 16px; font-family: inherit; line-height: 20px; background: 0 0; border: none; border-bottom: 1px solid rgba(0,0,0,.42); border-radius: 0; outline: 0; -webkit-box-shadow: none; box-shadow: none; -webkit-transition-timing-function: cubic-bezier(.4,0,.2,1); transition-timing-function: cubic-bezier(.4,0,.2,1); -webkit-transition-duration: .2s; transition-duration: .2s; -webkit-transition-property: border-bottom-color,padding-right,-webkit-box-shadow; transition-property: border-bottom-color,padding-right,-webkit-box-shadow; transition-property: border-bottom-color,padding-right,box-shadow; transition-property: border-bottom-color,padding-right,box-shadow,-webkit-box-shadow; -webkit-appearance: none; -moz-appearance: none; appearance: none; resize: none; } .protected .submit { position: relative; display: inline-block; -webkit-box-sizing: border-box; box-sizing: border-box; min-width: 88px; height: 36px; margin: 0; padding: 0 16px; overflow: hidden; color: inherit; font-weight: 500; font-size: 14px; line-height: 36px; letter-spacing: .04em; white-space: nowrap; text-align: center; text-transform: uppercase; text-decoration: none; vertical-align: middle; background: 0 0; border: none; border-radius: 2px; outline: 0; cursor: pointer; -webkit-transition: all .2s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .2s cubic-bezier(.4,0,1,1); transition: all .2s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .2s cubic-bezier(.4,0,1,1); transition: all .2s cubic-bezier(.4,0,.2,1),box-shadow .2s cubic-bezier(.4,0,1,1); transition: all .2s cubic-bezier(.4,0,.2,1),box-shadow .2s cubic-bezier(.4,0,1,1),-webkit-box-shadow .2s cubic-bezier(.4,0,1,1); -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -ms-touch-action: manipulation; touch-action: manipulation; will-change: box-shadow; zoom: 1; -webkit-user-drag: none; background-color: #ff4081!important; color: #fff!important; } /* 属性 */ .nodisplay{ display: none; } .post-pagenav{ text-align: center; } a{ color:#448AFF; } center{ text-align: center; } #body{ margin: 2%; padding:2%; } .footer{ margin: 3%; padding: 2%; } .error-page{ text-align: center; } .search-404{ width: 30%; } .theFirstPage { z-index: 1; background-position: center center; background-size: cover; background-repeat: no-repeat; opacity: 0!important; transition: opacity .3s } .theFirstPage.mdx-bg-loaded { opacity: 1!important } .theFirstPage,.theFirstPageBackGround { position: absolute; top: 0; left: 0; width: 100%; height: 50.2% } .theFirstPageBackGround { z-index: 1 } .mdui-theme-layout-dark .PostTitleFillPageBackGround,.mdui-theme-layout-dark .theFirstPageBackGround { background-color: #212121!important } .theFirstPageSay { z-index: 1; height: 50.2% } #theFirstPageSayContent { padding: 0 30px } .theFirstPageSay,.theFirstPageSmall { position: absolute; top: 0; left: 0; width: 100% } .theFirstPageSmall { z-index: 1; height: 270px } .appbar{ position: fixed; z-index: 4; right: 0; left: 0; top: 0; width: 100%; will-change: left,right; } .main{ position: absolute; top: 50.2%; z-index: 2; width: 100%; left: 0; } .custom-block .custom-block-title { font-weight: 600; margin-bottom: -.4rem } .custom-block.danger,.custom-block.tip,.custom-block.warning { padding: .1rem 1.5rem; border-left-width: .5rem; border-left-style: solid; margin: 1rem 0 } .custom-block.warning { background-color: rgba(255,229,100,.3); border-color: #e7c000; color: #6b5900 } .custom-block.warning .custom-block-title { color: #b29400 } .custom-block.warning a { color: #2c3e50 } .custom-block.warning { padding: .1rem 1.5rem; border-left-width: .5rem; border-left-style: solid; margin: 1rem 0 } .custom-block.warning { background-color: rgba(255,229,100,.3); border-color: #e7c000; color: #6b5900 } .custom-block.warning .custom-block-title { color: #b29400 } .custom-block.warning a { color: #2c3e50 } .post-content,.post-meta,#comments{ margin: 3%!important; } #vcomments{ margin: 4%!important; } .post-content p{ font-size: 16px; } .post-content h3{ font-size: 1.7em!important; } .post-content h4{ font-size: 1.6em!important; } #senweater{ width: auto!important; height: auto!important; } /* 文章卡片(https://flyhigher.top 大佬) */ .postDiv{ margin: 15px; width: 100%; max-width: 900px!important; } p.ct1-p{ line-height: 25px; margin-top: 10px; padding: 0 10px; font-size: 17px; opacity: .7; } .info-icon { font-size: 14px; } .info{ line-height: 36px; opacity: .4; } .coun-read { line-height: 36px; float: right; }