選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

index.css 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. body {
  2. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
  3. 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
  4. sans-serif;
  5. -webkit-font-smoothing: antialiased;
  6. -moz-osx-font-smoothing: grayscale;
  7. }
  8. *{
  9. margin: 0;
  10. padding: 0;
  11. box-sizing: border-box;
  12. }
  13. /* ======================================= root vars */
  14. :root {
  15. --main-bg: linear-gradient(0deg,#00c9ff, #92fe9d);
  16. --main: #00c9ff;
  17. --secondary: #92fe9d;
  18. --medium-font-size: 1.5rem;
  19. --icon-font-size: 2.25rem;
  20. }
  21. /* ======================================= backgrounds */
  22. .bg-main{
  23. background: var(--main-bg) !important;
  24. }
  25. .bg-main-primary{
  26. background: var(--main) !important;
  27. }
  28. .bg-light-transparent{
  29. background: rgba(255,255,255,0.75);
  30. background-size: cover;
  31. background-position: center;
  32. }
  33. /* ======================================= heights & widths */
  34. .h-100-auto-overflow{
  35. height: 100vh !important;
  36. overflow-y: auto !important;
  37. }
  38. /* ======================================= borders */
  39. .border-right{
  40. border-right: 2px solid #ababab;
  41. }
  42. /* ======================================= typography */
  43. .medium-fs{
  44. font-size: var(--medium-font-size);
  45. }
  46. .icon-fs{
  47. font-size: var(--icon-font-size);
  48. }
  49. /* ======================================= buttons */
  50. .btn-main{
  51. background-color: var(--main) !important;
  52. }
  53. .leave-btn{
  54. position: absolute;
  55. right: 3rem;
  56. top: 1.25rem;
  57. }
  58. .button-block{
  59. height: 50px;
  60. width: 50px;
  61. margin-bottom: 20px !important;
  62. }
  63. button.button-block{
  64. margin-top: 10px;
  65. }
  66. .button-block-flex-column{
  67. display: flex;
  68. flex-direction: column;
  69. justify-content: center;
  70. align-items: center;
  71. }
  72. .roomsBtn{
  73. transition: 0.35s;
  74. }
  75. .roomsBtn:hover{
  76. transition: 0.35s;
  77. padding: 0 20px;
  78. transform: scale(1.1);
  79. }
  80. /* ======================================= flex */
  81. .flex-center{
  82. display: flex;
  83. justify-content: center !important;
  84. align-items: center !important;
  85. }
  86. /* ======================================= links */
  87. .home-link{
  88. height: 200px !important;
  89. width: 350px !important;
  90. transition: 0.35s;
  91. }
  92. .home-link:hover{
  93. transform: scale(1.025);
  94. transition: 0.35s;
  95. }
  96. /* ======================================= forms */
  97. .responsive-input{
  98. width: 325px !important;
  99. }
  100. .responsive-input-register{
  101. width: 575px !important;
  102. }
  103. @media screen and (max-width: 800px){
  104. .responsive-input-register{
  105. width: 100% !important;
  106. }
  107. }
  108. input[type=submit]{
  109. font-size: 1.25rem !important;
  110. text-transform: uppercase;
  111. }
  112. .messages{
  113. height: calc(100% - 130px);
  114. background: url('/public/background.jpg');
  115. }
  116. .overlay{
  117. height: 575px;
  118. background-color: rgba(255,255,255,0.9);
  119. overflow-y: scroll;
  120. }
  121. /* ======================================= overrides */
  122. .overflow-auto{
  123. overflow-y: auto !important;
  124. }
  125. /* ======================================= chat */
  126. .message{
  127. max-width: 70%;
  128. }
  129. .notification{
  130. height: 30px;
  131. width: 45px;
  132. display: flex;justify-content: center;align-items: center;
  133. color: white;
  134. background-color: crimson;
  135. border-radius: 50%;
  136. font-size: 0.8rem;
  137. }
  138. .text-main{
  139. color:var(--main) !important;
  140. font-weight: 900;
  141. }
  142. .chatMsg{
  143. font-size: 1.25rem;
  144. }