Advertisement
UniQuet0p1

Untitled

Oct 29th, 2021
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.31 KB | None | 0 0
  1. * {
  2. box-sizing: border-box;
  3. }
  4.  
  5. html {
  6. height: 100%;
  7. }
  8.  
  9. body {
  10. font-family: Arial, sans-serif;
  11.  
  12. min-width: 480px;
  13. max-width: 640px;
  14. margin: 0 auto;
  15.  
  16. color: #333;
  17. }
  18.  
  19. #root {
  20. display: grid;
  21.  
  22. min-height: 100vh;
  23. padding: 16px;
  24.  
  25. grid-template-rows: 23px auto 23px;
  26. }
  27.  
  28.  
  29. nav,
  30. footer {
  31. border-width: 1px;
  32. border-style: solid;
  33. border-color: #c0e0f0;
  34. border-radius: 4px;
  35. background-color: #cdedf6;
  36. padding: 8px;
  37. height: 35px;
  38. }
  39.  
  40. nav a,
  41. footer a {
  42. text-decoration: none;
  43. color: black;
  44. padding: 0 10px;
  45. border-left: 1px solid black;
  46. }
  47.  
  48. nav a:nth-child(1) {
  49. border: none;
  50. padding-left: 0;
  51. }
  52.  
  53. main {
  54. min-height: 180px;
  55. margin-top: 16px;
  56. margin-bottom: 16px;
  57. }
  58.  
  59. .score {
  60. font-weight: bold;
  61. text-align: center;
  62. }
  63.  
  64. #table {
  65. line-height: 32px;
  66.  
  67. width: 100%;
  68.  
  69. border-collapse: collapse;
  70.  
  71. text-align: left;
  72. }
  73.  
  74. #table tbody tr:first-child td {
  75. padding-top: 22px;
  76. }
  77.  
  78. #table th {
  79. font-weight: bold;
  80. line-height: 16px;
  81.  
  82. border-bottom: 2px solid #000;
  83. }
  84.  
  85. .table td {
  86. padding: 9px 8px 0 8px;
  87. }
  88.  
  89. td.buttons {
  90. text-align: right;
  91. }
  92.  
  93. #messages,
  94. #errors {
  95. line-height: 27px;
  96.  
  97. margin-bottom: 16px;
  98. padding: 4px 8px;
  99.  
  100. border-width: 1px;
  101. border-style: solid;
  102. border-radius: 4px;
  103. }
  104.  
  105. #messages {
  106. color: #155724;
  107. border-color: #c3e6cb;
  108. background-color: #d4edda;
  109. }
  110.  
  111. #errors {
  112. color: #721c24;
  113. border-color: #f5c6cb;
  114. background-color: #f8d7da;
  115. }
  116.  
  117. #authors {
  118. line-height: 32px;
  119.  
  120. display: flex;
  121.  
  122. width: 100%;
  123.  
  124. flex-wrap: wrap;
  125. }
  126.  
  127. #authors div:nth-child(4n + 1) {
  128. flex-basis: 37%;
  129. }
  130.  
  131. #authors div:nth-child(4n + 2) {
  132. flex-basis: 50%;
  133. }
  134.  
  135. #authors div:nth-child(4n + 3) {
  136. flex-basis: 13%;
  137. }
  138.  
  139. #authors div.header-divider {
  140. margin-bottom: 6px;
  141. padding-top: 3px;
  142.  
  143. background-color: #666;
  144. }
  145.  
  146. #input-form {
  147. display: flex;
  148.  
  149. max-width: 448px;
  150. margin: 0 auto;
  151. padding-top: 32px;
  152.  
  153. flex-wrap: wrap;
  154. }
  155.  
  156. #input-form .label {
  157. line-height: 30px;
  158.  
  159. width: 128px;
  160. padding-right: 16px;
  161.  
  162. text-align: right;
  163. }
  164.  
  165. #input-form .input {
  166. line-height: 30px;
  167. }
  168.  
  169. #input-form .button2 {
  170. width: 304px;
  171. padding-top: 32px;
  172. /** same as input */
  173.  
  174. text-align: right;
  175. }
  176.  
  177. .br {
  178. height: 0;
  179.  
  180. flex-basis: 100%;
  181. }
  182.  
  183. input[type='text'],
  184. input[type='password'],
  185. input[type='submit'],
  186. select,
  187. .button {
  188. font-size: 13px;
  189.  
  190. display: inline-block;
  191.  
  192. width: 304px;
  193. margin-top: 3px;
  194. padding: 5px;
  195.  
  196. border: 1px solid #ccc;
  197. border-radius: 4px;
  198. background-color: white;
  199. }
  200.  
  201. input[type='submit'],
  202. .button {
  203. font-size: 16px;
  204.  
  205. width: 96px;
  206.  
  207. cursor: pointer;
  208.  
  209. color: white;
  210. border: none;
  211. background-color: #007bff;
  212. }
  213.  
  214. input[type='submit'].danger,
  215. .button.danger {
  216. background-color: #dc3545;
  217. }
  218.  
  219. input[type='radio'] {
  220. width: unset;
  221. }
  222.  
  223. #login-form {
  224. width: 400px;
  225. margin: 0 auto;
  226. padding-right: 80px;
  227.  
  228. text-align: right;
  229. }
  230.  
  231. #login-form input {
  232. width: 160px;
  233. }
  234.  
  235. #login-form input[type='submit'] {
  236. width: 96px;
  237. }
  238.  
  239. #log-out-link,
  240. #lang-links {
  241. float: right;
  242. }
  243.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement