@charset "UTF-8"; /*=== GENERAL */ /*============*/ @font-face { font-family: 'OpenSans'; font-style: normal; font-weight: 400; src: local('Open Sans'), local('OpenSans'), url('../fonts/OpenSans.woff2') format('woff2'), url('../fonts/OpenSans.woff') format('woff'); } html, body { margin: 0; padding: 0; background: white; height: 100%; color: black; font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", sans-serif; font-size: 100%; } main.prompt { margin: 3rem auto; padding: 2rem; max-width: 400px; min-width: 300px; width: 33%; text-align: center; } /*=== Links */ a { text-decoration: none; } a:hover { text-decoration: underline; } /*=== Lists */ ul, ol, dd { margin: 0; padding: 0; } /*=== Titles */ h1 { margin: 0.6em 0 0.3em; font-size: 1.5em; line-height: 1.6em; } h2 { margin: 0.5em 0 0.25em; font-size: 1.3em; line-height: 2em; } h3 { margin: 0.5em 0 0.25em; font-size: 1.1em; line-height: 2em; } /*=== Paragraphs */ p { margin: 1em 0 0.5em; font-size: 1em; } p.help, .prompt p.help { margin: 5px 0 0.5em; text-align: right; } p.help .icon { filter: brightness(2); } sup { line-height: 25px; position: relative; top: -0.8em; vertical-align: baseline; } kbd { background-color: #eee; padding: 2px 24px 2px 4px; display: inline-block; color: #333; border: 1px solid #b4b4b4; border-radius: 3px; text-indent: -20px; white-space: pre-wrap; overflow-wrap: anywhere; } /*=== Images */ img { max-width: 100%; height: auto; } img.favicon { margin: 0 0 0 0.25rem; width: 16px; height: 16px; vertical-align: middle; } .content.thin figure, .content.medium figure { margin: 8px 0px; } .content figure figcaption { font-style: italic; } .feed.mute::before { content: '๐Ÿ”‡'; } /*=== Videos */ audio, iframe, embed, object, video { max-width: 100%; } audio { width: 100%; } /*=== Forms */ fieldset { margin: 0; padding: 0; border: 0; } legend { display: block; width: 100%; clear: both; } label { display: block; } input { width: 180px; } input[type=number] { width: 6em; } textarea, input[type="file"], input.long, input.extend:focus { width: 300px; } input, select, textarea { display: inline-block; max-width: 100%; font-size: 0.8rem; } input.w50, select.w50, textarea.w50 { min-width: 50%; box-sizing: border-box; } input.w100, select.w100, textarea.w100 { width: 100%; box-sizing: border-box; } .stick.w50 { width: 50%; } .stick.w100 { width: 100%; } .stick.w50 input, .stick.w100 input { width: 100%; } .stick.w100 input + .btn { width: 29px; padding-right: 3px; padding-left: 3px; text-align: center; } textarea[rows="2"] { height: 4em; } textarea:invalid { border: 2px dashed red; } .prompt textarea, .prompt input, .prompt select, .prompt .stick { margin: 5px auto; width: 100%; box-sizing: border-box; } input:disabled, select:disabled { background-color: transparent; min-width: 75px; color: lightgray; font-style: italic; border: 1px dashed lightgray; } input[type="radio"], input[type="checkbox"] { min-width: auto; width: 15px !important; min-height: 15px !important; } .dropdown-menu label > input[type="text"] { width: 150px; width: calc(99% - 5em); } .dropdown-menu > .item > a:hover, .dropdown-menu > .item > button:hover { text-decoration: none; } .dropdown-menu input[type="checkbox"] { margin-right: 1em; margin-left: .5em; } .dropdown-menu .item .checkboxNewTag { display: none; } .dropdown-menu .item.addItem { padding: 0 0.5em; } .dropdown-menu .item.addItem .stick { width: 100% } .dropdown-menu .item.addItem .stick input[type=text] { width: 100%; } button.as-link, button.as-link:hover, button.as-link:active { background: transparent; color: inherit; font-size: 1.1em; border: none; cursor: pointer; text-align: right; } button.as-link[disabled] { color: #ddd !important; } /*=== Tables */ .table-wrapper { overflow-x: auto; } table { max-width: 100%; } th.numeric, td.numeric { text-align: center; } /*=== COMPONENTS */ /*===============*/ [aria-hidden="true"] { display: none !important; } /* prompt: login + register form + alert message banner */ .prompt { text-align: center; } .prompt form { margin-top: 2rem; margin-bottom: 3rem; text-align: right; } .prompt label, .prompt .help { text-align: right; } .prompt input, .prompt select, .prompt .stick { width: 100%; box-sizing: border-box; } .prompt p { margin: 20px 0; } /*=== Forms */ .form-group::after { content: ""; display: block; clear: both; } .form-group.form-actions { min-width: 250px; } .form-group .group-name { display: block; float: right; width: 200px; } .form-group .group-controls { min-width: 250px; margin: 0 220px 0 0; overflow-x: auto; } .form-group .group-controls .control { display: block; } .form-advanced-title { padding: 15px 0; width: 200px; font-size: 1.1em; font-weight: bold; text-align: left; cursor: pointer; } @supports (position: sticky) { #mark-read-aside { position: sticky; top: 0; } } /*=== Buttons */ .stick { display: inline-flex; max-width: 100%; white-space: nowrap; } .stick > input { margin-top: 0; margin-bottom: 0; } .stick > input.long { flex-shrink: 1; } .stick > .btn { flex-shrink: 0; } .btn, a.btn { display: inline-block; cursor: pointer; overflow: hidden; } .btn-important { font-weight: bold; } /*=== switch */ .switch { margin: 0 0.5em; padding: revert; position: relative; width: 3.5em; height: 1.75em; border: 0; border-radius: 1em; background-color: #ccc; cursor: pointer; box-sizing: content-box; background-repeat: no-repeat; background-position: center center; background-image: url('../icons/disabled.svg'); transition: background-position 0.5s; } .switch:not([disabled]):hover { background-image: url('../icons/enabled.svg'); background-repeat: no-repeat; background-position: left 7px center; } .switch.active { background-color: rgb(133, 216, 133); background-repeat: no-repeat; background-position: center center; background-image: url('../icons/enabled.svg'); } .switch.active:not([disabled]):hover { background-position: right 7px center; background-repeat: no-repeat; background-image: url('../icons/disabled.svg'); } @supports selector(.switch::before) { .switch { background-image: none; } .switch.active { background-image: none; } } /* ::before = circle */ .switch::before { content: ""; position: absolute; right: 5px; left: unset; top: 0.2em; width: 1.5em; height: 1.5em; background-color: #fff; background-image: url('../icons/disabled.svg'); background-repeat: no-repeat; background-position: center center; border-radius: 50%; transition: right 0.6s, left 0.6s; } .switch:not([disabled]):hover::before { background-color: #eee; } .switch.active::before { background-image: url('../icons/enabled.svg'); background-position: center center; right: unset; left: 5px; } .switch.active:not([disabled]):hover::before { left: 8px; } /* ::after = background */ .switch::after { content: ""; position: absolute; top: 50%; left: 8px; width: 12px; height: 12px; transform: translateY(-50%); } .switch.active::after { width: 14px; height: 14px; right: 8px; } .btn:focus-visible, input[type="checkbox"]:focus-visible { outline: 2px solid #ccc; } /*=== Navigation */ .nav-list .nav-header, .nav-list .item { display: block; } .nav-list .item, .nav-list .item > a, .nav-list .item > span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .nav-head { display: block; } .nav-head .item { display: inline-block; } /*=== Horizontal-list */ .horizontal-list { display: table; table-layout: fixed; width: 100%; } .horizontal-list .item { display: table-cell; } /*=== manage-list */ .manage-list { list-style: none; } .manage-list li { line-height: 2; } .manage-list li * { vertical-align: middle; } .manage-list .disabled { font-style: italic; } /*=== Dropdown */ .dropdown { position: relative; display: inline-block; vertical-align: middle; } .dropdown-target { display: none; } .dropdown-menu { margin: 0; background: #fff; display: none; border: 1px solid #aaa; min-width: 200px; position: absolute; left: 0; } .dropdown-menu::after { background-color: inherit; width: 10px; height: 10px; border-width: 1px 1px 0 0; border-style: solid; content: ""; position: absolute; top: -6px; left: 13px; z-index: -10; transform: rotate(-45deg); } .dropdown-menu-scrollable { max-height: min(75vh, 50em); overflow-x: hidden; overflow-y: auto; } .dropdown-header { display: block; } .dropdown-menu > .item { display: block; } .dropdown-menu > .item > a, .dropdown-menu > .item > .as-link, .dropdown-menu > .item > span { display: block; width: 100%; white-space: nowrap; box-sizing: border-box; } .dropdown-menu > .item[aria-checked="true"] > a::before { content: 'โœ“'; } .dropdown-menu .input { display: block; } .dropdown-menu .input select, .dropdown-menu .input input { display: block; max-width: 95%; } .dropdown-target:target ~ .dropdown-menu { display: block; z-index: 1000; } .dropdown-menu + .dropdown-close { display: none; } .dropdown-target:target ~ .dropdown-close { display: block; font-size: 0; position: fixed; top: 0; bottom: 0; right: 0; left: 0; z-index: 999; cursor: default; } .separator { display: block; height: 0; border-bottom: 1px solid #aaa; } /*=== Alerts */ .alert { display: block; width: 90%; } .alert-warn { background: inherit; } .group-controls .alert { width: 100% } .alert-head { margin: 0; font-weight: bold; } .alert ul { margin: 5px 20px; } .alert.hide { display: none; } /*=== Icons */ .icon { display: inline-block; max-width: none; width: 16px; height: 16px; vertical-align: middle; line-height: 16px; } /* === stream-footer **/ #stream-footer { margin: 0 0 5em; padding: 1em 0; width: 100%; border-top: 1px solid #aaa; text-align: center; } /*=== Pagination */ .nav-pagination { margin: 2em auto; } .pagination { margin: 0; padding: 0; display: table; table-layout: fixed; text-align: center; } .pagination .item { display: table-cell; width: 3em; font-style: italic; } .pagination .item.active { min-width: 3em; font-weight: bold; font-style: normal; } .pagination .item a { display: block; line-height: 3em; text-decoration: none; } .pagination .pager-previous, .pagination .pager-next { width: 6em; } .pagination .pager-first, .pagination .pager-last { width: 7.5em; } /*=== Boxes */ .box { margin: 20px 0 20px 20px; display: inline-block; max-width: 95%; width: 20rem; border: 1px solid #ccc; vertical-align: top; } .box.visible-semi { border-style: dashed; opacity: 0.5; } .box .box-title { position: relative; font-size: 1.2rem; font-weight: bold; } .box .box-title form { margin: 0; } .box .box-content { padding: 8px 16px 8px 8px; display: block; min-height: 2.5em; max-height: 260px; overflow: auto; } .box .box-content .item.feed { display: block; } .box .box-content .item.feed.moved { font-style: italic; } .box .box-content .item.feed.moved .favicon { opacity: 0.4; } .box .box-content .item.disabled { text-align: center; font-style: italic; } .box .box-content-centered { padding: 30px 5px; text-align: center; } .box .box-content-centered .btn { margin: 20px 0 0; } /*=== Draggable */ [draggable=true]:hover { cursor: move; } .dragging { background-color: rgba(255, 255, 0, 0.7); } .dragging .icon { visibility: hidden; } .drag-disallowed { opacity: 0.5; } .drag-active .drop-zone:not(.drag-disallowed) { background: repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(250,250,210, 0.7) 40px, rgba(250,250,210, 0.7) 60px); } .drag-active .drag-hover.drop-zone { background: rgba(250,250,210, 0.7); transition: background 0.5s; } li.drag-hover { margin: 0 0 5px; border-bottom: 2px solid #ccc; } .drag-drop { animation-name: droppedKeyframe; animation-duration: 0.7s; } @keyframes droppedKeyframe { 0% { background-color: rgba(250,250,210, 0.7); } 50% { background-color: yellow; } 100% { background-color: none; } } /*=== Scrollbar */ @supports (scrollbar-width: thin) { #sidebar, .scrollbar-thin { scrollbar-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.05); scrollbar-width: thin; } #sidebar:hover, .scrollbar-thin:hover { scrollbar-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.05); } } @supports not (scrollbar-width: thin) { #sidebar::-webkit-scrollbar, .scrollbar-thin::-webkit-scrollbar { background: rgba(0, 0, 0, 0.05); width: 8px; } #sidebar::-webkit-scrollbar-thumb, .scrollbar-thin::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.1); display: unset; border-radius: 5px; } #sidebar:hover::-webkit-scrollbar-thumb, .scrollbar-thin::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.3); } } /*=== Tree */ .tree { margin: 0; max-height: 99vh; list-style: none; text-align: right; overflow-x: hidden; } .tree-folder-items { padding: 0; list-style: none; transition: max-height .3s linear; } .tree-folder-title .title { display: inline-block; width: 100%; vertical-align: middle; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .tree-folder-items > .item { display: block; white-space: nowrap; } .tree-folder-items > .item > a { display: inline-block; vertical-align: middle; width: calc(100% - 32px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .tree-folder-items .item.feed { position: relative; } .tree-bottom { visibility: hidden; margin-bottom: 18em; } /*=== STRUCTURE */ /*===============*/ /*=== Header */ .header { display: table; width: 100%; height: 85px; table-layout: fixed; } .header > .item { display: table-cell; } .header > .item.title { width: 250px; white-space: nowrap; } .header > .item.title h1 { display: inline-block; } .header > .item.title .logo { display: inline-block; height: 32px; vertical-align: middle; } .header > .item.configure { width: 100px; } input[type="search"] { -webkit-appearance: none; /* stylelint-disable-line property-no-vendor-prefix */ } /*=== Body */ #global { background: inherit; display: table; width: 100%; height: calc(100vh - 85px); table-layout: fixed; } #stream:not(.alert-warn) { background: inherit; } .aside { display: table-cell; width: 300px; vertical-align: top; } .aside + .close-aside { display: none; } /*=== Aside main page */ .aside_feed .category .title { width: calc(100% - 35px); } .aside_feed .category .title:not([data-unread="0"]) { width: calc(100% - 75px); } .aside_feed .tree-folder-title .icon { padding: 5px; } .aside_feed .tree-folder-items .item.feed { padding: 0px 15px; } .aside_feed .tree-folder-items:not(.active) { margin: 0; padding: 0; max-height: 0; border: none; overflow: hidden; } .aside_feed .tree-folder-items .dropdown { vertical-align: top; } .aside_feed .tree-folder-items .dropdown-menu { right: 0; } .aside_feed .tree-folder-items .item .dropdown-toggle > .icon { visibility: hidden; cursor: pointer; } .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon, .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon, .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon { visibility: visible; } /*=== New article notification */ #new-article { display: none; } #new-article > a { display: block; } /*=== Day indication */ .day { background: inherit; } .day .name { position: absolute; left: 0; width: 50%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } /*=== Feed article header and footer */ .flux_header { background: inherit; position: static; } .flux .item { line-height: 40px; white-space: nowrap; } .flux .item.manage, .flux .item.link { width: 40px; text-align: center; } .flux .item.website { width: 200px; padding-left: 10px; } .website a:hover .favicon, a.website:hover .favicon { filter: grayscale(100%); } .flux.not_read .item.title, .flux.current .item.title { font-weight: bold; } .flux:not(.current):hover .item.title { background: #fff; max-width: calc(100% - 320px); position: absolute; } .flux:not(.current):hover .item.title.multiline { position: initial; } .flux .item.title a { color: #000; text-decoration: none; } .flux .item.thumbnail { line-height: 0; padding: 10px; height: 80px; } .flux .item.thumbnail.small { height: 40px; } .flux .item.thumbnail.portrait { width: 60px; } .flux .item.thumbnail.square { width: 80px; } .flux .item.thumbnail.landscape { width: 128px; } .flux .item.thumbnail.portrait.small { width: 30px; } .flux .item.thumbnail.square.small { width: 40px; } .flux .item.thumbnail.landscape.small { width: 64px; } .flux .item.thumbnail img { background: repeating-linear-gradient( 45deg, #ddd, #ddd 5px, transparent 5px, transparent 10px ); display: inline-block; width: 100%; height: 100%; overflow: hidden; object-fit: cover; } .flux .item.title .summary { max-height: 3em; color: #666; font-size: 0.9em; line-height: 1.5em; font-weight: normal; white-space: initial; overflow: hidden; text-overflow: ellipsis; } .flux .item.title .author { padding-right: 1rem; color: #555; font-size: .9rem; font-weight: normal; } .flux .item.date { width: 155px; text-align: left; overflow: hidden; } .flux .item > a { display: block; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } .item.query > a { display: list-item; list-style-position: inside; list-style-type: decimal; } .flux_content .bottom .dropdown-toggle .icon { margin-left: 5px; } /*=== Feed article content */ .hide_posts > .flux:not(.active) > .flux_content { display: none; } .content { min-height: 20em; margin: auto; line-height: 1.7em; word-wrap: break-word; } .content.large { max-width: 1000px; } .content.medium { max-width: 800px; } .content.thin { max-width: 550px; } .content .article-header-topline { margin-bottom: 0.75rem; } .content > header, .content > footer { color: #666; font-size: .9rem; } .content > footer { margin: 2rem 0 2rem; padding-top: 1rem; border-top: 2px solid #ccc; clear: both; } .content > footer .subtitle { padding-bottom: 1rem; } .content > header .tags, .content > footer .tags { display: flex; line-height: 1; } .content > header .tags .icon, .content > footer .tags .icon { padding: 2px 0 0 10px; } .content > header .tags .list-tags, .content > footer .tags .list-tags { margin: 0; padding: 0; display: inline-block; list-style: none; } .content > header .tags .list-tags .item.tag, .content > footer .tags .list-tags .item.tag { display: inline-block; padding-left: 0.75em; line-height: normal; } .content > header .tags .list-tags .item.tag a.link-tag, .content > footer .tags .list-tags .item.tag a.link-tag { display: inline; } .content > header h1 { margin: 0.5em 0; } .content .text ul, .content .text ol, .content .text dd { margin: 0 15px 0 0; padding: 0 15px 5px 0; } .content pre { overflow: auto; } .subtitle > div { display: inline; } .subtitle > div:not(:first-of-type)::before { content: ' ยท '; } br { line-height: 1em; } /*=== Notification and actualize notification */ .notification { padding: 10px 10px 10px 50px; position: absolute; top: 1em; right: 25%; left: 25%; z-index: 9999; background: #fff; border: 1px solid #aaa; opacity: 1; line-height: 2; visibility: visible; transition: visibility 0s, opacity .3s linear; } .notification.closed { opacity: 0; visibility: hidden; } .notification a.close { position: absolute; top: 0; bottom: 0; left: 0; display: inline-block; } .notification a.close:hover { background: rgba(10,10,10,0.05); } .notification a.close:hover .icon { filter: brightness(2); } #actualizeProgress { position: fixed; } #actualizeProgress progress { max-width: 100%; vertical-align: middle; } #actualizeProgress .progress { vertical-align: middle; } /*=== Popup */ #popup { display: none; position: fixed; z-index: 200; right: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: #eee; background-color: rgba(0,0,0,0.4); } #popup-content { margin: 5rem auto; display: table; width: 80%; height: 80%; overflow: hidden; background-color: #fafafa; border-radius: .25rem; box-shadow: 0 0 1px #737373, -1px 2px 3px #4a4a4f; } .popup-row { display: table-row; width: 100%; } #popup-close { float: left; width: 27px; height: 27px; padding-bottom: 5px; color: #aaa; font-size: 28px; font-weight: bold; } #popup-close:hover, #popup-close:focus { color: #000; text-decoration: none; cursor: pointer; } #popup-iframe-container { display: none; height: 100%; } #popup-iframe-sub { padding: 10px; height: 100%; } #popup-iframe { width: 100%; height: 100%; } /*=== Navigation menu (for articles) */ #nav_entries { background: #fff; display: table; position: fixed; bottom: 0; right: 0; width: 300px; table-layout: fixed; } #nav_entries .item { display: table-cell; width: 30%; } #nav_entries a { display: block; } /*=== "Load" parts */ #first_load { margin: 130px auto -170px auto; height: 40px; } #load_more { min-height: 40px; } #load_more.loading, #load_more.loading:hover { padding: 10px 20px; background: url("loader.gif") center center no-repeat #fff; font-size: 0; } .loading { background: url("loader.gif") center center no-repeat; font-size: 0; } #bigMarkAsRead { margin: 0 0 100% 0; margin: 0 0 100vh 0; padding: 1em 0 50px 0; display: block; width: 100%; text-align: center; font-size: 1.4em; } .bigTick { font-size: 4em; } /*=== Statistiques */ .stat-grid { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 20px; } .stat { grid-column: 1 / span 2; } .stat.half { grid-column: auto; } .stat > table { width: 100%; } .statGraph { height: 300px; } /*=== GLOBAL VIEW */ /*================*/ #stream.global { text-align: center; } #stream.global .box { text-align: right; } #global > #panel { bottom: 99vh; display: block; transition: visibility .3s, bottom .3s; visibility: hidden; } #global > #panel.visible { bottom: 2%; visibility: visible; } /*=== Panel */ #overlay { position: fixed; top: 0; bottom: 0; right: 0; left: 0; background: rgba(0, 0, 0, 0.5); opacity: 0; transition: visibility .3s, opacity .3s; visibility: hidden; } #overlay.visible { opacity: 1; visibility: visible; } #panel { background: #fff; display: none; position: fixed; top: 2%; bottom: 2%; right: 3%; left: 3%; overflow: auto; } #overlay .close { position: fixed; top: 0; bottom: 0; right: 0; left: 0; display: block; } #overlay .close img { display: none; } /*=== Slider */ #slider { background: #fff; width: 0; position: fixed; top: 0; bottom: 0; left: 0; overflow: auto; border-right: 1px solid #aaa; z-index: 100; } #slider.active:target { width: 750px; } #slider.sliding { transition: width 200ms linear; } #close-slider { position: fixed; top: 0; bottom: 0; right: 100%; left: 0; cursor: pointer; } #slider.active:target + #close-slider { background: rgba(0, 0, 0, 0.2); font-size: 0; right: 0; z-index: 99; } #close-slider img { display: none; } #slider.active:target + #close-slider img { padding: 0.5rem; display: inline-block; position: absolute; top: 0.5rem; right: 0.5rem; filter: grayscale(100%) brightness(2.5); } #slider-content .loader { height: 90vh; background-image: url('loader.gif'); background-repeat: no-repeat; background-position: center; } /*=== SLIDESHOW */ /*==============*/ .slides { padding: 0; display: block; max-width: 640px; height: 320px; border: 1px solid #aaa; position: relative; min-width: 260px; margin-bottom: 30px; } .slides input { display: none; } .slide-container { display: block; } .slide { display: block; width: 100%; height: 100%; top: 0; opacity: 0; position: absolute; transform: scale(0); transition: all .7s ease-in-out; } .slide img { width: 100%; height: 100%; } .nav label { padding: 0; display: none; width: 65px; height: 100%; color: #fff; font-family: "Varela Round", sans-serif; font-size: 1000%; position: absolute; opacity: 0; z-index: 9; cursor: pointer; transition: opacity .2s; text-align: center; line-height: 225%; background-color: rgba(255, 255, 255, .3); text-shadow: 0px 0px 15px rgb(119, 119, 119); } .properties { padding: 5px; background: rgba(255, 255, 255, 0.7); display: none; color: #000; border-top: 1px solid #aaa; bottom: 0; right: 0; left: 0; position: absolute; z-index: 10; } .properties .page-number { left: 5px; top: 0; position: absolute; } .slide:hover + .nav label { opacity: 0.5; } .nav label:hover { opacity: 1; } .nav .next { left: 0; } input:checked + .slide-container .slide { opacity: 1; transform: scale(1); transition: opacity 1s ease-in-out; } input:checked + .slide-container .nav label { display: block; } input:checked + .slide-container .properties { display: block; } /*=== DIVERS */ /*===========*/ .log-error, .log-warning, .log-notice, .log-debug { text-align: center; } .item.share.error a::after, .category .title.error::before, .item.feed.error .item-title::before { content: " โš  "; color: #bd362f; } .feed.item.error.active .item-title::before { color: white; } .aside .category .title:not([data-unread="0"])::after, .aside .feed .item-title:not([data-unread="0"])::after { margin: 0.75em 0 0 0; padding: 5px 10px; min-width: 20px; display: block; content: attr(data-unread); position: absolute; top: 0; left: 10px; text-align: center; font-size: 0.9em; border-radius: 12px; line-height: 1; font-weight: initial; } .global .box.category .title:not([data-unread="0"])::after { margin: 0.5rem 0 0 0; padding: 5px 10px; min-width: 20px; display: block; content: attr(data-unread); position: absolute; top: 0; left: 10px; text-align: center; font-size: 0.75rem; border-radius: 12px; line-height: 1; font-weight: initial; } .feed .item-title:not([data-unread="0"])::after { margin: 1em 0 0 0; } .feed.active .item-title:not([data-unread="0"])::after { background-color: transparent; color: white; border: 1px solid #fff; font-weight: bold; } .feed .item-title:not([data-unread="0"]) { font-weight: bold; width: calc(100% - 80px); } .state_unread .category:not(.active)[data-unread="0"], .state_unread .feed:not(.active)[data-unread="0"] { display: none; } .nav_menu { background: inherit; } .nav_mobile { display: none; } .nav-login, .nav_menu .search, .aside .toggle_aside, #slider .toggle_aside, .nav_menu .toggle_aside, .configure .dropdown-header-close { display: none; } .enclosure [download] { font-size: xx-large; margin-right: .8em; } .enclosure-description { white-space: pre-line; } .default-user { font-style: italic; } /*=== READER */ /*===========*/ .reader .nav_menu .toggle_aside { display: inline-block; } .reader .aside .toggle_aside { display: block; width: 100%; } .reader .aside { display: none; width: 0; } .reader .aside:target { display: table-cell; width: 300px; } .reader .aside .stick { display: none; } #loglist-wrapper { overflow-x: auto; } /*=== MOBILE */ /*===========*/ @media (max-width: 840px) { .flux_header .item.website span, .item.date, .day .date, .dropdown-menu > .no-mobile, .no-mobile { display: none; } .header > .item { padding: 5px; } .header > .item.title .logo { height: 24px; } header .item.search form { display: none; } .aside .toggle_aside, #panel .close, .dropdown-menu .toggle_aside, #slider .toggle_aside { background: #f6f6f6; display: block; width: 100%; height: 50px; border-bottom: 1px solid #ddd; line-height: 50px; text-align: center; } .form-group { margin-bottom: 10px; } .form-group .group-name { float: none; width: auto; } .form-group .group-controls { margin-right: 0; } .dropdown { position: inherit; } .dropdown .dropdown-header { line-height: 2; } .dropdown .dropdown-menu { width: 94%; border-radius: 0; right: 3%; left: 3%; position: absolute; } .dropdown .dropdown-menu .item { margin: 2px 0; } .dropdown .dropdown-menu .item button.as-link, .dropdown .dropdown-menu .item button.as-link:hover, button.as-link:active { width: 100%; } .dropdown-target:target ~ .dropdown-toggle { position: relative; overflow: visible; } .dropdown-target:target ~ .dropdown-toggle::after { background-color: #fff; width: 10px; height: 10px; content: ""; position: absolute; left: 8px; bottom: -17px; transform: rotate(-45deg); z-index: 9999; cursor: default; } .dropdown-target:target ~ .dropdown-toggle:not(.btn) ~ .dropdown-menu { margin-top: 0; } .configure .dropdown .dropdown-menu { width: 90%; height: 100vh; top: 0; left: 0; bottom: 0; right: auto; position: fixed; padding-top: 0; margin-top: 0; overflow: auto; box-shadow: 3px 0 3px #aaa; } .configure .dropdown-target:target ~ .dropdown-toggle::after { content: none; } .dropdown-target:target ~ .dropdown-menu { display: table-cell; z-index: 1000; } .dropdown-menu::after { display: none; } .aside .toggle_aside, .configure .dropdown-header-close, .nav-login { display: block; } .nav_menu .toggle_aside, .nav_menu .search, #panel .close img { display: inline-block; } .aside:target + .close-aside, .configure .dropdown-target:target ~ .dropdown-close { background: rgba(0, 0, 0, 0.2); display: block; font-size: 0; position: fixed; top: 0; bottom: 0; right: 0; left: 0; cursor: default; z-index: 99; } .nav_mobile { display: block; } .aside { position: fixed; top: 0; bottom: 0; right: 0; width: 0; overflow: hidden; z-index: 100; } .aside:target, .reader .aside:target { width: 90%; height: 100vh; } .aside_feed .configure-feeds { margin-top: 10px; } .flux_header .item.website { width: 40px; } .flux:not(.current):hover .item.title { position: relative; width: auto; white-space: nowrap; } .notification { top: 0; right: 0; left: 0; } #nav_entries { width: 100%; } #panel { top: 25px; bottom: 30px; right: 0; left: 0; } #panel .close { top: 0; left: 0; right: auto; bottom: auto; display: inline-block; width: 30px; height: 30px; } #slider.active:target { width: 100%; } #close-slider img { display: initial; } #slider.active:target #close-slider img { display: initial; position: initial; filter: initial; } #slider.active:target + #close-slider { display: none; } .stat.half { grid-column: 1 / span 2; } } /*=== PRINTER */ /*============*/ @media print { .header, .aside, .nav_menu, .day, .flux_header, .flux_content .bottom, .pagination, #stream-footer, #nav_entries { display: none; } html, body { background: #fff; color: #000; font-family: Serif; } #global, .flux_content { display: block !important; } .flux_content .content { width: 100% !important; } .flux_content .content a { color: #000; } .flux_content .content a::after { content: " [" attr(href) "] "; font-style: italic; } } /*=== PREVIEW */ /*===========*/ .preview_controls { margin-right: auto; margin-left: auto; padding: 1rem; max-width: 1000px; text-align: center; background-color: #eee; border: 1px solid #e0e0e0; border-radius: .25rem; } .preview_controls label { display: inline; } .preview_controls label input[type="radio"] { margin-top: -4px; } .preview_controls label + label { margin-right: 1rem; } .preview_background { background-color: transparent; } .drag-drop-marker { margin: -1px; }