DNA transcription and translation in wasm with rust
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

147 lines
2.4 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. :root {
  2. --primary-bg-color: #568ea3;
  3. --secondary-bg-color: #E96400;
  4. --main-highlight-color: #a40e4c;
  5. }
  6. ::selection {
  7. background: var(--main-highlight-color); /* WebKit/Blink Browsers */
  8. }
  9. ::-moz-selection {
  10. background: var(--main-highlight-color); /* Gecko Browsers */
  11. }
  12. * {
  13. box-sizing: border-box;
  14. }
  15. html {
  16. height: 100%;
  17. }
  18. body {
  19. margin: 0;
  20. font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  21. height: 100%;
  22. background-color: var(--primary-bg-color);
  23. color: white;
  24. }
  25. h1, h2 {
  26. all: initial;
  27. }
  28. h1, h2 {
  29. font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  30. font-size: 23.5px;
  31. color: white;
  32. }
  33. noscript {
  34. text-align: center;
  35. font-size: 2em;
  36. color: orange;
  37. font-style: italic;
  38. font-weight: bold;
  39. }
  40. a {
  41. color: white;
  42. }
  43. a:hover {
  44. color: var(--secondary-bg-color);
  45. }
  46. .input-div-container {
  47. height: 100%;
  48. width: 100%;
  49. margin: 0 auto;
  50. padding: 10px;
  51. position: relative;
  52. text-align: center;
  53. }
  54. .input-div {
  55. height: 50%;
  56. width: 50%;
  57. background-color: var(--secondary-bg-color);
  58. position: absolute;
  59. margin-left: auto;
  60. margin-right: auto;
  61. top: 50%;
  62. left: 50%;
  63. transform: translate(-50%, -50%);
  64. padding: 10px;
  65. }
  66. .input-box {
  67. margin-top: 1em;
  68. padding: 0.5em;
  69. font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  70. }
  71. .input-submit {
  72. margin-top: 1em;
  73. padding: 0.5em;
  74. font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  75. }
  76. #footer {
  77. text-align: center;
  78. margin-top: 1em;
  79. }
  80. .codons-div-container {
  81. height: 100%;
  82. width: 100%;
  83. margin: 0 auto;
  84. padding: 10px;
  85. position: relative;
  86. text-align: center;
  87. }
  88. .codons-container {
  89. margin-top: 3em;
  90. width: 85%;
  91. height: auto;
  92. background-color: var(--secondary-bg-color);
  93. margin-left: auto;
  94. margin-right: auto;
  95. padding: 10px;
  96. }
  97. #codons {
  98. line-height: 1em;
  99. font-size: 1.2em;
  100. }
  101. #codons h2 {
  102. font-size: 2rem;
  103. }
  104. .main-heading {
  105. text-align: center;
  106. margin: 1em;
  107. }
  108. .main-heading h1 {
  109. font-size: 2em;
  110. }
  111. @media only screen and (max-width: 800px) {
  112. .input-div {
  113. width: 100%;
  114. top: 25%;
  115. }
  116. .input-box, .input-submit {
  117. padding: 1em;
  118. }
  119. .codons-container {
  120. width: 100%;
  121. }
  122. }