style.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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. border-color: black;
  20. border-style: solid;
  21. border-width: 1px;
  22. background-color: black;
  23. color: white;
  24. overflow: hidden;
  25. }
  26. div.topbar-left{
  27. height: 100%;
  28. }
  29. div#topbar a{
  30. color: white;
  31. text-decoration: none;
  32. text-transform: capitalize;
  33. text-align: center;
  34. vertical-align: middle;
  35. height: 35px;
  36. border-color: white;
  37. border-style: solid;
  38. border-width: 0;
  39. border-right-width: 1px;
  40. border-left-width: 1px;
  41. margin-left: -1px;
  42. float: left;
  43. font-size: 20px;
  44. line-height: 35px;
  45. padding-left: 2px;
  46. padding-right: 2px;
  47. min-width: 35px;
  48. overflow: hidden;
  49. cursor: pointer;
  50. }
  51. div#topbar a:hover{
  52. background-color: white;
  53. color: black;
  54. border-bottom-color: black;
  55. }
  56. div.topbar-right{
  57. float: right;
  58. }
  59. div.topbar-left{
  60. float: left;
  61. }
  62. a.topbar-home{
  63. width: 35px;
  64. background-color: darkred;
  65. }
  66. a.topbar-home:hover{
  67. background-color: gray !important;
  68. }
  69. div#content{
  70. width: 100%;
  71. height: calc(100% - 35px);
  72. -webkit-overflow-scrolling: touch;
  73. }
  74. div#loading{
  75. width: 100%;
  76. height: 100%;
  77. position: absolute;
  78. top: 0;
  79. left: 0;
  80. background-color: gray;
  81. background-color: rgba(0,0,0,0.5);
  82. background-image: url('../img/load.gif');
  83. background-repeat: no-repeat;
  84. background-position: center;
  85. }
  86. @media screen and (max-width: 767px){
  87. a.topbar-home span{
  88. display: none;
  89. }
  90. a.topbar-home:after{
  91. content: "\2261";
  92. /*use \8943 elsewhere for options dropdown*/
  93. }
  94. div.topbar-right{
  95. display: none;
  96. }
  97. div.topbar-left{
  98. width: 100%;
  99. }
  100. div.topbar-right a{
  101. clear: both;
  102. float: right !important;
  103. width: 100%;
  104. border-left-style: none !important;
  105. }
  106. a.topbar-current{
  107. float: right !important;
  108. }
  109. a.topbar-back,a.topbar-history,a.topbar-index{
  110. width: 35px !important;
  111. position: absolute;
  112. top: 0;
  113. }
  114. a.topbar-back{
  115. background-color: darkred;
  116. left: 0;
  117. }
  118. a.topbar-back:hover{
  119. background-color: gray !important;
  120. }
  121. a.topbar-history{
  122. left: 37px;
  123. }
  124. a.topbar-index{
  125. left: 74px;
  126. }
  127. div#topbar{
  128. min-height: 35px;
  129. }
  130. div.topbar-right{
  131. min-height: 35px;
  132. width: 100%;
  133. padding-top: 35px;
  134. }
  135. }
  136. @media screen and (min-width: 768px){
  137. div#topbar{
  138. height: 35px;
  139. }
  140. div#topbar a:hover + a{
  141. border-left-color: black;
  142. }
  143. a.topbar-back{
  144. display: none !important;
  145. }
  146. div.topbar-right{
  147. height: 100%;
  148. }
  149. a.topbar-index{
  150. display: none;
  151. }
  152. }
  153. @viewport{
  154. zoom: 1.0;
  155. width: device-width;
  156. }
  157. @viewport{
  158. zoom: 1.0;
  159. width: extend-to-zoom;
  160. }
  161. @-ms-viewport{
  162. width: extend-to-zoom;
  163. zoom: 1.0;
  164. }