pleroma-comments.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. /* colors */
  2. /*.pleroma-comment blockquote {
  3. border-left: 3px solid red;
  4. }*/
  5. /*.pleroma-comment .bar {
  6. background-color: green;
  7. }*/
  8. /*.pleroma-comment .card-link {
  9. background-color: blue;
  10. color: white;
  11. }*/
  12. /*.pleroma-comment .card-link:hover {
  13. background-color: orange;
  14. }*/
  15. .pleroma-comment blockquote {
  16. padding-left:1%;
  17. }
  18. .pleroma-comment h3 > a {
  19. text-decoration:none;
  20. }
  21. .pleroma-comment > figure {
  22. display:flex;
  23. align-items:center;
  24. }
  25. .pleroma-comment > figure img {
  26. height:5em;
  27. margin-right: 1em;
  28. }
  29. /* meta information about post */
  30. .pleroma-comment p, .pleroma-comment .chart {
  31. margin-left: 5%;
  32. }
  33. /* usernames can either be figcaption or the first paragraph in the element */
  34. .pleroma-comment + p, .pleroma-comment figcaption {
  35. font-weight:bold;
  36. }
  37. .pleroma-comment p > a, .pleroma-comment figcaption > a {
  38. font-weight:normal;
  39. text-decoration:none;
  40. }
  41. .pleroma-comment .card {
  42. border: 1px solid #ccc;
  43. border-radius: 8px;
  44. overflow: hidden;
  45. margin: 1%;
  46. margin-left:10%;
  47. /* adjust this */
  48. width: 300px;
  49. }
  50. .pleroma-comment .card-title {
  51. font-size: 1.5em;
  52. margin: 3%;
  53. }
  54. .pleroma-comment .card-description {
  55. font-size: 1em;
  56. margin:5%;
  57. }
  58. .pleroma-comment .card-image {
  59. width: 100%;
  60. height: auto;
  61. }
  62. .pleroma-comment .card-link {
  63. display: block;
  64. text-align: center;
  65. padding: 10px;
  66. text-decoration: none;
  67. border-radius: 5px;
  68. margin: 10px;
  69. }
  70. .pleroma-comment .chart {
  71. /* border:1px solid red; */
  72. display: flex;
  73. flex-direction: column;
  74. }
  75. @media only screen and (min-width:768px){
  76. .pleroma-comment .chart {
  77. width: 45%;
  78. }
  79. }
  80. .pleroma-comment .bar-container {
  81. align-items: center;
  82. margin: 1% 0;
  83. }
  84. .pleroma-comment .bar {
  85. padding-top: 0.5em;
  86. padding-bottom:0.5em;
  87. }
  88. .pleroma-comment .bar-text {
  89. ;
  90. }