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.

141 lines
2.3 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. .input-box {
  66. margin-top: 1em;
  67. padding: 0.5em;
  68. font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  69. }
  70. .input-submit {
  71. margin-top: 1em;
  72. padding: 0.5em;
  73. font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  74. }
  75. #footer {
  76. text-align: center;
  77. margin-top: 1em;
  78. }
  79. .codons-div-container {
  80. height: 100%;
  81. width: 100%;
  82. margin: 0 auto;
  83. padding: 10px;
  84. position: relative;
  85. text-align: center;
  86. }
  87. .codons-container {
  88. margin-top: 3em;
  89. width: 85%;
  90. height: auto;
  91. background-color: var(--secondary-bg-color);
  92. margin-left: auto;
  93. margin-right: auto;
  94. padding: 10px;
  95. }
  96. #codons {
  97. line-height: 1em;
  98. }
  99. #codons h2 {
  100. font-size: 1.75em;
  101. }
  102. .main-heading {
  103. text-align: center;
  104. margin: 1em;
  105. }
  106. .main-heading h1 {
  107. font-size: 2em;
  108. }
  109. @media only screen and (max-width: 800px) {
  110. .input-div {
  111. width: 100%;
  112. top: 25%;
  113. }
  114. .input-box, .input-submit {
  115. padding: 1em;
  116. }
  117. }