origine-compact.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. @charset "UTF-8";
  2. /*=== GENERAL */
  3. /*============*/
  4. :root {
  5. --frss-padding-top-bottom: 0.125rem;
  6. }
  7. /*=== COMPONENTS */
  8. /*===============*/
  9. /*=== Forms */
  10. .form-group.form-actions .btn {
  11. margin: 0 10px;
  12. }
  13. .form-group .group-controls {
  14. min-height: 25px;
  15. padding: 8px 0;
  16. }
  17. /*=== Buttons */
  18. .btn {
  19. margin: 0;
  20. padding: 0.25rem 0.5rem;
  21. min-height: 20px;
  22. line-height: 1.4;
  23. }
  24. /*=== Navigation */
  25. /*=== Horizontal-list */
  26. .horizontal-list {
  27. font-size: 0.9rem;
  28. }
  29. /*=== Dropdown */
  30. /*=== Alerts */
  31. /*=== Pagination */
  32. /*=== Boxes */
  33. /*=== Tree */
  34. /*=== STRUCTURE */
  35. /*===============*/
  36. /*=== Header */
  37. .header {
  38. /* search bar and config button height = 2.1rem */
  39. height: calc(2.1rem + 2 * var(--frss-padding-top-bottom));
  40. }
  41. .header > .item.title a {
  42. padding: 0 1rem;
  43. }
  44. .header > .item.title .logo {
  45. /* logo is smaller than needed */
  46. height: 1.5rem;
  47. }
  48. /*=== Body */
  49. #global {
  50. height: calc(100vh - (calc(2.1rem + 2 * var(--frss-padding-top-bottom))))
  51. }
  52. /*=== Aside main page (categories) */
  53. .aside.aside_feed .category .title:not([data-unread="0"])::after,
  54. .global .box.category .title:not([data-unread="0"])::after {
  55. font-size: 0.8rem;
  56. }
  57. #stream.global .feed .item-title:not([data-unread="0"])::after {
  58. margin-top: 0.125rem;
  59. }
  60. .aside.aside_feed .feed .item-title:not([data-unread="0"])::after {
  61. font-size: 0.7rem;
  62. }
  63. /*=== Transition indication, e.g. day */
  64. .transition {
  65. font-size: 0.9rem;
  66. line-height: 2;
  67. }
  68. .transition .name {
  69. font-size: 1em;
  70. opacity: 0.6;
  71. }
  72. /*=== Index menu */
  73. /*=== Feed articles */
  74. .flux .item.thumbnail {
  75. padding: 5px;
  76. height: 50px;
  77. }
  78. .flux .item.thumbnail.small {
  79. height: 30px;
  80. }
  81. .flux .item.thumbnail.portrait {
  82. width: 38px;
  83. }
  84. .flux .item.thumbnail.square {
  85. width: 50px;
  86. }
  87. .flux .item.thumbnail.landscape {
  88. width: 80px;
  89. }
  90. .flux .item.thumbnail.portrait.small {
  91. width: 20px;
  92. }
  93. .flux .item.thumbnail.square.small {
  94. width: 30px;
  95. }
  96. .flux .item.thumbnail.landscape.small {
  97. width: 40px;
  98. }
  99. .flux .item.title .summary {
  100. max-height: 1.5em;
  101. }
  102. .flux .flux_header .item .item-element {
  103. padding: 0.25rem 0;
  104. }
  105. /*=== Content of feed articles */
  106. /*=== Notification and actualize notification */
  107. .notification {
  108. padding: 0.5rem 3rem 0.5rem 0.5rem;
  109. }
  110. /*=== "Load more" part */
  111. #bigMarkAsRead.big {
  112. font-size: 1.2em;
  113. }
  114. #bigMarkAsRead .bigTick {
  115. font-size: 3em;
  116. }
  117. /*=== Navigation menu (for articles) */
  118. /*=== READER VIEW */
  119. /*================*/
  120. /*=== GLOBAL VIEW */
  121. /*================*/
  122. /*=== DIVERS */
  123. /*===========*/
  124. /*=== STATISTICS */
  125. /*===============*/
  126. /*=== MOBILE */
  127. /*===========*/
  128. @media (max-width: 840px) {
  129. .nav_menu .search input {
  130. padding: 1px 5px;
  131. }
  132. .dropdown-target:target ~ .dropdown-toggle:not(.btn) ~ .dropdown-menu {
  133. margin-top: 5px;
  134. }
  135. .post {
  136. padding-left: 1rem;
  137. padding-right: 1rem;
  138. }
  139. }