style.css 2.5 KB

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