ESPTrainer built with Meteor and React

App.scss 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. @import 'gradient';
  2. #app-container {
  3. display: flex;
  4. min-height: 100vh;
  5. flex-direction: column;
  6. @include linear-gradient(#343b59);
  7. }
  8. main {
  9. flex: 1;
  10. display: flex;
  11. flex-direction: row;
  12. justify-content: center;
  13. align-items: flex-start;
  14. }
  15. header {
  16. display: flex;
  17. flex-direction: row;
  18. height: 64px;
  19. background: #23273c;
  20. color: white;
  21. line-height: 64px;
  22. padding: 0 10px;
  23. h1 {
  24. letter-spacing: 0.1em;
  25. font-size: 1.5em;
  26. }
  27. .flex-space {
  28. flex: 1;
  29. }
  30. .info {
  31. cursor: pointer;
  32. }
  33. }
  34. .left, .right {
  35. flex: 0 0 12em;
  36. margin: 30px;
  37. }
  38. .center {
  39. margin: 30px;
  40. padding: 20px;
  41. display: flex;
  42. min-width: 440px;
  43. align-items: stretch;
  44. flex-direction: column;
  45. background-color: rgba(0,0,0,0.1);
  46. }
  47. @media(min-width: 768px) {
  48. .left, .right {
  49. margin: 30px;
  50. }
  51. main {
  52. flex-direction: row;
  53. justify-content: center;
  54. align-items: flex-start;
  55. }
  56. .center {
  57. margin: 30px;
  58. }
  59. }
  60. footer {
  61. background: #23273c;
  62. text-align: center;
  63. color: white;
  64. padding: 10px;
  65. .credits {
  66. margin-top: 10px;
  67. font-size: 0.8em;
  68. }
  69. }