nord.css 17 KB

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