base.css 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760
  1. /* stylelint-disable block-no-empty */
  2. @charset "UTF-8";
  3. /*=== GENERAL */
  4. /*============*/
  5. html, body {
  6. height: 100%;
  7. color: black;
  8. font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", sans-serif;
  9. }
  10. /*=== Links */
  11. a, button.as-link {
  12. color: blue;
  13. outline: none;
  14. }
  15. /*=== Forms */
  16. legend {
  17. margin: 20px 0 5px;
  18. padding: 5px 0;
  19. font-size: 1.4em;
  20. }
  21. label {
  22. min-height: 25px;
  23. padding: 5px 0;
  24. cursor: pointer;
  25. }
  26. option {
  27. padding: 0 .5em;
  28. }
  29. input:focus, select:focus, textarea:focus {
  30. }
  31. input:invalid, select:invalid {
  32. }
  33. input:disabled, select:disabled {
  34. }
  35. /*=== Tables */
  36. table {
  37. border-collapse: collapse;
  38. }
  39. th, td {
  40. }
  41. th {
  42. }
  43. .config-articleicons td,
  44. .config-articleicons th {
  45. font-weight: normal;
  46. text-align: center;
  47. }
  48. /*=== COMPONENTS */
  49. /*===============*/
  50. /*=== Forms */
  51. .form-group.form-actions {
  52. padding: 5px 0;
  53. }
  54. .form-group.form-actions .btn {
  55. margin: 0 10px;
  56. }
  57. .form-group .group-name {
  58. padding: 10px 0;
  59. text-align: right;
  60. }
  61. .form-group .group-controls {
  62. min-height: 25px;
  63. padding: 5px 0;
  64. }
  65. /*=== Buttons */
  66. .stick input,
  67. .stick .btn {
  68. }
  69. .stick .btn:first-child,
  70. .stick input:first-child {
  71. }
  72. .stick .btn-important:first-child {
  73. }
  74. .stick .btn:last-child,
  75. .stick input:last-child {
  76. }
  77. .stick .btn + .btn,
  78. .stick .btn + input,
  79. .stick .btn + .dropdown > .btn,
  80. .stick input + .btn,
  81. .stick input + input,
  82. .stick input + .dropdown > .btn,
  83. .stick .dropdown + .btn,
  84. .stick .dropdown + input,
  85. .stick .dropdown + .dropdown > .btn {
  86. }
  87. .stick input + .btn {
  88. }
  89. .stick .btn + .dropdown > .btn {
  90. }
  91. .btn {
  92. margin: 0;
  93. padding: 0.25rem 0.5rem;
  94. min-height: 25px;
  95. min-width: 15px;
  96. font-size: 0.9rem;
  97. line-height: 1.7;
  98. vertical-align: middle;
  99. }
  100. .btn:hover {
  101. text-decoration: none;
  102. }
  103. .btn.active,
  104. .btn:active,
  105. .dropdown-target:target ~ .btn.dropdown-toggle {
  106. }
  107. .btn-important {
  108. font-weight: normal;
  109. }
  110. .btn-important:hover {
  111. }
  112. .btn-important:active {
  113. }
  114. .btn-attention {
  115. }
  116. .btn-attention:hover {
  117. }
  118. .btn-attention:active {
  119. }
  120. /*=== Navigation */
  121. .nav-list .nav-header,
  122. .nav-list .item {
  123. line-height: 2.5;
  124. font-size: 0.9rem;
  125. }
  126. .nav-list .item:hover {
  127. }
  128. .nav-list .item:hover a,
  129. .nav-list .item:hover .as-link {
  130. }
  131. .nav-list .item.active {
  132. }
  133. .nav-list .item.active a,
  134. .nav-list .item.active .as-link {
  135. }
  136. .nav-list .item > a,
  137. .nav-list .item > .as-link {
  138. padding: 0 10px;
  139. }
  140. .nav-list a:hover {
  141. text-decoration: none;
  142. }
  143. .nav-list .nav-header {
  144. padding: 0 10px;
  145. font-weight: bold;
  146. }
  147. .nav-list .nav-form {
  148. padding: 3px;
  149. text-align: center;
  150. }
  151. /*=== Dropdown */
  152. .dropdown-menu {
  153. margin: 5px 0 0;
  154. padding: 5px 0;
  155. font-size: 0.8rem;
  156. text-align: left;
  157. }
  158. .dropdown-menu::after {
  159. position: absolute;
  160. top: -6px;
  161. right: 13px;
  162. width: 10px;
  163. height: 10px;
  164. z-index: -10;
  165. transform: rotate(45deg);
  166. }
  167. .dropdown-header {
  168. padding: 0 5px 5px;
  169. font-weight: bold;
  170. text-align: left;
  171. }
  172. .dropdown-menu > .item {
  173. }
  174. .dropdown-menu > .item > a,
  175. .dropdown-menu > .item > span,
  176. .dropdown-menu > .item > .as-link {
  177. padding: 0 22px;
  178. line-height: 2.5;
  179. }
  180. .dropdown-menu > .item:hover {
  181. }
  182. .dropdown-menu > .item[aria-checked="true"] > a::before {
  183. font-weight: bold;
  184. margin: 0 0 0 -14px;
  185. }
  186. .dropdown-menu > .item:hover > a {
  187. text-decoration: none;
  188. }
  189. .dropdown-menu .input select,
  190. .dropdown-menu .input input {
  191. margin: 0 auto 5px;
  192. padding: 2px 5px;
  193. }
  194. /*=== Alerts */
  195. .alert {
  196. font-size: 0.9em;
  197. }
  198. .alert-head {
  199. font-size: 1.15em;
  200. }
  201. .alert > a {
  202. text-decoration: underline;
  203. }
  204. .alert-warn {
  205. }
  206. .alert-success {
  207. }
  208. .alert-error {
  209. }
  210. /*=== Pagination */
  211. .pagination {
  212. text-align: center;
  213. font-size: 0.8em;
  214. }
  215. .content .pagination {
  216. margin: 0;
  217. padding: 0;
  218. }
  219. .pagination .item.pager-current {
  220. font-weight: bold;
  221. font-size: 1.5em;
  222. }
  223. .pagination .item a {
  224. display: block;
  225. font-style: italic;
  226. line-height: 3;
  227. text-decoration: none;
  228. }
  229. .pagination .item a:hover {
  230. }
  231. .pagination:first-child .item {
  232. }
  233. .pagination:last-child .item {
  234. }
  235. #load_more.loading,
  236. #load_more.loading:hover {
  237. font-size: 0;
  238. }
  239. /*=== Boxes */
  240. .box {
  241. }
  242. .box .box-title {
  243. }
  244. .box .box-content {
  245. }
  246. .box .box-content .item {
  247. }
  248. /*=== Tree */
  249. .tree {
  250. margin: 10px 0;
  251. }
  252. .tree-folder-title {
  253. position: relative;
  254. padding: 0 10px;
  255. line-height: 2.5;
  256. font-size: 1rem;
  257. }
  258. .tree-folder-title .title {
  259. background: inherit;
  260. }
  261. .tree-folder-title .title:hover {
  262. text-decoration: none;
  263. }
  264. .tree-folder.active .tree-folder-title {
  265. font-weight: bold;
  266. }
  267. .tree-folder.active .tree-folder-title .title {
  268. }
  269. .tree-folder-items {
  270. }
  271. .tree-folder-items > .item {
  272. font-size: 0.8rem;
  273. }
  274. .tree-folder-items > .item.active {
  275. }
  276. .tree-folder-items > .item > a {
  277. text-decoration: none;
  278. }
  279. .tree-folder-items > .item.active > a {
  280. }
  281. /*=== STRUCTURE */
  282. /*===============*/
  283. /*=== Header */
  284. .header {
  285. height: 85px;
  286. }
  287. .header > .item {
  288. vertical-align: middle;
  289. text-align: center;
  290. }
  291. .header > .item.title h1 {
  292. margin: 0.5em 0;
  293. }
  294. .header > .item.title h1 a {
  295. text-decoration: none;
  296. }
  297. .header > .item.search input {
  298. width: 350px;
  299. }
  300. /*=== Body */
  301. #global {
  302. height: calc(100% - 85px);
  303. }
  304. .aside {
  305. }
  306. .aside.aside_feed {
  307. padding: 10px 0;
  308. text-align: center;
  309. }
  310. .aside.aside_feed .tree {
  311. margin: 10px 0 50px;
  312. }
  313. /*=== Aside main page (categories) */
  314. .aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
  315. position: absolute;
  316. right: 0;
  317. margin: 10px 0;
  318. padding: 0 10px;
  319. font-size: 0.9rem;
  320. line-height: 1.5;
  321. }
  322. /*=== Aside main page (feeds) */
  323. .feed.item.empty.active {
  324. }
  325. .feed.item.error.active {
  326. }
  327. .feed.item.empty,
  328. .feed.item.empty > a {
  329. }
  330. .feed.item.error,
  331. .feed.item.error > a {
  332. }
  333. .feed.item.empty.active,
  334. .feed.item.error.active,
  335. .feed.item.empty.active > a,
  336. .feed.item.error.active > a {
  337. }
  338. .aside_feed .tree-folder-items .dropdown-menu::after {
  339. left: 2px;
  340. }
  341. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  342. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  343. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  344. border-radius: 3px;
  345. }
  346. /*=== Prompt (centered) */
  347. .prompt {
  348. text-align: center;
  349. }
  350. .prompt label {
  351. text-align: left;
  352. }
  353. .prompt form {
  354. margin: 10px auto 20px auto;
  355. width: 180px;
  356. }
  357. .prompt input {
  358. width: 100%;
  359. }
  360. .prompt p {
  361. margin: 20px 0;
  362. }
  363. /*=== New article notification */
  364. #new-article {
  365. text-align: center;
  366. font-size: 0.9em;
  367. }
  368. #new-article > a {
  369. padding: 0.75rem;
  370. font-weight: bold;
  371. }
  372. #new-article > a:hover {
  373. text-decoration: none;
  374. }
  375. /*=== Transition indication, e.g. day */
  376. .transition {
  377. padding: 0 10px;
  378. font-weight: bold;
  379. line-height: 3;
  380. }
  381. .transition span {
  382. line-height: 1.5;
  383. }
  384. #new-article + .transition {
  385. }
  386. .transition .name {
  387. padding: 0 10px 0 0;
  388. font-size: 1.8em;
  389. opacity: 0.3;
  390. font-style: italic;
  391. text-align: right;
  392. }
  393. /*=== Index menu */
  394. .nav_menu {
  395. text-align: center;
  396. padding: 5px 0;
  397. }
  398. /*=== Feed articles */
  399. .flux {
  400. }
  401. .flux:hover {
  402. }
  403. .flux.current {
  404. }
  405. .flux.not_read {
  406. }
  407. .flux.not_read:not(.current):hover .item.title {
  408. }
  409. .flux.favorite {
  410. }
  411. .flux.favorite:not(.current):hover .item.title {
  412. }
  413. .flux_header {
  414. font-size: 0.8rem;
  415. cursor: pointer;
  416. }
  417. .flux_header .title {
  418. font-size: 0.9rem;
  419. }
  420. .flux .website .favicon {
  421. padding: 5px;
  422. }
  423. .flux:not(.current):hover .item.title {
  424. }
  425. .flux .bottom {
  426. font-size: 0.8rem;
  427. text-align: center;
  428. }
  429. /*=== Content of feed articles */
  430. .content {
  431. padding: 20px 10px;
  432. }
  433. .content > h1.title > a {
  434. }
  435. .content hr {
  436. margin: 30px 10px;
  437. height: 1px;
  438. }
  439. .content pre {
  440. }
  441. .content code {
  442. }
  443. .content pre code {
  444. }
  445. .content blockquote {
  446. margin: 0;
  447. padding: 5px 20px;
  448. display: block;
  449. }
  450. .content blockquote p {
  451. margin: 0;
  452. }
  453. /*=== Notification and actualize notification */
  454. .notification {
  455. }
  456. .notification.good {
  457. }
  458. .notification.bad {
  459. }
  460. .notification.good .close:hover {
  461. }
  462. .notification.bad .close:hover {
  463. }
  464. /*=== "Load more" part */
  465. #bigMarkAsRead.big {
  466. text-align: center;
  467. text-decoration: none;
  468. }
  469. #bigMarkAsRead:hover {
  470. }
  471. #bigMarkAsRead:hover .bigTick {
  472. }
  473. /*=== Navigation menu (for articles) */
  474. #nav_entries {
  475. }
  476. /*=== READER VIEW */
  477. /*================*/
  478. #stream.reader .flux {
  479. background-color: #f0f0f0;
  480. color: #333;
  481. }
  482. #stream.reader .flux .flux_content {
  483. background-color: #fff;
  484. border-color: #ddd;
  485. }
  486. /*=== GLOBAL VIEW */
  487. /*================*/
  488. .box.category .box-title .title {
  489. font-weight: normal;
  490. text-decoration: none;
  491. text-align: left;
  492. }
  493. .box.category:not([data-unread="0"]) .box-title {
  494. }
  495. .box.category:not([data-unread="0"]) .box-title:active {
  496. }
  497. .box.category:not([data-unread="0"]) .box-title .title {
  498. font-weight: bold;
  499. }
  500. .box.category .title:not([data-unread="0"])::after {
  501. background: none;
  502. border: 0;
  503. position: absolute;
  504. top: 5px; right: 10px;
  505. font-weight: bold;
  506. box-shadow: none;
  507. text-shadow: none;
  508. }
  509. /*=== DIVERS */
  510. /*===========*/
  511. .aside.aside_feed .nav-form input,
  512. .aside.aside_feed .nav-form select {
  513. width: 140px;
  514. }
  515. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  516. right: -20px;
  517. }
  518. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  519. right: 33px;
  520. }
  521. /*=== STATISTICS */
  522. /*===============*/
  523. .stat {
  524. margin: 10px 0 20px;
  525. }
  526. .stat th,
  527. .stat td,
  528. .stat tr {
  529. }
  530. .stat > table td,
  531. .stat > table th {
  532. text-align: center;
  533. }
  534. /*=== MOBILE */
  535. /*===========*/
  536. @media (max-width: 840px) {
  537. .aside {
  538. transition: width 200ms linear;
  539. }
  540. .aside .toggle_aside,
  541. #overlay .close,
  542. .dropdown-menu .toggle_aside,
  543. #slider .toggle_aside {
  544. background: #fff;
  545. border-bottom-color: #ddd;
  546. }
  547. .aside .toggle_aside:hover,
  548. #overlay .close:hover,
  549. .dropdown-menu .toggle_aside:hover,
  550. #slider .toggle_aside:hover {
  551. background-color: #ddd;
  552. }
  553. .aside.aside_feed {
  554. padding: 0;
  555. }
  556. .nav_menu .btn {
  557. margin: 5px 10px;
  558. }
  559. .nav_menu .stick {
  560. margin: 0 10px;
  561. }
  562. .nav_menu .stick .btn {
  563. margin: 5px 0;
  564. }
  565. .nav_menu .search {
  566. display: inline-block;
  567. max-width: 97%;
  568. }
  569. .nav_menu .search input {
  570. max-width: 97%;
  571. width: 90px;
  572. }
  573. .nav_menu .search input:focus {
  574. width: 400px;
  575. }
  576. .transition .name {
  577. font-size: 1.1rem;
  578. }
  579. .pagination {
  580. margin: 0 0 3.5em;
  581. }
  582. .notification .close {
  583. display: block;
  584. left: 0;
  585. }
  586. .notification .close:hover {
  587. opacity: 0.5;
  588. }
  589. .notification .close .icon {
  590. display: none;
  591. }
  592. }