Station.Vue 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <template>
  2. <div class="app">
  3. <component-header></component-header>
  4. <div class="body">
  5. <div class="row">
  6. <div class="col-md-8 push-md-2 col-sm-10 push-sm-1 col-xs-12">
  7. <div id="player"></div>
  8. </div>
  9. <div class="col-md-8 push-md-2 col-sm-10 push-sm-1 col-xs-12">
  10. <div class="row">
  11. <div class="col-md-8 col-sm-12 col-sm-12">
  12. </div>
  13. <img alt="Not loading" class="img-responsive col-md-4 col-xs-12 col-sm-12" onerror="this.src='/notes.png'" id="song-image" style="margin-top: 10px !important" src="https://i.scdn.co/image/32031982517529900c02654c460dc9ac6c47c598" />
  14. </div>
  15. </div>
  16. </div>
  17. </div>
  18. </div>
  19. </template>
  20. <script>
  21. import ComponentHeader from './MusareHeader.vue'
  22. import ComponentBody from './MusareBody.vue'
  23. import ComponentFooter from './MusareFooter.vue'
  24. export default {
  25. data() {
  26. return {}
  27. },
  28. components: { ComponentHeader }
  29. }
  30. </script>
  31. <style lang="sass">
  32. * { box-sizing: border-box; font-family: Roboto, sans-serif; }
  33. html {
  34. width: 100%;
  35. height: 100%;
  36. body {
  37. width: 100%;
  38. height: 100%;
  39. margin: 0;
  40. padding: 0;
  41. }
  42. }
  43. .body {
  44. /*width: 100%;
  45. line-height: 256px;
  46. text-align: center;*/
  47. background-color: green;
  48. flex: 1 0 auto;
  49. padding-top: 4.5vw;
  50. transition: all 0.1s;
  51. margin: 0 auto;
  52. max-width: 1280px;
  53. width: 90%;
  54. }
  55. @media only screen and (min-width: 993px) {
  56. .body {
  57. width: 70%;
  58. }
  59. }
  60. @media only screen and (min-width: 601px) {
  61. .body {
  62. width: 85%;
  63. }
  64. }
  65. </style>