nord.css 17 KB

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