hud.html 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <style type="text/css">
  2. #screen-container {
  3. color: rgb(204, 204, 204);
  4. width: 100%;
  5. height: 100%;
  6. display: flex;
  7. justify-content: space-around;
  8. flex-wrap: wrap;
  9. /* grid-gap: 8px;
  10. grid-template-areas:
  11. 'topleft topleft header header header header header header topright topright'
  12. 'topleft topleft main main main main main main topright topright'
  13. 'leftside leftside main main main main main main rightside rightside'
  14. 'leftside leftside main main main main main main rightside rightside'
  15. 'leftside leftside main main main main main main rightside rightside'
  16. 'leftside leftside main main main main main main rightside rightside'
  17. 'bottomleft bottomleft main main main main main main bottomright bottomright'
  18. 'bottomleft bottomleft footer footer footer footer footer footer bottomright bottomright'; */
  19. font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  20. }
  21. .header-info {
  22. text-align: center;
  23. /* border: 1px solid crimson; */
  24. }
  25. .ui-section {
  26. text-align: left;
  27. /* margin: 8px; */
  28. display: flex;
  29. justify-content: space-evenly;
  30. /* border: 1px solid crimson; */
  31. }
  32. #header { flex-basis: 40%; min-height: 20%;}
  33. #top-left {flex-basis: 25%;}
  34. #main { flex-basis: 40%; min-height: 50%; }
  35. #top-right {flex-basis: 25%;}
  36. #bottom-left { flex-basis: 25%;}
  37. #bottom-right {flex-basis: 25%;}
  38. #footer {flex-basis: 40%; min-height: 20%;}
  39. #left-side { flex-basis: 25%; min-height: 50%; }
  40. #right-side { flex-basis: 25%; min-height: 50%; }
  41. </style>
  42. <div id="screen-container">
  43. <div id="top-left" class="ui-section"></div>
  44. <div id="header" class="ui-section"></div>
  45. <div id="top-right" class="ui-section"></div>
  46. <div id="left-side" class="ui-section"></div>
  47. <div id="main" class="ui-section"></div>
  48. <div id="right-side" class="ui-section"></div>
  49. <div id="bottom-left" class="ui-section"></div>
  50. <div id="footer" class="ui-section"></div>
  51. <div id="bottom-right" class="ui-section"></div>
  52. </div>