publications.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. .publications-section {
  2. h1 > span{
  3. margin-top: -55px; /* Size of fixed header */
  4. padding-bottom:55px;
  5. display: block;
  6. }
  7. .card {
  8. background: #fff;
  9. border-top: 2px solid #248aaa;
  10. }
  11. .card .card-header {
  12. background: none;
  13. border: none;
  14. display: flex;
  15. flex-direction: column;
  16. }
  17. .card .card-header .sub-title {
  18. color: #8392a5;
  19. margin-top: 0.4rem;
  20. }
  21. .card .sub-title :nth-child(2) {
  22. float: right !important;
  23. }
  24. .card .card-body {
  25. padding: 0;
  26. padding-left: 1rem;
  27. padding-right: 1rem;
  28. }
  29. .card .card-footer {
  30. background: #fff;
  31. border: none;
  32. padding: 0;
  33. padding-left: 1rem;
  34. padding-right: 1rem;
  35. padding-bottom: 0.3rem;
  36. display: flex;
  37. justify-content: space-between;
  38. flex-wrap: wrap;
  39. }
  40. .card .card-footer .tags {
  41. display: flex;
  42. flex-direction: row;
  43. justify-content: flex-start;
  44. align-items: flex-start;
  45. }
  46. .card .card-footer .tags .badge {
  47. cursor: auto;
  48. }
  49. .filtr-publications {
  50. padding: 1rem !important;
  51. }
  52. .btn-group{
  53. justify-content: center;
  54. }
  55. /* ============= Device specific fixes ======= */
  56. /* Large screens such as TV */
  57. @media only screen and (min-width: 1824px) {
  58. }
  59. /* Extra large devices (large desktops, 1200px and up) */
  60. @media (max-width: 1400px) {
  61. }
  62. @media (max-width: 1200px) {
  63. }
  64. /* IPad Pro */
  65. @media (max-width: 1024px) {
  66. padding-left: 0;
  67. padding-right: 0;
  68. width: 100%;
  69. .container {
  70. max-width: 100%;
  71. }
  72. .filtr-publications {
  73. padding: 0;
  74. }
  75. .pub-filtr-item {
  76. padding-left: 0.2rem;
  77. padding-right: 0.2rem;
  78. }
  79. }
  80. /* Large devices (desktops, 992px and up) */
  81. @media (max-width: 992px) {
  82. }
  83. /* Medium devices (tablets, 768px and up) */
  84. @media only screen and (max-width: 768px) {
  85. padding-left: 0;
  86. padding-right: 0;
  87. width: 100%;
  88. .container {
  89. max-width: 100%;
  90. }
  91. .filtr-publications {
  92. padding: 0;
  93. }
  94. .pub-filtr-item {
  95. padding-left: 0.2rem;
  96. padding-right: 0.2rem;
  97. flex: 100%;
  98. }
  99. }
  100. /* Small devices (landscape phones, 576px and up) */
  101. @media only screen and (max-width: 576px) {
  102. .btn {
  103. margin-top: 0.3125rem;
  104. }
  105. .pub-filtr-item {
  106. flex: 100%;
  107. max-width: 100%;
  108. }
  109. .card .card-footer .tags {
  110. flex: 100%;
  111. }
  112. }
  113. /* iPhoneX, iPhone 6,7,8 */
  114. @media only screen and (max-width: 375px) {
  115. }
  116. /* Galaxy S5, Moto G4 */
  117. @media only screen and (max-width: 360px) {
  118. }
  119. /* iPhone 5 or before */
  120. @media only screen and (max-width: 320px) {
  121. }
  122. }