nord.css 17 KB

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