style.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  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. section {
  37. background-color: #FFFFFF;
  38. width: 80%;
  39. margin: 30px auto;
  40. padding: 10px 15px;
  41. text-align: center;
  42. box-shadow: 0px 1px 2px rgba(0,0,0, 0.25);
  43. }
  44. section:last-of-type {
  45. opacity: 0.5;
  46. }
  47. section:last-of-type:hover {
  48. opacity: 1;
  49. }
  50. section > h2 {
  51. font-size: 200%;
  52. font-weight: bold;
  53. }
  54. a, a:link, a:visited {
  55. color: #2196F3;
  56. }
  57. button {
  58. line-height: 1.9em;
  59. color: #FFF;
  60. font-weight: bold;
  61. vertical-align: middle;
  62. padding: 6px 12px;
  63. margin: 12px auto 0px;
  64. box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
  65. border-radius: 2px;
  66. border: 1px solid transparent;
  67. min-width: 140px;
  68. background: #2196F3 none repeat scroll 0% 0%;
  69. cursor: pointer;
  70. width: calc(20% - 4px);
  71. }
  72. button.small {
  73. width: auto;
  74. line-height: 1.2em;
  75. }
  76. .description {
  77. margin: 10px;
  78. text-decoration: underline;
  79. }
  80. h5 {
  81. margin: 20px;
  82. font-weight: bold;
  83. }
  84. form {
  85. margin-bottom: 6px;
  86. }
  87. .maintainer {
  88. font-size: 60%;
  89. text-align: right;
  90. }
  91. input[type="text"] {
  92. background-color: white;
  93. color: #404552;
  94. border: 0px;
  95. border-bottom: 2px solid #2196F3;
  96. font-size: 1.1em;
  97. margin-left: 8px;
  98. padding-left: 4px;
  99. }
  100. form {
  101. display: none;
  102. }
  103. h5 {
  104. display: none;
  105. }
  106. .showmore-box {
  107. display: none;
  108. }
  109. .showmore, .showless {
  110. color: #888888;
  111. cursor: pointer;
  112. }
  113. .showmore-box:checked ~ .showmore {
  114. display: none;
  115. }
  116. .showmore-box:not(:checked) ~ .showless {
  117. display: none;
  118. }
  119. .showmore-box:checked ~ form, .showmore-box:checked ~ h5 {
  120. display: block;
  121. }