nord.css 17 KB

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