1
0

common.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. /* make it responsive */
  2. @media(min-width: 852px) {
  3. body {
  4. font-size: 14px;
  5. }
  6. }
  7. @media(max-width: 852px) {
  8. body {
  9. font-size: 12px;
  10. }
  11. }
  12. /* resets */
  13. html, body {
  14. width: 100%;
  15. height: 100%;
  16. }
  17. *::-webkit-scrollbar {
  18. display: none;
  19. }
  20. * {
  21. -ms-overflow-style: none;
  22. scrollbar-width: none;
  23. }
  24. * {
  25. -moz-box-sizing: border-box;
  26. -webkit-box-sizing: border-box;
  27. box-sizing: border-box;
  28. }
  29. /* default */
  30. body {
  31. margin: 0;
  32. background-color: var(--primary-bg-color);
  33. color: var(--foreground-color);
  34. }
  35. h1, h2, h3, h4, h5, h6 {
  36. margin: 0em;
  37. }
  38. hr {
  39. width: 92%;
  40. }
  41. button {
  42. cursor: pointer;
  43. border: none;
  44. background-color: transparent;
  45. }
  46. button:hover {
  47. }
  48. button:active {
  49. }
  50. /* components */
  51. .container {
  52. margin: 0 auto;
  53. padding: 1rem;
  54. }
  55. .centered {
  56. display: flex;
  57. flex-direction: column;
  58. justify-content: center;
  59. align-items: center;
  60. }
  61. .centered-w-only {
  62. position: absolute;
  63. left: 50%;
  64. transform: translateX(-50%);
  65. }
  66. .centered-h-only {
  67. position: absolute;
  68. top: 50%;
  69. transform: translateY(-50%);
  70. }
  71. .card {
  72. padding: 0;
  73. }
  74. .card-header {
  75. padding: 0.5rem 1rem;
  76. }
  77. .card-container {
  78. width: 96vw;
  79. height: 100%;
  80. gap: 1rem;
  81. display: flex;
  82. flex-direction: row;
  83. flex-wrap: wrap;
  84. justify-content: center;
  85. align-items: center;
  86. }
  87. .clean-a {
  88. text-decoration: underline;
  89. text-decoration-color: #006fc1;
  90. text-decoration-thickness: 2px;
  91. color: inherit;
  92. }
  93. .hover-underline {
  94. text-decoration: underline;
  95. text-decoration-color: #228039;
  96. text-decoration-thickness: 2px;
  97. color: inherit;
  98. }
  99. .flex-horizontal {
  100. display: flex;
  101. flex-direction: row;
  102. justify-content: space-between;
  103. align-items: center;
  104. }
  105. .vertical-separator {
  106. padding: 0 0.5rem;
  107. }
  108. [x-cloak] {
  109. display: none !important;
  110. }