index.css 782 字节
Newer Older
H
hu-jixiang1 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
.container {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.title {
  font-size: 40px;
  color: #000000;
  opacity: 0.9;
}

@media screen and (device-type: tablet) and (orientation: landscape) {
  .title {
    font-size: 100px;
  }
}

@media screen and (device-type: wearable) {
  .title {
    font-size: 28px;
    color: #ffffff;
  }
}

@media screen and (device-type: tv) {
  .container {
    background-image: url('/common/images/Wallpaper.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  .title {
    font-size: 100px;
    color: #ffffff;
  }
}

@media screen and (device-type: phone) and (orientation: landscape) {
  .title {
    font-size: 60px;
  }
}