home.css 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. [home] h3 {
  2. color: #888;
  3. font-size: 0.18rem;
  4. font-weight: bold;
  5. }
  6. [home] .home-grid {
  7. padding: 0.15rem;
  8. width: 100%;
  9. height: 100%;
  10. display: grid;
  11. grid-gap: 0.2rem;
  12. grid-template-columns: 1fr 1fr 1fr;
  13. grid-template-rows: 1fr 1fr 2fr;
  14. }
  15. [home] .home-grid .home-grid-item {
  16. background: #fff;
  17. }
  18. [home] .home-grid .home-grid-item .plg-flex {
  19. height: 100%;
  20. align-items: center;
  21. justify-content: space-between;
  22. }
  23. [home] .home-grid .home-grid-item-wrap {
  24. width: 50%;
  25. display: inline-block;
  26. }
  27. [home] .home-grid .home-grid-item-wrap .title {
  28. flex: 0 0 0;
  29. padding: 0 0 20px 0;
  30. }
  31. [home] .home-grid .home-grid-item-wrap .value {
  32. font-size: 0.38rem;
  33. font-weight: bold;
  34. }
  35. [home] .home-grid .user-map {
  36. grid-column: 3 / 4;
  37. grid-row: 1 / 3;
  38. }
  39. [home] .home-grid .port-map {
  40. grid-column: 1 / 4;
  41. grid-row: 3 / 3;
  42. }
  43. [home] [class^="home-icon-"] {
  44. margin-left: 25%;
  45. display: inline-block;
  46. width: 0.8rem;
  47. height: 0.8rem;
  48. background: no-repeat center center;
  49. background-size: cover;
  50. }
  51. [home] .home-icon-a {
  52. background-image: url(/ops/images/home/ill_registration.png);
  53. }
  54. [home] .home-icon-b {
  55. background-image: url(/ops/images/home/ill_service.png);
  56. }
  57. [home] .home-icon-c {
  58. background-image: url(/ops/images/home/ill_instance.png);
  59. }
  60. [home] .home-icon-d {
  61. background-image: url(/ops/images/home/ill_interface.png);
  62. }
  63. [home] .title {
  64. padding: 0.15rem;
  65. }