nord.css 16 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111
  1. @charset "UTF-8";
  2. :root {
  3. /* Set sans-serif & mono fonts */
  4. --sans-font: Inter, Lato,Helvetica,"IBM Plex Sans","Roboto",-apple-system,BlinkMacSystemFont,"Nimbus Sans L",Avenir,"Noto Sans", "Segoe UI",Arial,Helvetica,"Helvetica Neue",sans-serif;
  5. --mono-font: "mononoki Nerd Font","IBM Plex Mono","Roboto Mono","Ubuntu Mono","Fira Code","Overpass Mono", Monaco,"Droid Sans Mono",monospace;
  6. /*This is my dark themed color scheme*/
  7. --bg: #242933;
  8. --accent-bg: rgb(46, 52, 64);
  9. --text: #eceff4;
  10. --text-light: #d8dee9;
  11. --border: #88c0d0;
  12. --accent: #81a1c1;
  13. --accent-light: #bf616a;
  14. --code: #ebcb8b;
  15. --alert: #a3be8c;
  16. --alert-bg: #8fbcbb;
  17. --code-bg: #2e3440;
  18. --frss-background-color-transparent: #2e34407f;
  19. }
  20. /*=== GENERAL */
  21. /*============*/
  22. @font-face {
  23. /* src: local('Open Sans'), local('OpenSans'),
  24. url('../fonts/OpenSans.woff2') format('woff2'),
  25. url('../fonts/OpenSans.woff') format('woff');*/
  26. }
  27. html, body {
  28. background: var(--bg);
  29. color: var(--text);
  30. font-family: var(--sans-font);
  31. }
  32. /*=== Links */
  33. a {
  34. color: var(--accent);
  35. }
  36. a:hover {
  37. color: var(--accent);
  38. }
  39. kbd {
  40. color: var(--code);
  41. background-color: var(--accent-bg);
  42. }
  43. legend {
  44. margin: 20px 0 5px;
  45. padding: 5px 0;
  46. font-size: 1.4em;
  47. }
  48. label {
  49. min-height: 25px;
  50. padding: 5px 0;
  51. cursor: pointer;
  52. }
  53. input, select, textarea {
  54. margin: 5px;
  55. padding: 5px;
  56. color: var(--text);
  57. border: 1px solid var(--border);
  58. border-radius: 6px;
  59. border-color: var(--border);
  60. background-color: var(--bg);
  61. min-height: 25px;
  62. line-height: 25px;
  63. vertical-align: middle;
  64. }
  65. input:disabled, select:disabled {
  66. color: #aaa;
  67. border-color: var(--border);
  68. }
  69. button {
  70. font-family: var(--sans-font);
  71. }
  72. button.as-link,
  73. button.as-link:hover,
  74. button.as-link:active {
  75. background: transparent;
  76. /* background-color: var(--bg);A*/
  77. }
  78. button.as-link[disabled] {
  79. color: #ddd !important;
  80. }
  81. /*=== Tables */
  82. form td,
  83. form th {
  84. font-weight: normal;
  85. }
  86. .table-wrapper {
  87. overflow-x: auto;
  88. }
  89. table {
  90. max-width: 100%;
  91. border-collapse: collapse;
  92. }
  93. table tr {
  94. border-bottom: 1px solid
  95. }
  96. table th, table td {
  97. padding: 10px 20px;
  98. }
  99. table td span {
  100. padding: 5px;
  101. color: dimgrey;
  102. /*display: none;*/
  103. font-size: 10px;
  104. font-weight: bold;
  105. /*position: absolute;*/
  106. }
  107. .form-group.form-actions {
  108. padding: 5px 0;
  109. }
  110. .form-group .group-name {
  111. padding: 10px 0;
  112. }
  113. .form-group .group-controls {
  114. padding: 5px 0;
  115. min-height: 25px;
  116. }
  117. /*=== Buttons */
  118. .btn,
  119. a.btn {
  120. margin: .3rem .3rem;
  121. background: var(--accent-bg);
  122. color: var(--accent);
  123. border: none;
  124. border-radius: 5px;
  125. text-decoration: none;
  126. transition: .4s;
  127. }
  128. a.btn.active {
  129. background-color: var(--accent-bg);
  130. border: 1px solid var(--border);
  131. }
  132. .btn {
  133. padding: 5px 10px;
  134. min-height: 37px;
  135. min-width: 15px;
  136. font-size: 0.9rem;
  137. vertical-align: middle;
  138. }
  139. a.btn {
  140. min-height: 25px;
  141. line-height: 25px;
  142. }
  143. .btn-important, #nav_menu_read_all .read_all, #actualize {
  144. font-weight: bold !important;
  145. background-color: var(--accent) !important;
  146. color: var(--bg) !important;
  147. }
  148. #btn-add.btn-important .icon, #actualize .icon {
  149. filter: brightness(0);
  150. }
  151. .btn:hover, svg:hover {
  152. opacity: .8;
  153. cursor: pointer;
  154. }
  155. .stick input {
  156. margin: 0 5px 0 0;
  157. }
  158. .stick .btn {
  159. margin-top: 0;
  160. margin-bottom: 0;
  161. }
  162. .stick {
  163. margin: 0 5px;
  164. }
  165. .header .stick,
  166. .header .btn {
  167. margin: 0
  168. }
  169. /*=== Navigation */
  170. .dropdown-menu {
  171. margin: 5px 0 0;
  172. padding: 0.5rem 0 0.25rem 0;
  173. background: var(--accent-bg);
  174. font-size: 0.8rem;
  175. border: 1px solid var(--border);
  176. border-radius: 6px;
  177. text-align: left;
  178. }
  179. .dropdown-header,
  180. .dropdown-section .dropdown-section-title {
  181. padding: 0 5px 5px;
  182. font-weight: bold;
  183. text-align: left;
  184. }
  185. .dropdown-menu .item > a,
  186. .dropdown-menu .item > span,
  187. .dropdown-menu .item > .as-link {
  188. padding: 0 22px;
  189. color: var(--text);
  190. line-height: 2.5em;
  191. font-size: inherit;
  192. min-width: 200px;
  193. }
  194. .dropdown-menu .dropdown-section .item > a,
  195. .dropdown-menu .dropdown-section .item > span,
  196. .dropdown-menu .dropdown-section .item > .as-link {
  197. padding-left: 2rem;
  198. }
  199. .dropdown-menu .dropdown-section .item:last-child {
  200. margin-bottom: 0.5rem;
  201. }
  202. .dropdown-menu .item > a:hover,
  203. .dropdown-menu .item > button:hover:not([disabled]),
  204. .dropdown-menu .item > label:hover:not(.noHover) {
  205. /* no hover color */
  206. }
  207. .dropdown-menu > .item[aria-checked="true"] > a::before {
  208. font-weight: bold;
  209. margin: 0 0 0 -14px;
  210. }
  211. .dropdown-menu .input select,
  212. .dropdown-menu .input input {
  213. margin: 0 auto 5px;
  214. padding: 2px 5px;
  215. }
  216. .dropdown-menu > .item:hover > a {
  217. text-decoration: none;
  218. }
  219. .dropdown-close {
  220. display: inline;
  221. }
  222. .dropdown-close a {
  223. background: none;
  224. display: block;
  225. font-size: 0;
  226. position: fixed;
  227. top: 0; bottom: 0;
  228. left: 0; right: 0;
  229. z-index: -11;
  230. cursor: default;
  231. }
  232. .dropdown-close a:hover {
  233. background: none;
  234. }
  235. .dropdown div.dropdown-close {
  236. display: none;
  237. }
  238. .dropdown-target:target ~ div.dropdown-close {
  239. display: block;
  240. z-index: 999;
  241. position: relative;
  242. }
  243. .dropdown-target:target ~ .dropdown-toggle::after {
  244. background-color: var(--accent-bg);
  245. border-top: 1px solid var(--border);
  246. border-left: 1px solid var(--border);
  247. }
  248. .dropdown-menu-scrollable .dropdown-close {
  249. display: none;
  250. }
  251. .item ~ .dropdown-header,
  252. .dropdown-section ~ .dropdown-section,
  253. .item.separator {
  254. border-top-color: var(--border);
  255. }
  256. /*=== Alerts */
  257. .alert {
  258. font-size: 0.9em;
  259. border-radius: 6px;
  260. }
  261. .alert-success {
  262. color: var(--bg);
  263. background-color: var(--alert-bg)
  264. }
  265. .alert-head {
  266. font-size: 1.15em;
  267. }
  268. .alert > a {
  269. text-decoration: underline;
  270. }
  271. .alert-warn {
  272. border-radius: 6px;
  273. background-color: var(--code-bg);
  274. }
  275. .alert-error {
  276. background-color: var(--accent-light);
  277. color: var(--bg);
  278. }
  279. /*=== Icons */
  280. .icon {
  281. filter: invert(74%) sepia(29%) saturate(411%) hue-rotate(171deg) brightness(130%) contrast(85%);
  282. }
  283. img.favicon {
  284. background: var(--text-light);
  285. border-radius: 4px;
  286. }
  287. /*=== Pagination */
  288. .pagination {
  289. width: 100%;
  290. }
  291. .pagination .pager-first,
  292. .pagination .pager-previous,
  293. .pagination .pager-next,
  294. .pagination .pager-last {
  295. width: 100px;
  296. }
  297. /*=== Boxes */
  298. .box {
  299. background-color: var(--accent-bg);
  300. border: 1px solid var(--border);
  301. border-radius: 6px;
  302. }
  303. .box .box-title {
  304. margin: 0;
  305. padding: 5px 10px;
  306. }
  307. .box .box-content {
  308. max-height: 260px;
  309. }
  310. .box .box-content .item {
  311. padding: 0 10px;
  312. font-size: 0.9rem;
  313. }
  314. /*=== Draggable */
  315. .drag-hover {
  316. margin: 0 0 5px;
  317. border-bottom: 2px solid var(--border);
  318. }
  319. [draggable=true] {
  320. cursor: grab;
  321. }
  322. /*=== Tree */
  323. .tree {
  324. margin: 10px 0;
  325. }
  326. .tree-folder-title .title {
  327. background: inherit;
  328. color: var(--text);
  329. }
  330. .tree-folder.category {
  331. border-bottom: 1px solid var(--bg);
  332. }
  333. .tree-folder-items > .item {
  334. color: var(--text);
  335. font-size: 0.8rem;
  336. }
  337. .tree-folder-items > .item > a {
  338. text-decoration: none;
  339. }
  340. .tree-folder-title {
  341. position: relative;
  342. padding: 0.25rem 0.75rem;
  343. font-size: 1rem;
  344. }
  345. .tree-folder-title .title:hover {
  346. text-decoration: none;
  347. }
  348. .tree-folder.active .tree-folder-title {
  349. font-weight: bold;
  350. }
  351. /*=== STRUCTURE */
  352. /*===============*/
  353. /*=== Header */
  354. .header > .item {
  355. vertical-align: middle;
  356. text-align: center;
  357. }
  358. .header > .item.title h1 {
  359. margin: 0.5em 0;
  360. }
  361. .header > .item.title h1 a {
  362. text-decoration: none;
  363. }
  364. .header > .item.search input {
  365. width: 350px;
  366. }
  367. .header > .item.title .logo {
  368. filter: grayscale(100%) brightness(2.5);
  369. }
  370. .header > .item.title a:hover .logo {
  371. filter: grayscale(85%) brightness(2.5);
  372. }
  373. /*=== Body */
  374. .aside {
  375. background-color: var(--accent-bg);
  376. border-radius: 12px;
  377. }
  378. /*=== Aside main page */
  379. .aside.aside_feed {
  380. padding: 10px 0;
  381. text-align: center;
  382. }
  383. .aside.aside_feed .tree {
  384. margin: 10px 0 50px;
  385. }
  386. .aside_feed .category .title:not([data-unread="0"]) {
  387. width: calc(100% - 35px - 20px);
  388. }
  389. .aside_feed .tree-folder-items.active {
  390. background-color: var(--bg);
  391. }
  392. .aside.aside_feed .nav-form input,
  393. .aside.aside_feed .nav-form select {
  394. width: 140px;
  395. }
  396. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  397. right: -20px;
  398. }
  399. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  400. right: 33px;
  401. }
  402. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  403. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  404. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  405. border-radius: 3px;
  406. }
  407. .item.feed.error > .item-title {
  408. color: var(--accent-light);
  409. }
  410. .item.feed.active {
  411. background-color: var(--accent-bg);
  412. font-weight: bold;
  413. }
  414. li.item.active {
  415. background-color: var(--bg);
  416. font-weight: bold;
  417. }
  418. .item.feed:hover {
  419. background-color: var(--accent-bg);
  420. transition: .4s;
  421. }
  422. /*=== New article notification */
  423. #new-article {
  424. font-size: 0.9em;
  425. text-align: center;
  426. }
  427. #new-article > a {
  428. line-height: 3em;
  429. font-weight: bold;
  430. }
  431. #new-article > a:hover {
  432. text-decoration: none;
  433. }
  434. /*=== Day indication */
  435. .day {
  436. padding: 0 10px;
  437. font-weight: bold;
  438. line-height: 3em;
  439. }
  440. .day .name {
  441. padding: 0 10px 0 0;
  442. font-size: 1.8em;
  443. opacity: 0.3;
  444. font-style: italic;
  445. text-align: right;
  446. }
  447. .name {
  448. display: none;
  449. }
  450. /*=== Feed article header and footer */
  451. .flux_header {
  452. position: relative;
  453. font-size: 0.8rem;
  454. cursor: pointer;
  455. }
  456. .flux_header .title {
  457. font-size: 0.8rem;
  458. }
  459. .flux .website .favicon {
  460. padding: 0.25rem;
  461. position: absolute;
  462. }
  463. .flux .website span {
  464. margin-left: 2rem;
  465. }
  466. .flux .item.date {
  467. width: 155px;
  468. text-align: right;
  469. overflow: hidden;
  470. font-size: 0.7rem;
  471. }
  472. .flux .bottom {
  473. font-size: 0.8rem;
  474. text-align: center;
  475. }
  476. .flux_header:hover {
  477. background-color: var(--accent-bg);
  478. transition: .4s;
  479. }
  480. .flux.current {
  481. background: var(--accent-bg);
  482. }
  483. .flux:not(.current):hover .item.title {
  484. background: var(--accent-bg);
  485. transition: .4s;
  486. }
  487. .flux .item.title a {
  488. color: var(--text);
  489. }
  490. .flux .item.title .summary {
  491. color: var(--text-light);
  492. opacity: 0.8;
  493. }
  494. .flux .item.title .author {
  495. color: var(--text-light);
  496. opacity: 0.8;
  497. }
  498. /*=== Feed article content */
  499. .content {
  500. margin: auto;
  501. padding: 20px 10px;
  502. min-height: 20em;
  503. line-height: 1.7em;
  504. word-wrap: break-word;
  505. }
  506. .hide_posts > .flux:not(.active) > .flux_content {
  507. display: none;
  508. }
  509. .content hr {
  510. margin: 30px 10px;
  511. height: 1px;
  512. }
  513. .content pre {
  514. margin: 10px auto;
  515. padding: 10px 20px;
  516. overflow: auto;
  517. font-size: 0.9rem;
  518. border: 1px solid var(--accent);
  519. border-radius: 6px;
  520. }
  521. .content code {
  522. padding: 2px 5px;
  523. }
  524. .content blockquote {
  525. margin: 0;
  526. padding: 5px 20px;
  527. display: block;
  528. }
  529. .content blockquote p {
  530. margin: 0;
  531. }
  532. /*=== Notification and actualize notification */
  533. .notification {
  534. padding: 0 0 0 5px;
  535. background: var(--bg);
  536. color: var(--text);
  537. font-size: 0.9em;
  538. /*border: 1px solid #aaa;*/
  539. border-radius: 6px;
  540. z-index: 10;
  541. text-align: center;
  542. font-weight: bold;
  543. line-height: 3em;
  544. vertical-align: middle;
  545. }
  546. .notification.closed {
  547. opacity: 0;
  548. visibility: hidden;
  549. }
  550. /*=== Popup */
  551. #popup {
  552. background-color: rgb(0,0,0,.4);
  553. }
  554. #popup-content {
  555. background-color: var(--accent-bg);
  556. box-shadow: 0 0 1px #d8dee9, 1px 2px 3px var(--bg);
  557. }
  558. #popup-close:hover,
  559. #popup-close:focus {
  560. color: #d8dee9;
  561. }
  562. #popup-txt {
  563. display: none;
  564. height: 100%;
  565. }
  566. /*=== Navigation menu (for articles) */
  567. #nav_entries {
  568. margin: 0;
  569. background: var(--accent-bg);
  570. text-align: center;
  571. line-height: 3em;
  572. }
  573. #bigMarkAsRead {
  574. text-decoration: none;
  575. }
  576. .bigTick {
  577. font-size: 4em;
  578. }
  579. /*=== Statistiques */
  580. .stat > table td,
  581. .stat > table th {
  582. text-align: center;
  583. }
  584. .stat {
  585. margin: 10px 0 20px;
  586. }
  587. /*=== Slider */
  588. #slider {
  589. background: var(--accent-bg);
  590. border-left: 1px solid var(--border);
  591. }
  592. /*=== DIVERS */
  593. /*===========*/
  594. .category .title.error::before {
  595. color: var(--accent-light);
  596. }
  597. .nav_menu {
  598. padding: 5px 0;
  599. text-align: center;
  600. }
  601. /*=== PRINTER */
  602. /*============*/
  603. @media print {
  604. .header, .aside,
  605. .nav_menu, .day,
  606. .flux_header,
  607. .flux_content .bottom,
  608. .pagination,
  609. #nav_entries {
  610. display: none;
  611. }
  612. html, body {
  613. background: #fff;
  614. color: #000;
  615. font-family: Serif;
  616. }
  617. #global,
  618. .flux_content {
  619. display: block !important;
  620. }
  621. .flux_content .content {
  622. width: 100% !important;
  623. }
  624. .flux_content .content a {
  625. color: #000;
  626. }
  627. }
  628. /*=== PREVIEW */
  629. /*===========*/
  630. .preview_controls {
  631. margin-left: auto;
  632. margin-right: auto;
  633. padding: 1rem;
  634. max-width: 1000px;
  635. text-align: center;
  636. background-color: #eee;
  637. border: 1px solid #e0e0e0;
  638. border-radius: .25rem;
  639. }
  640. .preview_controls label {
  641. display: inline;
  642. }
  643. .preview_controls label input[type="radio"] {
  644. margin-top: -4px;
  645. }
  646. .preview_controls label + label {
  647. margin-left: 1rem;
  648. }
  649. .preview_background {
  650. background-color: transparent;
  651. }
  652. .drag-drop-marker {
  653. margin: -1px;
  654. }
  655. /*BEGINS BASE.CSS*/
  656. /*=== GENERAL */
  657. /*============*/
  658. /*=== Links */
  659. a, button.as-link {
  660. outline: none;
  661. }
  662. /*=== Forms */
  663. textarea {
  664. width: 360px;
  665. height: 100px;
  666. }
  667. option {
  668. padding: 0 .5em;
  669. }
  670. /*=== COMPONENTS */
  671. /*===============*/
  672. /*=== Forms */
  673. .form-group.form-actions .btn {
  674. margin: 0 10px;
  675. }
  676. /*=== Navigation */
  677. .nav-list {
  678. font-size: 0.9rem;
  679. }
  680. .nav-list .item,
  681. .nav-list .item.nav-header {
  682. min-height: 2.5em;
  683. line-height: 2.5;
  684. }
  685. .nav-list .item > a {
  686. padding: 0 1rem;
  687. }
  688. .nav-list a:hover {
  689. text-decoration: none;
  690. }
  691. .nav-list .nav-header {
  692. padding: 0 1rem;
  693. font-weight: bold;
  694. }
  695. .nav-list .nav-form {
  696. padding: 3px;
  697. text-align: center;
  698. }
  699. /*=== Dropdown */
  700. .dropdown-menu::after {
  701. position: absolute;
  702. top: -6px;
  703. right: 13px;
  704. width: 10px;
  705. height: 10px;
  706. z-index: -10;
  707. transform: rotate(45deg);
  708. border-color: var(--border);
  709. }
  710. .dropdown-menu > .item > a:hover,
  711. .dropdown-menu > .item > span:hover,
  712. .dropdown-menu > .item > .as-link:hover {
  713. color: var(--accent);
  714. transition: .4s;
  715. }
  716. /*=== Pagination */
  717. .pagination .item a {
  718. font-style: italic;
  719. }
  720. /*=== STRUCTURE */
  721. /*===============*/
  722. /*=== Header */
  723. /*=== Body */
  724. /*=== Aside main page (categories) */
  725. .aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
  726. position: absolute;
  727. right: 0;
  728. margin: 10px 0;
  729. padding: 0 10px;
  730. font-size: 0.9rem;
  731. }
  732. /*=== Aside main page (feeds) */
  733. .aside_feed .tree-folder-items .dropdown-menu::after {
  734. left: 2px;
  735. }
  736. /*=== Prompt (centered) */
  737. .prompt input {
  738. margin: 5px auto;
  739. width: 100%;
  740. }
  741. /*=== Navigation menu (for articles) */
  742. /*=== READER VIEW */
  743. /*================*/
  744. #stream.reader .flux {
  745. background: #242933;
  746. border: none;
  747. }
  748. #stream.reader .flux .content {
  749. background-color: #2e3440;
  750. border: none;
  751. }
  752. #stream.reader .flux .author {
  753. margin: 0 0 10px;
  754. font-size: 90%;
  755. }
  756. /*=== GLOBAL VIEW */
  757. /*================*/
  758. .box.category .box-title .title {
  759. font-weight: normal;
  760. text-decoration: none;
  761. text-align: left;
  762. }
  763. .box.category .title:not([data-unread="0"])::after {
  764. background: none;
  765. border: 0;
  766. position: absolute;
  767. top: 5px; right: 10px;
  768. font-weight: bold;
  769. box-shadow: none;
  770. text-shadow: none;
  771. }
  772. #panel {
  773. background-color: var(--bg);
  774. }
  775. /*=== MOBILE */
  776. /*===========*/
  777. @media (max-width: 840px) {
  778. .aside:target + .close-aside {
  779. background: rgba(0, 0, 0, 0.2);
  780. display: block;
  781. font-size: 0;
  782. position: fixed;
  783. top: 0;
  784. bottom: 0;
  785. left: 0;
  786. right: 0;
  787. cursor: pointer;
  788. z-index: 99;
  789. }
  790. .nav_mobile {
  791. display: block;
  792. }
  793. .aside {
  794. position: fixed;
  795. top: 0; bottom: 0;
  796. left: 0;
  797. width: 0;
  798. overflow: hidden;
  799. z-index: 100;
  800. transition: width 200ms linear;
  801. }
  802. .aside.aside_feed {
  803. padding: 0;
  804. }
  805. .aside:target,
  806. .reader .aside:target {
  807. width: 90%;
  808. height: 100vh;
  809. }
  810. .aside_feed .configure-feeds {
  811. margin-top: 10px;
  812. }
  813. .flux_header .item.website {
  814. width: 40px;
  815. }
  816. .flux:not(.current):hover .item.title {
  817. position: relative;
  818. width: auto;
  819. white-space: nowrap;
  820. }
  821. .flux .website .favicon {
  822. position: relative;
  823. }
  824. #overlay {
  825. background-color: var(--accent-bg);
  826. }
  827. .notification {
  828. top: 0;
  829. left: 0;
  830. right: 0;
  831. }
  832. #nav_entries {
  833. width: 100%;
  834. }
  835. #slider.active {
  836. left: 0;
  837. top: 50px;
  838. background-color: var(--bg);
  839. }
  840. #close-slider img {
  841. display: initial;
  842. }
  843. #close-slider.active {
  844. background: var(--bg);
  845. display: block;
  846. width: 100%;
  847. height: 50px;
  848. z-index: 10;
  849. text-align: center;
  850. line-height: 50px;
  851. border-bottom: 1px solid #ddd;
  852. }
  853. .stat.half {
  854. grid-column: 1 / span 2;
  855. }
  856. .nav_menu .btn {
  857. margin: 5px 10px;
  858. }
  859. .nav_menu .stick {
  860. margin: 0 10px;
  861. }
  862. .nav_menu .stick .btn {
  863. margin: 5px 0;
  864. }
  865. .nav_menu .search {
  866. display: inline-block;
  867. max-width: 97%;
  868. }
  869. .nav_menu .search input {
  870. max-width: 97%;
  871. width: 90px;
  872. }
  873. .nav_menu .search input:focus {
  874. width: 400px;
  875. }
  876. .post {
  877. padding: 1rem;
  878. }
  879. .day .name {
  880. font-size: 1.1rem;
  881. }
  882. .pagination {
  883. margin: 0 0 3.5em;
  884. }
  885. .notification a.close {
  886. display: block;
  887. left: 0;
  888. }
  889. .notification a.close:hover {
  890. opacity: 0.5;
  891. }
  892. .notification a.close .icon {
  893. display: none;
  894. }
  895. }