You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.css 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. html {
  2. background: linear-gradient(135deg, #c4dfffa0, transparent), url(background.png);
  3. width:100%;
  4. min-height: 100%;
  5. margin:0;
  6. font-family: sans-serif;
  7. font-weight: 300;
  8. font-size: 15px;
  9. }
  10. body {
  11. position: absolute;
  12. display: flex;
  13. flex-direction: column;
  14. min-height: 100%;
  15. margin: 0;
  16. width: 100%;
  17. }
  18. header {
  19. position:fixed;
  20. left:0;
  21. top:0;
  22. text-shadow: 1px 1px 2px #eee;
  23. width:100%;
  24. z-index: 2;
  25. }
  26. h1, h2 {
  27. text-align: center;
  28. font-weight: 300;
  29. }
  30. h3 {
  31. font-weight: 400;
  32. }
  33. main {
  34. margin: auto;
  35. margin-top: 80px;
  36. width:100%;
  37. max-width: 1250px;
  38. font-size: 1.1em;
  39. position:relative;
  40. text-align:justify;
  41. transition:.1s;
  42. display:flex;
  43. flex-wrap: wrap;
  44. justify-content: space-around;
  45. }
  46. #description,
  47. #recent-boards {
  48. flex: 100%;
  49. }
  50. main>div {
  51. margin:15px;
  52. min-width: 250px;
  53. padding:35px;
  54. transition:.07s;
  55. flex:33%;
  56. display: flex;
  57. flex-direction: column;
  58. justify-content: space-between;
  59. border-radius: .2em;
  60. }
  61. main>div:hover {
  62. transform:scale(1.03);
  63. }
  64. header, main>div {
  65. box-shadow: 2px 2px 10px #666;
  66. background-color:#fff;
  67. }
  68. header:hover h2 {
  69. animation:colorchange 100s infinite;
  70. }
  71. .wbo-button {
  72. white-space: nowrap;
  73. text-decoration: none;
  74. background: linear-gradient(#C4DFFF, #8FA2BC);
  75. margin-top: 15px;
  76. line-height: 60px;
  77. border-radius: 5px;
  78. box-shadow: 1px 1px 3px #555;
  79. display: block;
  80. text-align: center;
  81. color: black;
  82. transition: .1s;
  83. }
  84. a{
  85. color: black;
  86. }
  87. .wbo-button:hover{
  88. box-shadow: 0 0 5px #0074D9;
  89. }
  90. .wbo-button:focus, .wbo-button:active {
  91. box-shadow: inset 1px 1px 5px #555;
  92. }
  93. input {
  94. line-height: 20px;
  95. border-radius: 5px;
  96. border: 1px solid #ddd;
  97. padding: 6px;
  98. font-size: 1.1em;
  99. margin: 9px 0;
  100. }
  101. #board {
  102. width: 75%;
  103. }
  104. #recent-boards.hidden {
  105. display: none;
  106. }
  107. #recent-boards ul {
  108. list-style: none;
  109. margin: 0;
  110. padding: 0;
  111. }
  112. #recent-boards li {
  113. margin-bottom: 8px;
  114. }
  115. #recent-boards li:last-child {
  116. margin-bottom: 0;
  117. }
  118. footer {
  119. text-align: center;
  120. flex-shrink: 0;
  121. height: 40px;
  122. }
  123. footer a {
  124. opacity: .3;
  125. }
  126. footer a:hover {
  127. opacity: 1;
  128. }
  129. .lang-selector {
  130. top: 20px;
  131. right:20px;
  132. position: absolute;
  133. overflow: hidden;
  134. padding: 10px;
  135. }
  136. .lang-selector span {
  137. padding: 9px 25px;
  138. border: 1px solid black;
  139. border-radius: 5px;
  140. }
  141. .lang-selector ul {
  142. padding-left: 22px;
  143. list-style: none;
  144. width: 50px;
  145. background: white;
  146. max-height: 0;
  147. overflow: hidden;
  148. transition-duration: 1s;
  149. border-radius: 5px;
  150. }
  151. .lang-selector:hover ul {
  152. max-height: 600px;
  153. box-shadow: 2px 2px 10px #666;
  154. border: 0;
  155. }
  156. .lang-selector li {
  157. height: 25px;
  158. padding: 5px;
  159. }
  160. .lang-selector:hover li {
  161. list-style: none;
  162. }
  163. .lang-selector li a {
  164. width: 100%;
  165. display: block;
  166. }
  167. .lang-selector li:hover {
  168. list-style: circle;
  169. list-style: disclosure-closed;
  170. }