template.css 17 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201
  1. @charset "UTF-8";
  2. /*=== GENERAL */
  3. /*============*/
  4. @font-face {
  5. font-family: 'OpenSans';
  6. font-style: normal;
  7. font-weight: 400;
  8. src: local('Open Sans'), local('OpenSans'),
  9. url('../fonts/OpenSans.woff2') format('woff2'),
  10. url('../fonts/OpenSans.woff') format('woff');
  11. }
  12. html, body {
  13. margin: 0;
  14. padding: 0;
  15. font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", sans-serif;
  16. font-size: 100%;
  17. }
  18. /*=== Links */
  19. a {
  20. text-decoration: none;
  21. }
  22. a:hover {
  23. text-decoration: underline;
  24. }
  25. /*=== Lists */
  26. ul, ol, dd {
  27. margin: 0;
  28. padding: 0;
  29. }
  30. /*=== Titles */
  31. h1 {
  32. margin: 0.6em 0 0.3em;
  33. font-size: 1.5em;
  34. line-height: 1.6em;
  35. }
  36. h2 {
  37. margin: 0.5em 0 0.25em;
  38. font-size: 1.3em;
  39. line-height: 2em;
  40. }
  41. h3 {
  42. margin: 0.5em 0 0.25em;
  43. font-size: 1.1em;
  44. line-height: 2em;
  45. }
  46. /*=== Paragraphs */
  47. p {
  48. margin: 1em 0 0.5em;
  49. font-size: 1em;
  50. }
  51. sup {
  52. line-height: 25px;
  53. position: relative;
  54. top: -0.8em;
  55. vertical-align: baseline;
  56. }
  57. /*=== Images */
  58. img {
  59. max-width: 100%;
  60. height: auto;
  61. }
  62. img.favicon {
  63. width: 16px;
  64. height: 16px;
  65. vertical-align: middle;
  66. }
  67. .feed.mute::before {
  68. content: '🔇';
  69. }
  70. /*=== Videos */
  71. iframe, embed, object, video {
  72. max-width: 100%;
  73. }
  74. /*=== Forms */
  75. legend {
  76. display: block;
  77. width: 100%;
  78. clear: both;
  79. }
  80. label {
  81. display: block;
  82. }
  83. input {
  84. width: 180px;
  85. }
  86. input[type=number] {
  87. width: 6em;
  88. }
  89. textarea,
  90. input[type="file"],
  91. input.long,
  92. input.extend:focus {
  93. width: 300px;
  94. }
  95. input, select, textarea {
  96. display: inline-block;
  97. max-width: 100%;
  98. font-size: 0.8rem;
  99. }
  100. input[type="radio"],
  101. input[type="checkbox"] {
  102. width: 15px !important;
  103. min-height: 15px !important;
  104. }
  105. .dropdown-menu label > input[type="text"] {
  106. width: 150px;
  107. width: calc(99% - 5em);
  108. }
  109. .dropdown-menu input[type="checkbox"] {
  110. margin-left: 1em;
  111. margin-right: .5em;
  112. }
  113. button.as-link,
  114. button.as-link:hover,
  115. button.as-link:active {
  116. background: transparent;
  117. color: inherit;
  118. font-size: 1.1em;
  119. border: none;
  120. cursor: pointer;
  121. text-align: left;
  122. }
  123. button.as-link[disabled] {
  124. color: #ddd !important;
  125. }
  126. /*=== Tables */
  127. table {
  128. max-width: 100%;
  129. }
  130. th.numeric,
  131. td.numeric {
  132. text-align: center;
  133. }
  134. /*=== COMPONENTS */
  135. /*===============*/
  136. [aria-hidden="true"] {
  137. display: none !important;
  138. }
  139. /*=== Forms */
  140. .form-group::after {
  141. content: "";
  142. display: block;
  143. clear: both;
  144. }
  145. .form-group.form-actions {
  146. min-width: 250px;
  147. }
  148. .form-group .group-name {
  149. display: block;
  150. float: left;
  151. width: 200px;
  152. }
  153. .form-group .group-controls {
  154. min-width: 250px;
  155. margin: 0 0 0 220px;
  156. }
  157. .form-group .group-controls .control {
  158. display: block;
  159. }
  160. @supports (position: sticky) {
  161. #mark-read-aside {
  162. position: sticky;
  163. top: 0;
  164. }
  165. }
  166. /*=== Buttons */
  167. .stick {
  168. display: inline-block;
  169. white-space: nowrap;
  170. }
  171. .btn,
  172. a.btn {
  173. display: inline-block;
  174. cursor: pointer;
  175. overflow: hidden;
  176. }
  177. .btn-important {
  178. font-weight: bold;
  179. }
  180. /*=== Navigation */
  181. .nav-list .nav-header,
  182. .nav-list .item {
  183. display: block;
  184. }
  185. .nav-list .item,
  186. .nav-list .item > a {
  187. display: block;
  188. overflow: hidden;
  189. white-space: nowrap;
  190. text-overflow: ellipsis;
  191. }
  192. .nav-head {
  193. display: block;
  194. }
  195. .nav-head .item {
  196. display: inline-block;
  197. }
  198. /*=== Horizontal-list */
  199. .horizontal-list {
  200. display: table;
  201. table-layout: fixed;
  202. width: 100%;
  203. }
  204. .horizontal-list .item {
  205. display: table-cell;
  206. }
  207. /*=== Dropdown */
  208. .dropdown {
  209. position: relative;
  210. display: inline-block;
  211. vertical-align: middle;
  212. }
  213. .dropdown-target {
  214. display: none;
  215. }
  216. .dropdown-menu {
  217. margin: 0;
  218. background: #fff;
  219. display: none;
  220. border: 1px solid #aaa;
  221. min-width: 200px;
  222. position: absolute;
  223. right: 0;
  224. }
  225. .dropdown-menu-scrollable {
  226. max-height: 75vh;
  227. overflow-x: hidden;
  228. overflow-y: auto;
  229. }
  230. .dropdown-header {
  231. display: block;
  232. }
  233. .dropdown-menu > .item {
  234. display: block;
  235. }
  236. .dropdown-menu > .item > a,
  237. .dropdown-menu > .item > .as-link,
  238. .dropdown-menu > .item > span {
  239. display: block;
  240. min-width: 200px;
  241. white-space: nowrap;
  242. }
  243. .dropdown-menu > .item[aria-checked="true"] > a::before {
  244. content: '✓';
  245. }
  246. .dropdown-menu .input {
  247. display: block;
  248. }
  249. .dropdown-menu .input select,
  250. .dropdown-menu .input input {
  251. display: block;
  252. max-width: 95%;
  253. }
  254. .dropdown-target:target ~ .dropdown-menu {
  255. display: block;
  256. z-index: 1000;
  257. }
  258. .dropdown-close {
  259. display: inline;
  260. }
  261. .dropdown-close a {
  262. display: block;
  263. font-size: 0;
  264. position: fixed;
  265. top: 0; bottom: 0;
  266. left: 0; right: 0;
  267. z-index: -10;
  268. cursor: default;
  269. }
  270. .separator {
  271. display: block;
  272. height: 0;
  273. border-bottom: 1px solid #aaa;
  274. }
  275. /*=== Alerts */
  276. .alert {
  277. display: block;
  278. width: 90%;
  279. }
  280. .group-controls .alert {
  281. width: 100%
  282. }
  283. .alert-head {
  284. margin: 0;
  285. font-weight: bold;
  286. }
  287. .alert ul {
  288. margin: 5px 20px;
  289. }
  290. /*=== Icons */
  291. .icon {
  292. display: inline-block;
  293. width: 16px;
  294. height: 16px;
  295. vertical-align: middle;
  296. line-height: 16px;
  297. }
  298. /*=== Pagination */
  299. .pagination {
  300. margin: 0;
  301. padding: 0;
  302. display: table;
  303. width: 100%;
  304. table-layout: fixed;
  305. }
  306. .pagination .item {
  307. display: table-cell;
  308. }
  309. .pagination .pager-first,
  310. .pagination .pager-previous,
  311. .pagination .pager-next,
  312. .pagination .pager-last {
  313. width: 100px;
  314. }
  315. /*=== Boxes */
  316. .box {
  317. margin: 20px 10px;
  318. display: inline-block;
  319. max-width: 95%;
  320. width: 20rem;
  321. border: 1px solid #ccc;
  322. vertical-align: top;
  323. }
  324. .box .box-title {
  325. position: relative;
  326. font-size: 1.2rem;
  327. font-weight: bold;
  328. }
  329. .box .box-title form {
  330. margin: 0;
  331. }
  332. .box .box-content {
  333. display: block;
  334. overflow: auto;
  335. }
  336. .box .box-content .item {
  337. display: block;
  338. }
  339. .box .box-content .item.disabled {
  340. text-align: center;
  341. font-style: italic;
  342. }
  343. .box .box-content-centered {
  344. padding: 30px 5px;
  345. text-align: center;
  346. }
  347. .box .box-content-centered .btn {
  348. margin: 20px 0 0;
  349. }
  350. /*=== Draggable */
  351. .drag-hover {
  352. margin: 0 0 5px;
  353. border-bottom: 2px solid #ccc;
  354. }
  355. [draggable=true] {
  356. cursor: grab;
  357. }
  358. /*=== Scrollbar */
  359. @supports (scrollbar-width: thin) {
  360. #sidebar {
  361. overflow-y: auto;
  362. scrollbar-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.05);
  363. scrollbar-width: thin;
  364. }
  365. #sidebar:hover {
  366. scrollbar-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.05);
  367. }
  368. }
  369. @supports not (scrollbar-width: thin) {
  370. #sidebar::-webkit-scrollbar {
  371. background: rgba(0, 0, 0, 0.05);
  372. width: 8px;
  373. }
  374. #sidebar::-webkit-scrollbar-thumb {
  375. background: rgba(0, 0, 0, 0.1);
  376. display: unset;
  377. border-radius: 5px;
  378. }
  379. #sidebar:hover::-webkit-scrollbar-thumb {
  380. background: rgba(0, 0, 0, 0.3);
  381. }
  382. }
  383. /*=== Tree */
  384. .tree {
  385. margin: 0;
  386. max-height: 99vh;
  387. list-style: none;
  388. text-align: left;
  389. overflow-x: hidden;
  390. }
  391. .tree-folder-items {
  392. padding: 0;
  393. max-height: 200em;
  394. list-style: none;
  395. transition: max-height .3s linear;
  396. }
  397. .tree-folder-title {
  398. display: block;
  399. overflow: hidden;
  400. white-space: nowrap;
  401. text-overflow: ellipsis;
  402. }
  403. .tree-folder-title .title {
  404. display: inline-block;
  405. width: 100%;
  406. vertical-align: middle;
  407. }
  408. .tree-folder-items > .item {
  409. display: block;
  410. white-space: nowrap;
  411. }
  412. .tree-folder-items > .item > a {
  413. display: inline-block;
  414. vertical-align: middle;
  415. width: calc(100% - 32px);
  416. overflow: hidden;
  417. white-space: nowrap;
  418. text-overflow: ellipsis;
  419. }
  420. .tree-bottom {
  421. visibility: hidden;
  422. margin-bottom: 18em;
  423. }
  424. /*=== STRUCTURE */
  425. /*===============*/
  426. /*=== Header */
  427. .header {
  428. display: table;
  429. width: 100%;
  430. table-layout: fixed;
  431. }
  432. .header > .item {
  433. display: table-cell;
  434. }
  435. .header > .item.title {
  436. width: 250px;
  437. white-space: nowrap;
  438. }
  439. .header > .item.title h1 {
  440. display: inline-block;
  441. }
  442. .header > .item.title .logo {
  443. display: inline-block;
  444. width: 32px;
  445. height: 32px;
  446. vertical-align: middle;
  447. }
  448. .header > .item.configure {
  449. width: 100px;
  450. }
  451. /*=== Body */
  452. #global {
  453. display: table;
  454. width: 100%;
  455. height: 100%;
  456. table-layout: fixed;
  457. }
  458. .aside {
  459. display: table-cell;
  460. width: 300px;
  461. vertical-align: top;
  462. }
  463. /*=== Aside main page */
  464. .aside_feed .category .title {
  465. width: calc(100% - 35px);
  466. }
  467. .aside_feed .tree-folder-title .icon {
  468. padding: 5px;
  469. }
  470. .aside_feed .tree-folder-items .item.feed {
  471. padding: 0px 15px;
  472. }
  473. .aside_feed .tree-folder-items:not(.active) {
  474. margin: 0;
  475. padding: 0;
  476. max-height: 0;
  477. border: none;
  478. overflow: hidden;
  479. }
  480. .aside_feed .tree-folder-items .dropdown {
  481. vertical-align: top;
  482. }
  483. .aside_feed .tree-folder-items .dropdown-menu {
  484. left: 0;
  485. }
  486. .aside_feed .tree-folder-items .item .dropdown-toggle > .icon {
  487. visibility: hidden;
  488. cursor: pointer;
  489. }
  490. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  491. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  492. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  493. visibility: visible;
  494. }
  495. /*=== New article notification */
  496. #new-article {
  497. display: none;
  498. }
  499. #new-article > a {
  500. display: block;
  501. }
  502. /*=== Day indication */
  503. .day .name {
  504. position: absolute;
  505. right: 0;
  506. width: 50%;
  507. overflow: hidden;
  508. white-space: nowrap;
  509. text-overflow: ellipsis;
  510. }
  511. /*=== Feed article header and footer */
  512. .flux_header {
  513. position: relative;
  514. }
  515. .flux .item {
  516. line-height: 40px;
  517. white-space: nowrap;
  518. }
  519. .flux .item.manage,
  520. .flux .item.link {
  521. width: 40px;
  522. text-align: center;
  523. }
  524. .flux .item.website {
  525. width: 200px;
  526. }
  527. .flux.not_read .item.title,
  528. .flux.current .item.title {
  529. font-weight: bold;
  530. }
  531. .flux:not(.current):hover .item.title {
  532. background: #fff;
  533. max-width: calc(100% - 320px);
  534. position: absolute;
  535. }
  536. .flux .item.title a {
  537. color: #000;
  538. text-decoration: none;
  539. }
  540. .flux .item.author {
  541. color: #555;
  542. font-size: .7rem;
  543. font-weight: normal;
  544. white-space: normal;
  545. }
  546. .flux .item.date {
  547. width: 155px;
  548. text-align: right;
  549. overflow: hidden;
  550. }
  551. .flux .item > a {
  552. display: block;
  553. text-decoration: none;
  554. white-space: nowrap;
  555. text-overflow: ellipsis;
  556. overflow: hidden;
  557. }
  558. .flux .item.share > a,
  559. .item.query > a {
  560. display: list-item;
  561. list-style-position: inside;
  562. list-style-type: decimal;
  563. }
  564. /*=== Feed article content */
  565. .hide_posts > .flux:not(.active) > .flux_content {
  566. display: none;
  567. }
  568. .content {
  569. min-height: 20em;
  570. margin: auto;
  571. line-height: 1.7em;
  572. word-wrap: break-word;
  573. }
  574. .content.large {
  575. max-width: 1000px;
  576. }
  577. .content.medium {
  578. max-width: 800px;
  579. }
  580. .content.thin {
  581. max-width: 550px;
  582. }
  583. .content ul,
  584. .content ol,
  585. .content dd {
  586. margin: 0 0 0 15px;
  587. padding: 0 0 5px 15px;
  588. }
  589. .content pre {
  590. overflow: auto;
  591. }
  592. br {
  593. line-height: 1em;
  594. }
  595. /*=== Notification and actualize notification */
  596. .notification {
  597. position: absolute;
  598. top: 1em;
  599. left: 25%; right: 25%;
  600. z-index: 10;
  601. background: #fff;
  602. border: 1px solid #aaa;
  603. opacity: 1;
  604. visibility: visible;
  605. transition: visibility 0s, opacity .3s linear;
  606. }
  607. .notification.closed {
  608. opacity: 0;
  609. visibility: hidden;
  610. }
  611. .notification a.close {
  612. position: absolute;
  613. top: 0; bottom: 0;
  614. right: 0;
  615. display: inline-block;
  616. }
  617. #actualizeProgress {
  618. position: fixed;
  619. }
  620. #actualizeProgress progress {
  621. max-width: 100%;
  622. vertical-align: middle;
  623. }
  624. #actualizeProgress .progress {
  625. vertical-align: middle;
  626. }
  627. /*=== Navigation menu (for articles) */
  628. #nav_entries {
  629. background: #fff;
  630. display: table;
  631. position: fixed;
  632. bottom: 0; left: 0;
  633. width: 300px;
  634. table-layout: fixed;
  635. }
  636. #nav_entries .item {
  637. display: table-cell;
  638. width: 30%;
  639. }
  640. #nav_entries a {
  641. display: block;
  642. }
  643. /*=== "Load more" part */
  644. #load_more {
  645. min-height: 40px;
  646. }
  647. .loading {
  648. background: url("loader.gif") center center no-repeat;
  649. font-size: 0;
  650. }
  651. #bigMarkAsRead {
  652. margin: 0 0 100% 0;
  653. margin: 0 0 100vh 0;
  654. padding: 1em 0 50px 0;
  655. display: block;
  656. width: 100%;
  657. text-align: center;
  658. font-size: 1.4em;
  659. }
  660. .bigTick {
  661. font-size: 4em;
  662. }
  663. /*=== Statistiques */
  664. .stat {
  665. margin: 15px 0;
  666. }
  667. .stat.half {
  668. padding: 0 2%;
  669. display: inline-block;
  670. width: 46%;
  671. }
  672. .stat > table {
  673. width: 100%;
  674. }
  675. .statGraph {
  676. height: 300px;
  677. }
  678. /*=== LOGIN VIEW */
  679. /*================*/
  680. .formLogin .header > .item {
  681. padding: 10px 30px;
  682. }
  683. .formLogin .header > .item.title {
  684. text-align: left;
  685. }
  686. .formLogin .header > .item.configure {
  687. text-align: right;
  688. }
  689. /*=== GLOBAL VIEW */
  690. /*================*/
  691. #stream.global {
  692. text-align: center;
  693. }
  694. #stream.global .box {
  695. text-align: left;
  696. }
  697. #global > #panel {
  698. bottom: 99vh;
  699. display: block;
  700. transition: visibility .3s, bottom .3s;
  701. visibility: hidden;
  702. }
  703. #global > #panel.visible {
  704. bottom: 1em;
  705. visibility: visible;
  706. }
  707. /*=== Panel */
  708. #overlay {
  709. position: fixed;
  710. top: 0; bottom: 0;
  711. left: 0; right: 0;
  712. background: rgba(0, 0, 0, 0.9);
  713. opacity: 0;
  714. transition: visibility .3s, opacity .3s;
  715. visibility: hidden;
  716. }
  717. #overlay.visible {
  718. opacity: 1;
  719. visibility: visible;
  720. }
  721. #panel {
  722. background: #fff;
  723. display: none;
  724. position: fixed;
  725. top: 1em; bottom: 1em;
  726. left: 2em; right: 2em;
  727. overflow: auto;
  728. }
  729. #overlay .close {
  730. position: fixed;
  731. top: 0; bottom: 0;
  732. left: 0; right: 0;
  733. display: block;
  734. }
  735. #overlay .close img {
  736. display: none;
  737. }
  738. /*=== Slider */
  739. #slider {
  740. position: fixed;
  741. top: 0; bottom: 0;
  742. left: 100%; right: 0;
  743. overflow: auto;
  744. background: #fff;
  745. border-left: 1px solid #aaa;
  746. transition: left 200ms linear;
  747. }
  748. #slider.active {
  749. left: 40%;
  750. }
  751. #close-slider {
  752. position: fixed;
  753. top: 0; bottom: 0;
  754. left: 100%; right: 0;
  755. cursor: pointer;
  756. }
  757. #close-slider.active {
  758. left: 0;
  759. }
  760. /*=== SLIDESHOW */
  761. /*==============*/
  762. .slides {
  763. padding: 0;
  764. display: block;
  765. max-width: 640px;
  766. height: 320px;
  767. border: 1px solid #aaa;
  768. position: relative;
  769. min-width: 260px;
  770. margin-bottom: 30px;
  771. }
  772. .slides input {
  773. display: none;
  774. }
  775. .slide-container {
  776. display: block;
  777. }
  778. .slide {
  779. display: block;
  780. width: 100%;
  781. height: 100%;
  782. top: 0;
  783. opacity: 0;
  784. position: absolute;
  785. transform: scale(0);
  786. transition: all .7s ease-in-out;
  787. }
  788. .slide img {
  789. width: 100%;
  790. height: 100%;
  791. }
  792. .nav label {
  793. padding: 0;
  794. display: none;
  795. width: 10%;
  796. height: 100%;
  797. color: #fff;
  798. font-family: "Varela Round", sans-serif;
  799. font-size: 1000%;
  800. position: absolute;
  801. opacity: 0;
  802. z-index: 9;
  803. cursor: pointer;
  804. transition: opacity .2s;
  805. text-align: center;
  806. line-height: 225%;
  807. background-color: rgba(255, 255, 255, .3);
  808. text-shadow: 0px 0px 15px rgb(119, 119, 119);
  809. }
  810. .properties {
  811. padding: 5px;
  812. background: rgba(255, 255, 255, 0.7);
  813. display: none;
  814. color: #000;
  815. border-top: 1px solid #aaa;
  816. bottom: 0;
  817. left: 0; right: 0;
  818. position: absolute;
  819. z-index: 10;
  820. }
  821. .properties .page-number {
  822. right: 5px;
  823. top: 0;
  824. position: absolute;
  825. }
  826. .slide:hover + .nav label {
  827. opacity: 0.5;
  828. }
  829. .nav label:hover {
  830. opacity: 1;
  831. }
  832. .nav .next {
  833. right: 0;
  834. }
  835. input:checked + .slide-container .slide {
  836. opacity: 1;
  837. transform: scale(1);
  838. transition: opacity 1s ease-in-out;
  839. }
  840. input:checked + .slide-container .nav label {
  841. display: block;
  842. }
  843. input:checked + .slide-container .properties {
  844. display: block;
  845. }
  846. /*=== DIVERS */
  847. /*===========*/
  848. .category .title:not([data-unread="0"])::after {
  849. content: attr(data-unread);
  850. }
  851. .category .title.error::before {
  852. content: "⚠ ";
  853. color: #bd362f;
  854. }
  855. .feed .item-title:not([data-unread="0"])::before {
  856. content: "(" attr(data-unread) ") ";
  857. }
  858. .feed .item-title:not([data-unread="0"]) {
  859. font-weight: bold;
  860. }
  861. .state_unread .category:not(.active)[data-unread="0"],
  862. .state_unread .feed:not(.active)[data-unread="0"] {
  863. display: none;
  864. }
  865. .nav-login,
  866. .nav_menu .search,
  867. .aside .toggle_aside,
  868. .nav_menu .toggle_aside {
  869. display: none;
  870. }
  871. .enclosure [download] {
  872. font-size: xx-large;
  873. margin-left: .8em;
  874. }
  875. pre.enclosure-description {
  876. white-space: pre-line;
  877. }
  878. /*=== READER */
  879. /*===========*/
  880. .reader .nav_menu .toggle_aside {
  881. display: inline-block;
  882. }
  883. .reader .aside .toggle_aside {
  884. display: block;
  885. width: 100%;
  886. }
  887. .reader .aside {
  888. width: 0;
  889. }
  890. .reader .aside:target {
  891. width: 300px;
  892. }
  893. .reader .aside .stick {
  894. display: none;
  895. }
  896. /*=== MOBILE */
  897. /*===========*/
  898. @media (max-width: 840px) {
  899. .header,
  900. .aside .btn-important,
  901. .flux_header .item.website span,
  902. .item.date, .day .date,
  903. .dropdown-menu > .no-mobile,
  904. .no-mobile {
  905. display: none;
  906. }
  907. .dropdown .dropdown-menu {
  908. width: 100%;
  909. border-radius: 0;
  910. bottom: 0;
  911. position: fixed;
  912. }
  913. .dropdown-menu::after {
  914. display: none;
  915. }
  916. .aside .toggle_aside,
  917. .nav-login {
  918. display: block;
  919. }
  920. .nav_menu .toggle_aside,
  921. .nav_menu .search,
  922. #panel .close img {
  923. display: inline-block;
  924. }
  925. .aside {
  926. position: fixed;
  927. top: 0; bottom: 0;
  928. left: 0;
  929. width: 0;
  930. overflow: hidden;
  931. z-index: 100;
  932. }
  933. .aside:target {
  934. width: 90%;
  935. }
  936. .flux_header .item.website {
  937. width: 40px;
  938. }
  939. .flux:not(.current):hover .item.title {
  940. position: relative;
  941. width: auto;
  942. white-space: nowrap;
  943. }
  944. .notification {
  945. top: 0;
  946. left: 0;
  947. right: 0;
  948. }
  949. #nav_entries {
  950. width: 100%;
  951. }
  952. #panel {
  953. top: 25px; bottom: 30px;
  954. left: 0; right: 0;
  955. }
  956. #panel .close {
  957. top: 0; right: 0;
  958. left: auto; bottom: auto;
  959. display: inline-block;
  960. width: 30px;
  961. height: 30px;
  962. }
  963. }
  964. /*=== PRINTER */
  965. /*============*/
  966. @media print {
  967. .header, .aside,
  968. .nav_menu, .day,
  969. .flux_header,
  970. .flux_content .bottom,
  971. .pagination,
  972. #nav_entries {
  973. display: none;
  974. }
  975. html, body {
  976. background: #fff;
  977. color: #000;
  978. font-family: Serif;
  979. }
  980. #global,
  981. .flux_content {
  982. display: block !important;
  983. }
  984. .flux_content .content {
  985. width: 100% !important;
  986. }
  987. .flux_content .content a {
  988. color: #000;
  989. }
  990. .flux_content .content a::after {
  991. content: " [" attr(href) "] ";
  992. font-style: italic;
  993. }
  994. }