template.css 17 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216
  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: -11;
  268. cursor: default;
  269. }
  270. .dropdown div.dropdown-close {
  271. display: none;
  272. }
  273. .dropdown-target:target ~ div.dropdown-close {
  274. display: block;
  275. z-index: 999;
  276. position: relative;
  277. }
  278. .dropdown-menu-scrollable .dropdown-close {
  279. display: none;
  280. }
  281. .separator {
  282. display: block;
  283. height: 0;
  284. border-bottom: 1px solid #aaa;
  285. }
  286. /*=== Alerts */
  287. .alert {
  288. display: block;
  289. width: 90%;
  290. }
  291. .group-controls .alert {
  292. width: 100%
  293. }
  294. .alert-head {
  295. margin: 0;
  296. font-weight: bold;
  297. }
  298. .alert ul {
  299. margin: 5px 20px;
  300. }
  301. /*=== Icons */
  302. .icon {
  303. display: inline-block;
  304. width: 16px;
  305. height: 16px;
  306. vertical-align: middle;
  307. line-height: 16px;
  308. }
  309. /*=== Pagination */
  310. .pagination {
  311. margin: 0;
  312. padding: 0;
  313. display: table;
  314. width: 100%;
  315. table-layout: fixed;
  316. }
  317. .pagination .item {
  318. display: table-cell;
  319. }
  320. .pagination .pager-first,
  321. .pagination .pager-previous,
  322. .pagination .pager-next,
  323. .pagination .pager-last {
  324. width: 100px;
  325. }
  326. /*=== Boxes */
  327. .box {
  328. margin: 20px 10px;
  329. display: inline-block;
  330. max-width: 95%;
  331. width: 20rem;
  332. border: 1px solid #ccc;
  333. vertical-align: top;
  334. }
  335. .box .box-title {
  336. position: relative;
  337. font-size: 1.2rem;
  338. font-weight: bold;
  339. }
  340. .box .box-title form {
  341. margin: 0;
  342. }
  343. .box .box-content {
  344. display: block;
  345. overflow: auto;
  346. }
  347. .box .box-content .item {
  348. display: block;
  349. }
  350. .box .box-content .item.disabled {
  351. text-align: center;
  352. font-style: italic;
  353. }
  354. .box .box-content-centered {
  355. padding: 30px 5px;
  356. text-align: center;
  357. }
  358. .box .box-content-centered .btn {
  359. margin: 20px 0 0;
  360. }
  361. /*=== Draggable */
  362. .drag-hover {
  363. margin: 0 0 5px;
  364. border-bottom: 2px solid #ccc;
  365. }
  366. [draggable=true] {
  367. cursor: grab;
  368. }
  369. /*=== Scrollbar */
  370. @supports (scrollbar-width: thin) {
  371. #sidebar {
  372. overflow-y: auto;
  373. scrollbar-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.05);
  374. scrollbar-width: thin;
  375. }
  376. #sidebar:hover {
  377. scrollbar-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.05);
  378. }
  379. }
  380. @supports not (scrollbar-width: thin) {
  381. #sidebar::-webkit-scrollbar {
  382. background: rgba(0, 0, 0, 0.05);
  383. width: 8px;
  384. }
  385. #sidebar::-webkit-scrollbar-thumb {
  386. background: rgba(0, 0, 0, 0.1);
  387. display: unset;
  388. border-radius: 5px;
  389. }
  390. #sidebar:hover::-webkit-scrollbar-thumb {
  391. background: rgba(0, 0, 0, 0.3);
  392. }
  393. }
  394. /*=== Tree */
  395. .tree {
  396. margin: 0;
  397. max-height: 99vh;
  398. list-style: none;
  399. text-align: left;
  400. overflow-x: hidden;
  401. }
  402. .tree-folder-items {
  403. padding: 0;
  404. max-height: 200em;
  405. list-style: none;
  406. transition: max-height .3s linear;
  407. }
  408. .tree-folder-title {
  409. display: block;
  410. overflow: hidden;
  411. white-space: nowrap;
  412. text-overflow: ellipsis;
  413. }
  414. .tree-folder-title .title {
  415. display: inline-block;
  416. width: 100%;
  417. vertical-align: middle;
  418. }
  419. .tree-folder-items > .item {
  420. display: block;
  421. white-space: nowrap;
  422. }
  423. .tree-folder-items > .item > a {
  424. display: inline-block;
  425. vertical-align: middle;
  426. width: calc(100% - 32px);
  427. overflow: hidden;
  428. white-space: nowrap;
  429. text-overflow: ellipsis;
  430. }
  431. .tree-bottom {
  432. visibility: hidden;
  433. margin-bottom: 18em;
  434. }
  435. /*=== STRUCTURE */
  436. /*===============*/
  437. /*=== Header */
  438. .header {
  439. display: table;
  440. width: 100%;
  441. table-layout: fixed;
  442. }
  443. .header > .item {
  444. display: table-cell;
  445. }
  446. .header > .item.title {
  447. width: 250px;
  448. white-space: nowrap;
  449. }
  450. .header > .item.title h1 {
  451. display: inline-block;
  452. }
  453. .header > .item.title .logo {
  454. display: inline-block;
  455. width: 32px;
  456. height: 32px;
  457. vertical-align: middle;
  458. }
  459. .header > .item.configure {
  460. width: 100px;
  461. }
  462. /*=== Body */
  463. #global {
  464. display: table;
  465. width: 100%;
  466. height: 100%;
  467. table-layout: fixed;
  468. }
  469. .aside {
  470. display: table-cell;
  471. width: 300px;
  472. vertical-align: top;
  473. }
  474. /*=== Aside main page */
  475. .aside_feed .category .title {
  476. width: calc(100% - 35px);
  477. }
  478. .aside_feed .tree-folder-title .icon {
  479. padding: 5px;
  480. }
  481. .aside_feed .tree-folder-items .item.feed {
  482. padding: 0px 15px;
  483. }
  484. .aside_feed .tree-folder-items:not(.active) {
  485. margin: 0;
  486. padding: 0;
  487. max-height: 0;
  488. border: none;
  489. overflow: hidden;
  490. }
  491. .aside_feed .tree-folder-items .dropdown {
  492. vertical-align: top;
  493. }
  494. .aside_feed .tree-folder-items .dropdown-menu {
  495. left: 0;
  496. }
  497. .aside_feed .tree-folder-items .item .dropdown-toggle > .icon {
  498. visibility: hidden;
  499. cursor: pointer;
  500. }
  501. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  502. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  503. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  504. visibility: visible;
  505. }
  506. /*=== New article notification */
  507. #new-article {
  508. display: none;
  509. }
  510. #new-article > a {
  511. display: block;
  512. }
  513. /*=== Day indication */
  514. .day .name {
  515. position: absolute;
  516. right: 0;
  517. width: 50%;
  518. overflow: hidden;
  519. white-space: nowrap;
  520. text-overflow: ellipsis;
  521. }
  522. /*=== Feed article header and footer */
  523. .flux_header {
  524. position: relative;
  525. }
  526. .flux .item {
  527. line-height: 40px;
  528. white-space: nowrap;
  529. }
  530. .flux .item.manage,
  531. .flux .item.link {
  532. width: 40px;
  533. text-align: center;
  534. }
  535. .flux .item.website {
  536. width: 200px;
  537. }
  538. .flux.not_read .item.title,
  539. .flux.current .item.title {
  540. font-weight: bold;
  541. }
  542. .flux:not(.current):hover .item.title {
  543. background: #fff;
  544. max-width: calc(100% - 320px);
  545. position: absolute;
  546. }
  547. .flux .item.title a {
  548. color: #000;
  549. text-decoration: none;
  550. }
  551. .flux .item.title .author {
  552. padding-left: 1rem;
  553. color: #555;
  554. font-size: .9rem;
  555. font-weight: normal;
  556. }
  557. .flux .item.date {
  558. width: 155px;
  559. text-align: right;
  560. overflow: hidden;
  561. }
  562. .flux .item > a {
  563. display: block;
  564. text-decoration: none;
  565. white-space: nowrap;
  566. text-overflow: ellipsis;
  567. overflow: hidden;
  568. }
  569. .flux .item.share > a,
  570. .item.query > a {
  571. display: list-item;
  572. list-style-position: inside;
  573. list-style-type: decimal;
  574. }
  575. /*=== Feed article content */
  576. .hide_posts > .flux:not(.active) > .flux_content {
  577. display: none;
  578. }
  579. .content {
  580. min-height: 20em;
  581. margin: auto;
  582. line-height: 1.7em;
  583. word-wrap: break-word;
  584. }
  585. .content.large {
  586. max-width: 1000px;
  587. }
  588. .content.medium {
  589. max-width: 800px;
  590. }
  591. .content.thin {
  592. max-width: 550px;
  593. }
  594. .content ul,
  595. .content ol,
  596. .content dd {
  597. margin: 0 0 0 15px;
  598. padding: 0 0 5px 15px;
  599. }
  600. .content pre {
  601. overflow: auto;
  602. }
  603. br {
  604. line-height: 1em;
  605. }
  606. /*=== Notification and actualize notification */
  607. .notification {
  608. position: absolute;
  609. top: 1em;
  610. left: 25%; right: 25%;
  611. z-index: 10;
  612. background: #fff;
  613. border: 1px solid #aaa;
  614. opacity: 1;
  615. visibility: visible;
  616. transition: visibility 0s, opacity .3s linear;
  617. }
  618. .notification.closed {
  619. opacity: 0;
  620. visibility: hidden;
  621. }
  622. .notification a.close {
  623. position: absolute;
  624. top: 0; bottom: 0;
  625. right: 0;
  626. display: inline-block;
  627. }
  628. #actualizeProgress {
  629. position: fixed;
  630. }
  631. #actualizeProgress progress {
  632. max-width: 100%;
  633. vertical-align: middle;
  634. }
  635. #actualizeProgress .progress {
  636. vertical-align: middle;
  637. }
  638. /*=== Navigation menu (for articles) */
  639. #nav_entries {
  640. background: #fff;
  641. display: table;
  642. position: fixed;
  643. bottom: 0; left: 0;
  644. width: 300px;
  645. table-layout: fixed;
  646. }
  647. #nav_entries .item {
  648. display: table-cell;
  649. width: 30%;
  650. }
  651. #nav_entries a {
  652. display: block;
  653. }
  654. /*=== "Load more" part */
  655. #load_more {
  656. min-height: 40px;
  657. }
  658. .loading {
  659. background: url("loader.gif") center center no-repeat;
  660. font-size: 0;
  661. }
  662. #bigMarkAsRead {
  663. margin: 0 0 100% 0;
  664. margin: 0 0 100vh 0;
  665. padding: 1em 0 50px 0;
  666. display: block;
  667. width: 100%;
  668. text-align: center;
  669. font-size: 1.4em;
  670. }
  671. .bigTick {
  672. font-size: 4em;
  673. }
  674. /*=== Statistiques */
  675. .stat {
  676. margin: 15px 0;
  677. }
  678. .stat.half {
  679. padding: 0 2%;
  680. display: inline-block;
  681. width: 46%;
  682. }
  683. .stat > table {
  684. width: 100%;
  685. }
  686. .statGraph {
  687. height: 300px;
  688. }
  689. /*=== LOGIN VIEW */
  690. /*================*/
  691. .formLogin .header > .item {
  692. padding: 10px 30px;
  693. }
  694. .formLogin .header > .item.title {
  695. text-align: left;
  696. }
  697. .formLogin .header > .item.configure {
  698. text-align: right;
  699. }
  700. /*=== GLOBAL VIEW */
  701. /*================*/
  702. #stream.global {
  703. text-align: center;
  704. }
  705. #stream.global .box {
  706. text-align: left;
  707. }
  708. #global > #panel {
  709. bottom: 99vh;
  710. display: block;
  711. transition: visibility .3s, bottom .3s;
  712. visibility: hidden;
  713. }
  714. #global > #panel.visible {
  715. bottom: 1em;
  716. visibility: visible;
  717. }
  718. /*=== Panel */
  719. #overlay {
  720. position: fixed;
  721. top: 0; bottom: 0;
  722. left: 0; right: 0;
  723. background: rgba(0, 0, 0, 0.9);
  724. opacity: 0;
  725. transition: visibility .3s, opacity .3s;
  726. visibility: hidden;
  727. }
  728. #overlay.visible {
  729. opacity: 1;
  730. visibility: visible;
  731. }
  732. #panel {
  733. background: #fff;
  734. display: none;
  735. position: fixed;
  736. top: 1em; bottom: 1em;
  737. left: 2em; right: 2em;
  738. overflow: auto;
  739. }
  740. #overlay .close {
  741. position: fixed;
  742. top: 0; bottom: 0;
  743. left: 0; right: 0;
  744. display: block;
  745. }
  746. #overlay .close img {
  747. display: none;
  748. }
  749. /*=== Slider */
  750. #slider {
  751. position: fixed;
  752. top: 0; bottom: 0;
  753. left: 100%; right: 0;
  754. overflow: auto;
  755. background: #fff;
  756. border-left: 1px solid #aaa;
  757. transition: left 200ms linear;
  758. }
  759. #slider.active {
  760. left: 40%;
  761. }
  762. #close-slider {
  763. position: fixed;
  764. top: 0; bottom: 0;
  765. left: 100%; right: 0;
  766. cursor: pointer;
  767. }
  768. #close-slider.active {
  769. left: 0;
  770. }
  771. /*=== SLIDESHOW */
  772. /*==============*/
  773. .slides {
  774. padding: 0;
  775. display: block;
  776. max-width: 640px;
  777. height: 320px;
  778. border: 1px solid #aaa;
  779. position: relative;
  780. min-width: 260px;
  781. margin-bottom: 30px;
  782. }
  783. .slides input {
  784. display: none;
  785. }
  786. .slide-container {
  787. display: block;
  788. }
  789. .slide {
  790. display: block;
  791. width: 100%;
  792. height: 100%;
  793. top: 0;
  794. opacity: 0;
  795. position: absolute;
  796. transform: scale(0);
  797. transition: all .7s ease-in-out;
  798. }
  799. .slide img {
  800. width: 100%;
  801. height: 100%;
  802. }
  803. .nav label {
  804. padding: 0;
  805. display: none;
  806. width: 10%;
  807. height: 100%;
  808. color: #fff;
  809. font-family: "Varela Round", sans-serif;
  810. font-size: 1000%;
  811. position: absolute;
  812. opacity: 0;
  813. z-index: 9;
  814. cursor: pointer;
  815. transition: opacity .2s;
  816. text-align: center;
  817. line-height: 225%;
  818. background-color: rgba(255, 255, 255, .3);
  819. text-shadow: 0px 0px 15px rgb(119, 119, 119);
  820. }
  821. .properties {
  822. padding: 5px;
  823. background: rgba(255, 255, 255, 0.7);
  824. display: none;
  825. color: #000;
  826. border-top: 1px solid #aaa;
  827. bottom: 0;
  828. left: 0; right: 0;
  829. position: absolute;
  830. z-index: 10;
  831. }
  832. .properties .page-number {
  833. right: 5px;
  834. top: 0;
  835. position: absolute;
  836. }
  837. .slide:hover + .nav label {
  838. opacity: 0.5;
  839. }
  840. .nav label:hover {
  841. opacity: 1;
  842. }
  843. .nav .next {
  844. right: 0;
  845. }
  846. input:checked + .slide-container .slide {
  847. opacity: 1;
  848. transform: scale(1);
  849. transition: opacity 1s ease-in-out;
  850. }
  851. input:checked + .slide-container .nav label {
  852. display: block;
  853. }
  854. input:checked + .slide-container .properties {
  855. display: block;
  856. }
  857. /*=== DIVERS */
  858. /*===========*/
  859. .category .title:not([data-unread="0"])::after {
  860. content: attr(data-unread);
  861. }
  862. .category .title.error::before {
  863. content: "⚠ ";
  864. color: #bd362f;
  865. }
  866. .feed .item-title:not([data-unread="0"])::before {
  867. content: "(" attr(data-unread) ") ";
  868. }
  869. .feed .item-title:not([data-unread="0"]) {
  870. font-weight: bold;
  871. }
  872. .state_unread .category:not(.active)[data-unread="0"],
  873. .state_unread .feed:not(.active)[data-unread="0"] {
  874. display: none;
  875. }
  876. .nav-login,
  877. .nav_menu .search,
  878. .aside .toggle_aside,
  879. .nav_menu .toggle_aside {
  880. display: none;
  881. }
  882. .enclosure [download] {
  883. font-size: xx-large;
  884. margin-left: .8em;
  885. }
  886. pre.enclosure-description {
  887. white-space: pre-line;
  888. }
  889. /*=== READER */
  890. /*===========*/
  891. .reader .nav_menu .toggle_aside {
  892. display: inline-block;
  893. }
  894. .reader .aside .toggle_aside {
  895. display: block;
  896. width: 100%;
  897. }
  898. .reader .aside {
  899. width: 0;
  900. }
  901. .reader .aside:target {
  902. width: 300px;
  903. }
  904. .reader .aside .stick {
  905. display: none;
  906. }
  907. /*=== MOBILE */
  908. /*===========*/
  909. @media (max-width: 840px) {
  910. .header,
  911. .aside .btn-important,
  912. .flux_header .item.website span,
  913. .item.date, .day .date,
  914. .dropdown-menu > .no-mobile,
  915. .no-mobile {
  916. display: none;
  917. }
  918. .dropdown .dropdown-menu {
  919. width: 100%;
  920. border-radius: 0;
  921. bottom: 0;
  922. position: fixed;
  923. }
  924. .dropdown-menu::after {
  925. display: none;
  926. }
  927. .aside .toggle_aside,
  928. .nav-login {
  929. display: block;
  930. }
  931. .nav_menu .toggle_aside,
  932. .nav_menu .search,
  933. #panel .close img {
  934. display: inline-block;
  935. }
  936. .aside {
  937. position: fixed;
  938. top: 0; bottom: 0;
  939. left: 0;
  940. width: 0;
  941. overflow: hidden;
  942. z-index: 100;
  943. }
  944. .aside:target {
  945. width: 90%;
  946. }
  947. .flux_header .item.website {
  948. width: 40px;
  949. }
  950. .flux:not(.current):hover .item.title {
  951. position: relative;
  952. width: auto;
  953. white-space: nowrap;
  954. }
  955. .notification {
  956. top: 0;
  957. left: 0;
  958. right: 0;
  959. }
  960. #nav_entries {
  961. width: 100%;
  962. }
  963. #panel {
  964. top: 25px; bottom: 30px;
  965. left: 0; right: 0;
  966. }
  967. #panel .close {
  968. top: 0; right: 0;
  969. left: auto; bottom: auto;
  970. display: inline-block;
  971. width: 30px;
  972. height: 30px;
  973. }
  974. }
  975. /*=== PRINTER */
  976. /*============*/
  977. @media print {
  978. .header, .aside,
  979. .nav_menu, .day,
  980. .flux_header,
  981. .flux_content .bottom,
  982. .pagination,
  983. #nav_entries {
  984. display: none;
  985. }
  986. html, body {
  987. background: #fff;
  988. color: #000;
  989. font-family: Serif;
  990. }
  991. #global,
  992. .flux_content {
  993. display: block !important;
  994. }
  995. .flux_content .content {
  996. width: 100% !important;
  997. }
  998. .flux_content .content a {
  999. color: #000;
  1000. }
  1001. .flux_content .content a::after {
  1002. content: " [" attr(href) "] ";
  1003. font-style: italic;
  1004. }
  1005. }