item.scss 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. body{
  2. & >.item{
  3. #body-wrapper.blog-listing{
  4. border-top: 1px solid black;
  5. padding-top: 20px;
  6. .img-card{
  7. width: 49%;
  8. margin-bottom: 20px;
  9. }
  10. .header-item{
  11. position: relative;
  12. .title{
  13. display: inline-flex;
  14. align-items: baseline;
  15. h2{
  16. margin-right: 5px;
  17. }
  18. time{
  19. margin-right: 5px;
  20. }
  21. span{
  22. margin-right: 5px;
  23. }
  24. }
  25. .content{
  26. width: calc(100% / 3);
  27. margin: 20px 0;
  28. }
  29. .prev-next{
  30. width: calc(100% / 3);
  31. padding-left: 20px;
  32. position: absolute;
  33. top: 0;
  34. right: 0;
  35. .btn-info{
  36. position: absolute;
  37. transform: rotate(-15deg);
  38. margin-left: 40px;
  39. margin-top: 20px;
  40. }
  41. img{
  42. float: right;
  43. width: 80%;
  44. }
  45. }
  46. }
  47. }
  48. .top{
  49. text-align: center;
  50. margin: 20px auto 20px auto;
  51. width: 50px;
  52. img{
  53. width: 20px;
  54. margin-bottom:5px;
  55. }
  56. p{
  57. transform: rotate(-10deg);
  58. }
  59. }
  60. }
  61. }