Hafixie93

Percutian

Dec 10th, 2020
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 5 1.52 KB | None | 0 0
  1. .news-item {
  2.     border: 10px solid var(--color-body-background, #eee);
  3.     border-bottom: none;
  4.     display: flex;
  5.     background-color: var(--color-card-background, white);
  6. }
  7.  
  8. .news-item img {
  9.     width: 100%;
  10.     object-fit: cover;
  11.     height: 100%;
  12.     float: none;
  13. }
  14.  
  15. #review-body .news-item a {
  16.     font: 200 23px/130% Google-Oswald,Arial Narrow,Arial,sans-serif;
  17.     line-height: 1;
  18.     text-decoration: none;
  19. }
  20.  
  21. .news-item .n-left,
  22. .news-item .n-right {
  23.     border: 1px solid var(--color-separator-light, #d7d7d7);
  24. }
  25. .news-item .n-left {
  26.     display: inline-block;
  27.     width: 30%;
  28.     border-right: none;
  29. }
  30. .news-item .n-right {
  31.     vertical-align: top;
  32.     border-left: none;
  33.     flex: 1;
  34. }
  35.  
  36. .news-item .n-pic {
  37.     display: inline-block;
  38.     height: 100%;
  39. }
  40.  
  41. #review-body .news-item h2 {
  42.     margin: 10px 0 0 10px;
  43.     padding: 0;
  44. }
  45. #review-body .news-item a {
  46.     color: var(--color-link-text, #333);
  47.     display: inline-block;
  48.     height: 100%;
  49. }
  50.  
  51. @media (orientation: portrait) {
  52.     .news-item {
  53.         border: none;
  54.         margin: 0 -10px;
  55.         padding: 0;
  56.         max-width: unset;
  57.     }
  58.     .news-item .n-left {
  59.         width: 40%;
  60.         border-bottom: none;
  61.     }
  62.     #review-body .news-item .n-left a {
  63.         margin: 10px 0 10px 10px;
  64.         height: calc(100% - 20px);
  65.     }
  66.     .news-item .n-right {
  67.         border-right: none;
  68.         border-bottom: none;
  69.     }
  70.     #review-body .news-item a {
  71.         font-size: 16px;
  72.         font-weight: 700;
  73.     }
  74. }
Add Comment
Please, Sign In to add comment