App.vue 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <template>
  2. <div id="app">
  3. <Navbar />
  4. <router-view />
  5. </div>
  6. </template>
  7. <script>
  8. import Navbar from '@/components/Navbar.vue'
  9. export default {
  10. name: 'app',
  11. components: {
  12. Navbar
  13. }
  14. }
  15. </script>
  16. <style>
  17. body {
  18. margin: 0 auto;
  19. padding: 0 1rem;
  20. width: 80%;
  21. max-width: 1024px;
  22. line-height: 1.6;
  23. font-family: sans-serif;
  24. font-size: large;
  25. color: #424242;
  26. }
  27. h1, h2, h3, h4, h5, h6 {
  28. font-size: large;
  29. font-weight: bold;
  30. }
  31. button {
  32. padding: 6px 12px;
  33. border: 1px solid grey;
  34. border-radius: 4px;
  35. font-weight: 700;
  36. text-transform: uppercase;
  37. }
  38. button.danger {
  39. color: #f0ffff;
  40. background-color: #d9533f;
  41. border-color: #d43f2a;
  42. }
  43. button.danger:hover
  44. , button.danger:active
  45. , button.danger:focus {
  46. color: #f0ffff;
  47. background-color: #c9301c;
  48. border-color: #ac2915;
  49. }
  50. button.large {
  51. width: 100%;
  52. }
  53. pre {
  54. max-width: 1024px;
  55. padding: 2px 4px;
  56. background: #000000;
  57. color: #00ff00;
  58. text-align: left;
  59. white-space: pre-wrap;
  60. }
  61. pre.blob {
  62. width: 100%;
  63. height: 100px;
  64. overflow: scroll;
  65. }
  66. div.crypto pre {
  67. overflow-wrap: break-word;
  68. word-break: break-all;
  69. }
  70. </style>