html, body { background-color: #faf9f8; font-family: "Segoe UI Regular", "Source Han Sans SC Regular", "Microsoft YaHei", sans-serif; height: 100%; overflow: hidden; margin: 0; } #root { height: 100%; } .ms-ContextualMenu-link, .ms-Button { cursor: default; font-size: 13px; } .ms-Nav-link, .ms-Nav-chevronButton { font-size: 12px; line-height: 32px; height: 32px; background-color: transparent; color: #323130; } .ms-Button--primary.danger { background: #d13438; border-color: #d13438; } .ms-Button--primary.danger:hover { background: #ba2d32; border-color: #ba2d32; } .ms-Button--primary.danger:active { background: #a4262c; border-color: #a4262c; } .ms-Button--commandBar.active { background-color: rgb(237, 235, 233); color: rgb(32, 31, 30); } .ms-Button--commandBar.active .ms-Button-icon { color: rgb(0, 90, 158); } i.ms-Nav-chevron { line-height: 32px; height: 32px; } .ms-Nav-groupContent { margin-bottom: 24px; } .ms-ActivityItem-activityTypeIcon, .ms-ActivityItem-timeStamp { user-select: none; } .ms-Label, .ms-Spinner-label { user-select: none; } #root > nav { height: 32px; -webkit-app-region: drag; user-select: none; overflow: hidden; } #root > nav .btn, #root > nav span { z-index: 1; position: relative; } nav .progress { position: fixed; top: 0; left: 0; z-index: 10; width: 100%; height: 2px; overflow: hidden; } .ms-ProgressIndicator-itemProgress { padding: 0; } .ms-ProgressIndicator-progressTrack { background: none; } #root > nav span.title { font-size: 12px; line-height: 32px; vertical-align: top; letter-spacing: 2px; margin: 0 4px; display: inline-block; max-width: 300px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } .btn-group { display: inline-block; user-select: none; -webkit-app-region: none; } .btn-group .seperator { display: inline-block; width: 32px; font-size: 12px; color: #c8c6c4; text-align: center; vertical-align: middle; } .btn-group .seperator::before { content: "|"; } .btn-group .btn { display: inline-block; width: 48px; height: 32px; text-decoration: none; text-align: center; line-height: 32px; color: #000; font-size: 14px; vertical-align: top; } #root > nav .btn-group .btn.system { position: relative; z-index: 10; } nav.menu-on .btn-group .btn, nav.hide-btns .btn-group .btn { display: none; } nav.menu-on .btn-group .btn.system, nav.hide-btns .btn-group .btn.system { display: inline-block; } nav.menu-on .btn-group .btn.system, nav.item-on .btn-group .btn.system { color: #fff; } .btn-group .btn:hover { background-color: #0001; } .btn-group .btn:active { background-color: #0002; } .btn-group .btn.disabled, .btn-group .btn.fetching { background-color: unset; color: #797775; } .btn-group .btn.fetching { animation: rotating linear 1.5s infinite; } @keyframes rotating { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .btn-group .btn.close:hover { background-color: #e81123; color: #fff !important; } .btn-group .btn.close:active { background-color: #f1707a; color: #fff !important; } .btn-group .btn.inline-block-wide { display: none; } .menu-container, .article-container { position: fixed; z-index: 5; left: 0; top: 0; width: 100%; height: 100%; background-color: #0008; backdrop-filter: saturate(150%) blur(20px); } .article-container { z-index: 6; } .menu-container .menu { position: absolute; left: 0; top: 0; width: 280px; height: 100%; background-color: #faf9f8; } .menu-container .menu .nav-wrapper { max-height: calc(100% - 32px); overflow: hidden auto; } .menu-container .menu p.subs-header { font-size: 12px; color: #797775; margin: 2px 8px; user-select: none; } .settings-container { position: fixed; z-index: 5; left: 0; top: 0; width: 100%; height: 100%; background-color: #edebe9; overflow: hidden; } .settings-container .settings { margin: 64px auto 0; width: 680px; height: calc(100% - 64px); background-color: #fff; box-shadow: 0 6.4px 14.4px 0 rgba(0,0,0,.132), 0 1.2px 3.6px 0 rgba(0,0,0,.108); } div[role="toolbar"] { height: 100%; } div[role="tabpanel"] { height: calc(100% - 44px); padding: 12px 16px; overflow-y: auto; position: relative; } .settings .loading { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-color: #fffa; z-index: 6; } .settings .loading .ms-Spinner { margin-top: 180px; } .tab-body { margin-bottom: 24px; } .tab-body .ms-StackItem { margin-right: 6px; margin-bottom: 12px; } .tab-body .ms-StackItem:last-child { margin-right: 0; } img.favicon { width: 16px; height: 16px; vertical-align: middle; user-select: none; } .ms-DetailsList-contentWrapper { max-height: 400px; overflow-x: hidden; overflow-y: auto; margin-bottom: 16px; } .settings-hint { user-select: none; line-height: 32px; font-size: 12px; color: #605e5c; } .settings-about { margin: 72px 0; } .settings-about > * { margin: 0 !important; -webkit-user-drag: none; } .main { height: calc(100% - 32px); position: relative; overflow-y: scroll; } .main::before { content: ""; display: block; position: sticky; top: 0; left: 0; width: 100%; height: 32px; margin-bottom: -32px; background: linear-gradient(#faf9f8ff, #faf9f800); z-index: 1; } @media (min-width: 1441px) { #root > nav.menu-on { padding-left: 296px; } nav.menu-on .btn-group .btn { display: inline-block; } nav.menu-on .btn-group .btn.system { color: #000; } nav.item-on .btn-group .btn.system { color: #fff; } .menu-container { width: 280px; } .menu-container .menu { background-color: #edebe9; } .menu-container .menu::after { content: ""; display: block; pointer-events: none; position: absolute; top: -10%; right: 0; width: 120%; height: 120%; box-shadow: inset 5px 0 20px #0004; } .main.menu-on, .list-main.menu-on { padding-left: 280px; } nav.hide-btns .btn-group .btn, nav.menu-on .btn-group .btn.hide-wide, .menu .btn-group .btn.hide-wide { display: none; } .btn-group .btn.inline-block-wide { display: inline-block; } } .article-wrapper { margin: 32px auto 0; width: 860px; height: calc(100% - 50px); background-color: #fff; box-shadow: 0 6.4px 14.4px 0 rgba(0,0,0,.132), 0 1.2px 3.6px 0 rgba(0,0,0,.108); border-radius: 5px; overflow: hidden; } .article-container .btn-group .btn { color: #fff; } .article-container .btn-group { position: absolute; top: calc(50% - 32px) } .article-container .btn-group.prev { left: calc(50% - 486px); } .article-container .btn-group.next { right: calc(50% - 486px); } .article { height: 100%; } .article webview { width: 100%; height: calc(100% - 36px); border: none; } .article i.ms-Icon { color: #161514; } .article .actions { border-bottom: 1px solid #e1dfdd; } .article .actions .favicon { margin-right: 8px; } .article .actions .source-name { line-height: 35px; user-select: none; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; } .side-article-wrapper { flex-grow: 1; padding-top: 32px; height: calc(100% - 32px); background: #fff; } .side-article-wrapper .article { display: flex; flex-direction: column-reverse; } .side-article-wrapper .article .actions { border-bottom: none; } .side-article-wrapper .article > .ms-Stack { border-top: 1px solid #e1dfdd; } .list-feed-container::before, .side-article-wrapper::before { content: ""; display: block; width: 100%; border-bottom: 1px solid #e1dfdd; position: absolute; top: 31px; } .list-main { display: flex; flex-wrap: wrap; height: 100%; position: relative; top: -32px; overflow: hidden; background: #fff; } .list-feed-container { width: 350px; background-color: #faf9f8; height: 100%; position: relative; } .list-feed-container::after { content: ""; display: block; pointer-events: none; position: absolute; top: -10%; right: 0; width: 120%; height: 120%; box-shadow: inset 5px 0 20px #0004; } .list-feed { margin-top: 32px; height: calc(100% - 32px); overflow: hidden scroll; position: relative; } .list-feed > div.load-more-wrapper { text-align: center; padding: 16px 0; } .cards-feed-container { display: inline-flex; flex-wrap: wrap; justify-content: space-around; padding: 12px; } .cards-feed-container > div.load-more-wrapper, .flex-fix { text-align: center; } .cards-feed-container > div.load-more-wrapper { width: 100%; margin: 16px 0; } .flex-fix { min-width: 280px; } .info { position: relative; margin: 10px 12px; line-height: 16px; } .info img { width: 16px; height: 16px; margin-right: 5px; } .info span.name { font-size: 12px; vertical-align: top; display: inline-block; max-width: 144px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .info span.time { float: right; font-size: 12px; } .read-indicator { display: block; width: 16px; height: 16px; float: right; } .read-indicator::after { content: ""; vertical-align: top; display: inline-block; width: 6px; height: 6px; margin: 5px; border-radius: 3px; background-color: #ffaa44; font-size: 10px; box-sizing: border-box; } .card { display: inline-block; position: relative; width: 256px; height: 264px; border-radius: 4px; background-color: #fff; overflow: hidden; box-shadow: #0004 0px 5px 20px; margin: 18px 12px; color: #161514; user-select: none; transition: box-shadow linear .08s; transform: scale(1); cursor: pointer; } .card:hover { box-shadow: #0006 0px 5px 40px; } .card:active { transform: scale(.97); } .card .bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; } .card img.bg { object-fit: cover; filter: saturate(150%) blur(20px); } .card div.bg { background-color: #fffb; } .card img.head { display: block; object-fit: cover; position: relative; width: 100%; height: 144px; -webkit-user-drag: none; } .card img.head, .card p, .card h3 { transition: transform ease-out .12s; } .card.transform:hover img.head, .card.transform:hover p, .card.transform:hover h3 { transform: translateY(-144px); } .card h3.title { font-size: 16px; line-height: 22px; font-weight: 600; margin: 10px 12px; position: relative; -webkit-line-clamp: 3; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; } .card p.snippet { font-size: 14px; line-height: 20px; margin: 10px 12px; display: -webkit-box; position: relative; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; transform: translateY(64px); } .card:hover p.snippet { transform: translateY(-144px); } .card p.snippet.show { transform: none; } .list-card { display: flex; position: relative; overflow: hidden; color: #161514; user-select: none; transition: box-shadow linear .08s; border-bottom: 1px solid #e1dfdd; transform: scale(1); cursor: pointer; box-shadow: #0000 0px 5px 15px; } .list-card:hover { box-shadow: #0004 0px 5px 15px; } .list-card:active { box-shadow: #0000 0px 5px 15px, inset #0004 0px 0px 15px; } .list-card div.head { width: 80px; height: 80px; margin: 8px 0 8px 10px; } .list-card div.head img { width: 80px; height: 80px; object-fit: cover; -webkit-user-drag: none; } .list-card .data { flex-grow: 1; } .list-card .info { margin: 8px 10px; height: 16px; } .list-card h3.title { font-size: 14px; line-height: 18px; font-weight: 600; margin: 8px 10px; position: relative; -webkit-line-clamp: 3; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; }