lenta.less 1.8 KB

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