style.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. html,body{
  2. width: 100%;
  3. height: 100%;
  4. overflow: hidden;
  5. padding: 0;
  6. margin: 0;
  7. }
  8. h1,h2,h3,h4,p{
  9. margin: 0;
  10. }
  11. p{
  12. padding-top: 16px;
  13. padding-bottom: 16px;
  14. padding-left: 5px;
  15. padding-right: 5px;
  16. }
  17. div#topbar{
  18. width: 100%;
  19. height: 35px;
  20. border-color: black;
  21. border-style: solid;
  22. border-width: 1px;
  23. background-color: black;
  24. color: white;
  25. overflow: hidden;
  26. }
  27. div#topbar div{
  28. height: 100%;
  29. }
  30. div#topbar a{
  31. color: white;
  32. text-decoration: none;
  33. text-transform: capitalize;
  34. text-align: center;
  35. vertical-align: middle;
  36. height: 100%;
  37. display: inline-block;
  38. border-color: white;
  39. border-style: solid;
  40. border-width: 0;
  41. border-right-width: 1px;
  42. border-left-width: 1px;
  43. margin-left: -1px;
  44. float: left;
  45. font-size: 20px;
  46. line-height: 35px;
  47. padding-left: 2px;
  48. padding-right: 2px;
  49. }
  50. div#topbar a:hover{
  51. background-color: white;
  52. color: black;
  53. border-bottom-color: black;
  54. }
  55. div#topbar a:hover + a{
  56. border-left-color: black;
  57. }
  58. div.topbar-right{
  59. float: right;
  60. }
  61. div.topbar-left{
  62. float: left;
  63. }
  64. a.topbar-home{
  65. width: 35px;
  66. background-color: darkred;
  67. }
  68. a.topbar-home:hover{
  69. background-color: gray !important;
  70. }
  71. div#content{
  72. width: 100%;
  73. height: calc(100% - 35px);
  74. overflow: auto;
  75. }
  76. div#loading{
  77. width: 100%;
  78. height: 100%;
  79. position: absolute;
  80. top: 0;
  81. left: 0;
  82. background-color: gray;
  83. background-color: rgba(0,0,0,0.5);
  84. background-image: url('../img/load.gif');
  85. background-repeat: no-repeat;
  86. background-position: center;
  87. }