Simple block halving countdown website
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.

style.css 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. body {
  2. font-family: Helvetica, Arial, sans-serif;
  3. }
  4. #heading {
  5. width: 50%;
  6. margin: auto;
  7. text-align: center;
  8. }
  9. a {
  10. text-decoration: none;
  11. color: #00a;
  12. }
  13. a:hover {
  14. text-decoration: underline;
  15. }
  16. #blocklist {
  17. margin: 0 auto;
  18. max-width: 80em;
  19. }
  20. #faq {
  21. margin-left: auto;
  22. margin-right: auto;
  23. max-width: 48em;
  24. }
  25. #faq a {
  26. overflow-wrap: break-word;
  27. }
  28. #footer {
  29. margin-left: auto;
  30. margin-right: auto;
  31. text-align: center;
  32. }
  33. #donations {
  34. font-size: 10pt;
  35. }
  36. .blocklistentry {
  37. width: 100%;
  38. }
  39. .blocklisteven {
  40. background-color: #d79025;
  41. }
  42. .blocklistodd {
  43. background-color: #F2A541;
  44. }
  45. .entryinner {
  46. margin: 12pt;
  47. border: 1px solid black;
  48. border-width: 2pt;
  49. border-radius: 4px 4px 4px 4px;
  50. padding: 12pt;
  51. box-shadow: 8px 8px #ddd;
  52. }
  53. .blbselected .entryinner {
  54. /*background-color: #ddd;*/
  55. }
  56. .entryinner:hover {
  57. background-color: #FF7F11;
  58. }
  59. .entrytop {
  60. display: flex;
  61. flex-direction: row;
  62. align-items: stretch;
  63. }
  64. .entrytopinner {
  65. display: flex;
  66. flex: auto;
  67. align-items: stretch;
  68. }
  69. .blbiconctr {
  70. }
  71. .blbicon {
  72. height: 36pt;
  73. /*max-width: 36pt;*/
  74. margin: 0;
  75. vertical-align: middle;
  76. }
  77. .blbdata {
  78. height: 100%;
  79. margin-top: auto;
  80. margin-bottom: auto;
  81. flex-grow: 1;
  82. }
  83. .blbhash {
  84. margin-top: auto;
  85. margin-bottom: auto;
  86. font-size: 12pt;
  87. font-family: monospace;
  88. overflow-wrap: break-word;
  89. vertical-align: middle;
  90. }
  91. .blbdata span {
  92. margin: 4pt;
  93. vertical-align: middle;
  94. }
  95. .blbheight {
  96. width: 96px;
  97. font-weight: bold;
  98. }
  99. .entrydetail {
  100. margin-top: 8pt;
  101. display: none;
  102. }
  103. .blbselected .entrydetail {
  104. display: block;
  105. }
  106. .entrydetail {
  107. margin: 5px;
  108. }
  109. .detaillinks {
  110. display: flex;
  111. }
  112. .detaillinks span {
  113. height: 100%;
  114. margin-top: auto;
  115. margin-bottom: auto;
  116. vertical-align: middle;
  117. }
  118. .detaillinks img {
  119. height: 36pt;
  120. width: 36pt;
  121. vertical-align: middle;
  122. }
  123. .newblock .entryinner {
  124. animation: 1s 1 newblockanim;
  125. }
  126. @keyframes newblockanim {
  127. from {
  128. background-color: #f11;
  129. border-color: #ff5;
  130. }
  131. to {
  132. /* just whatever it already is */
  133. }
  134. }
  135. .halvingblockentry .entryinner {
  136. animation: 0.5s linear 0s infinite alternate both running halvingblockanim;
  137. }
  138. @keyframes halvingblockanim {
  139. from {
  140. background-color: #90ffff;
  141. }
  142. to {
  143. background-color: #eeffff;
  144. }
  145. }