style.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  2. margin: 0;
  3. padding: 0;
  4. border: 0;
  5. outline: 0;
  6. font-size: 100%;
  7. font: inherit;
  8. vertical-align: baseline;
  9. }
  10. /* HTML5 display-role reset for older browsers */
  11. article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  12. display: block;
  13. }
  14. /* Let's go for the actual style */
  15. body {
  16. background-color: #EEEEEE;
  17. font-family: 'Noto Sans';
  18. }
  19. header {
  20. text-shadow:0 5px 6px rgba(150,150,150,0.69);
  21. text-align: center;
  22. color: #1182DB;
  23. }
  24. header > h1 {
  25. font-size: 300%;
  26. }
  27. header > h2 {
  28. margin-left: 1em;
  29. font-size: 120%;
  30. }
  31. header > p.status {
  32. font-weight: bold;
  33. margin: 1em;
  34. color: red;
  35. }
  36. input[type="text"] {
  37. background-color: white;
  38. color: #404552;
  39. border: 0px;
  40. border-bottom: 2px solid #2196F3;
  41. font-size: 1.1em;
  42. margin-left: 8px;
  43. padding-left: 4px;
  44. }
  45. .searchbar {
  46. width: 50%;
  47. margin: auto;
  48. }
  49. .searchbar input[type="text"] {
  50. width: 100%;
  51. margin: auto;
  52. font-size: 1.4em;
  53. text-align: center;
  54. }
  55. .searchbar input[type="text"]::placeholder {
  56. text-align: center;
  57. }
  58. .searchbar input[type="text"]:focus::-webkit-input-placeholder {
  59. opacity: 0;
  60. }
  61. .searchbar input[type="text"]:focus::-moz-placeholder {
  62. opacity: 0;
  63. }
  64. .searchbar input[type="text"]:focus:-moz-placeholder {
  65. opacity: 0;
  66. }
  67. .searchbar input[type="text"]:focus:-ms-input-placeholder {
  68. opacity: 0;
  69. }
  70. .searchbar > h3 {
  71. font-size: 150%;
  72. font-weight: bold;
  73. color: #1182DB;
  74. }
  75. section {
  76. background-color: #FFFFFF;
  77. width: 80%;
  78. margin: 30px auto;
  79. padding: 10px 15px;
  80. text-align: center;
  81. box-shadow: 0px 1px 2px rgba(0,0,0, 0.25);
  82. }
  83. section.footer {
  84. opacity: 0.5;
  85. }
  86. section.footer:hover {
  87. opacity: 1;
  88. }
  89. section > h2 {
  90. font-size: 200%;
  91. font-weight: bold;
  92. }
  93. a, a:link, a:visited {
  94. color: #2196F3;
  95. }
  96. button {
  97. line-height: 1.9em;
  98. color: #FFF;
  99. font-weight: bold;
  100. vertical-align: middle;
  101. padding: 6px 12px;
  102. margin: 12px auto 0px;
  103. box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
  104. border-radius: 2px;
  105. border: 1px solid transparent;
  106. min-width: 140px;
  107. background: #2196F3 none repeat scroll 0% 0%;
  108. cursor: pointer;
  109. width: calc(20% - 4px);
  110. }
  111. button.small {
  112. width: auto;
  113. line-height: 1.2em;
  114. }
  115. .description {
  116. margin: 10px;
  117. text-decoration: underline;
  118. }
  119. h5 {
  120. margin: 20px;
  121. font-weight: bold;
  122. }
  123. form {
  124. margin-bottom: 6px;
  125. }
  126. .maintainer {
  127. font-size: 60%;
  128. text-align: right;
  129. }
  130. .secure-warning {
  131. background-color: #ffc600;
  132. color: #5f5f5f;
  133. box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
  134. border-radius: 2px;
  135. border: 1px solid transparent;
  136. width: 80%;
  137. margin: auto;
  138. margin-bottom: 6px;
  139. }
  140. form {
  141. display: none;
  142. }
  143. h5 {
  144. display: none;
  145. }
  146. .showmore-box {
  147. display: none;
  148. }
  149. .showmore, .showless {
  150. color: #888888;
  151. cursor: pointer;
  152. }
  153. .showmore-box:checked ~ .showmore {
  154. display: none;
  155. }
  156. .showmore-box:not(:checked) ~ .showless {
  157. display: none;
  158. }
  159. .showmore-box:checked ~ form, .showmore-box:checked ~ h5 {
  160. display: block;
  161. }
  162. /* Additional styles for error pages */
  163. .exception-message {
  164. background-color: #c00000;
  165. color: #FFFFFF;
  166. font-weight: bold;
  167. box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
  168. border-radius: 2px;
  169. border: 1px solid transparent;
  170. width: 80%;
  171. margin: auto;
  172. margin-bottom: 6px;
  173. }
  174. .advice {
  175. margin-left: auto;
  176. margin-right: auto;
  177. display: table;
  178. }
  179. .advice > li {
  180. text-align: left;
  181. }