nord.rtl.css 17 KB

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