style.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. @import url(fonts.css);
  2. html,body{
  3. width: 100%;
  4. height: 100%;
  5. overflow: hidden;
  6. padding: 0;
  7. margin: 0;
  8. }
  9. h1,h2,h3,h4,p{
  10. margin: 0;
  11. }
  12. p{
  13. padding-top: 16px;
  14. padding-bottom: 16px;
  15. padding-left: 5px;
  16. padding-right: 5px;
  17. }
  18. div#topbar{
  19. width: 100%;
  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-left{
  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. 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. overflow: hidden;
  48. cursor: pointer;
  49. min-width: 35px;
  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. background-color: darkred;
  64. }
  65. a.topbar-home:hover{
  66. background-color: gray !important;
  67. }
  68. div#content{
  69. width: 100%;
  70. -webkit-overflow-scrolling: touch;
  71. overflow: auto;
  72. }
  73. div#loading{
  74. width: 100%;
  75. height: 100%;
  76. position: absolute;
  77. top: 0;
  78. left: 0;
  79. background-color: gray;
  80. background-color: rgba(0,0,0,0.5);
  81. background-image: url('../img/load.gif');
  82. background-repeat: no-repeat;
  83. background-position: center;
  84. }
  85. @media screen and (max-width: 767px){
  86. div#topbar a{
  87. padding-left: 5px;
  88. padding-right: 5px;
  89. }
  90. a.tabbar-home{
  91. width: 35px;
  92. }
  93. a.topbar-home span{
  94. display: none;
  95. }
  96. a.topbar-home:after{
  97. content: "\2261";
  98. /*use \8943 elsewhere for options dropdown*/
  99. }
  100. div.topbar-right{
  101. display: none;
  102. }
  103. div.topbar-left{
  104. width: 100%;
  105. }
  106. div.topbar-right a{
  107. clear: both;
  108. float: right !important;
  109. width: 100%;
  110. border-left-style: none !important;
  111. }
  112. a.topbar-current{
  113. float: right !important;
  114. }
  115. a.topbar-home{
  116. padding-left: 2px !important;
  117. padding-right: 2px !important;
  118. }
  119. a.topbar-back,a.topbar-history,a.topbar-index{
  120. width: 35px !important;
  121. position: absolute;
  122. top: 0;
  123. padding: 0 !important;
  124. border-bottom: 1px solid white !important;
  125. }
  126. a.topbar-back{
  127. background-color: darkred;
  128. left: 0;
  129. }
  130. a.topbar-back:hover{
  131. background-color: gray !important;
  132. }
  133. a.topbar-history{
  134. left: 36px;
  135. }
  136. a.topbar-index{
  137. left: 72px;
  138. }
  139. div#topbar{
  140. min-height: 35px;
  141. }
  142. div.topbar-right{
  143. min-height: 35px;
  144. width: 100%;
  145. padding-top: 35px;
  146. }
  147. }
  148. @media screen and (min-width: 768px){
  149. div#topbar a{
  150. font-size: 15px;
  151. }
  152. div#topbar a:hover + a{
  153. border-left-color: black;
  154. }
  155. a.topbar-back{
  156. display: none !important;
  157. }
  158. div.topbar-right{
  159. height: 100%;
  160. }
  161. a.topbar-index{
  162. display: none;
  163. }
  164. }
  165. @viewport{
  166. zoom: 1.0;
  167. width: device-width;
  168. }
  169. @viewport{
  170. zoom: 1.0;
  171. width: extend-to-zoom;
  172. }
  173. @-ms-viewport{
  174. width: extend-to-zoom;
  175. zoom: 1.0;
  176. }