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.

118 lines
1.8 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. }
  65. #footer {
  66. text-align: center;
  67. margin-top: 1em;
  68. }
  69. .codons-div-container {
  70. height: 100%;
  71. width: 100%;
  72. margin: 0 auto;
  73. padding: 10px;
  74. position: relative;
  75. text-align: center;
  76. }
  77. .codons-container {
  78. margin-top: 3em;
  79. width: 85%;
  80. height: auto;
  81. background-color: var(--secondary-bg-color);
  82. margin-left: auto;
  83. margin-right: auto;
  84. padding: 10px;
  85. }
  86. #codons {
  87. line-height: 1em;
  88. }
  89. #codons h2 {
  90. font-size: 1.75em;
  91. }
  92. .main-heading {
  93. text-align: center;
  94. margin: 1em;
  95. }
  96. .main-heading h1 {
  97. font-size: 2em;
  98. }