nord.rtl.css 22 KB

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