lenta.less 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. .news-link{
  2. text-decoration: none;
  3. color: #3e3e3e;
  4. outline: none;
  5. transition: .3s cubic-bezier(.645,.045,.355,1);
  6. font: 700 18px/32px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  7. margin-bottom: 10px;
  8. display: block;
  9. }
  10. .lenta{
  11. background: white;
  12. font: 14px/20px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  13. min-height: 100%;
  14. h3{
  15. font: 14px/20px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  16. margin: 0;
  17. display: flex;
  18. .published_at{
  19. transition: .3s;
  20. display: flex;
  21. min-height: 100%;
  22. max-width: 82px;
  23. min-width: 82px;
  24. font: 12px/17px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  25. color: #a8a8a8;
  26. align-items: center;
  27. justify-content: center;
  28. flex-direction: column;
  29. align-content: center;
  30. justify-items: center;
  31. text-align: center;
  32. padding: 0 3px;
  33. .commnets{
  34. display: block;
  35. .icon{
  36. width: 10px;
  37. height: 10px;
  38. fill: #a8a8a8;
  39. margin-right: 5px;
  40. }
  41. }
  42. }
  43. }
  44. .list-wrapper{
  45. &>div{
  46. padding: 12px 2px 12px 10px;
  47. transition: background-color 0.3s;
  48. a{
  49. transition: 0.3s;
  50. flex-grow: 1;
  51. }
  52. &:hover{
  53. .published_at{
  54. color: hsla(0,0%,100%,.5)
  55. }
  56. background: #f6911f;
  57. a{
  58. color: white;
  59. }
  60. }
  61. }
  62. }
  63. .all-news{
  64. display: flex;
  65. padding: 30px;
  66. justify-content: center;
  67. a{
  68. display: block;
  69. padding: 10px 20px;
  70. border-radius: 50px;
  71. background: #f5f5f5;
  72. color: #f6911f;
  73. }
  74. }
  75. }