style.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. @tailwind base;
  2. @tailwind components;
  3. body {
  4. display: grid;
  5. grid-template-columns: auto 1fr;
  6. grid-template-rows: auto 1fr;
  7. grid-template-areas:
  8. "header header"
  9. "nav main";
  10. min-height: 100vh;
  11. }
  12. header {
  13. @apply bg-gray-800 text-gray-50 flex justify-between items-center select-none;
  14. grid-area: header;
  15. box-shadow: 0 -3px 10px 3px black;
  16. z-index: 1;
  17. }
  18. header > * {
  19. @apply p-3;
  20. }
  21. a.brand {
  22. @apply flex items-center;
  23. }
  24. a.brand:hover {
  25. @apply bg-gray-900;
  26. }
  27. a.brand span {
  28. @apply mx-2 font-sans text-sm text-gray-100;
  29. }
  30. a.brand img {
  31. @apply h-7 w-auto;
  32. }
  33. aside.menu {
  34. @apply bg-gray-700 text-white p-2 w-72 select-none;
  35. grid-area: nav;
  36. box-shadow: -3px 0 10px 2px black;
  37. }
  38. .menu .menu-view {
  39. @apply sticky top-0;
  40. }
  41. .menu .menu-title {
  42. @apply text-gray-200 uppercase text-xs font-sans py-2;
  43. }
  44. .menu .menu-list a {
  45. @apply py-1 px-2 rounded-sm text-white block;
  46. }
  47. .menu .menu-list a:hover {
  48. @apply text-gray-700 bg-white;
  49. }
  50. .menu .menu-list a.is-active {
  51. @apply bg-blue-500 text-white;
  52. }
  53. main {
  54. @apply py-8 mx-40;
  55. grid-area: main;
  56. }
  57. .content {
  58. @apply prose max-w-full;
  59. }
  60. .content.big {
  61. @apply prose-xl;
  62. }
  63. .artifacts-header {
  64. @apply text-4xl font-bold mt-20;
  65. }
  66. .artifacts-list {
  67. display: grid;
  68. grid-template-columns: max-content auto;
  69. gap: 0.5rem 0.5rem;
  70. }
  71. .artifacts-list .artifact-link {
  72. @apply text-white bg-blue-600 rounded-sm p-1 px-2 no-underline font-normal;
  73. height: min-content;
  74. }
  75. .artifacts-list .artifact-link:hover {
  76. @apply bg-blue-700;
  77. }
  78. .artifact-item {
  79. @apply bg-gray-200 my-3;
  80. }
  81. .artifact-item .artifact-contents {
  82. @apply p-4 hidden;
  83. }
  84. .artifact-item .artifact-contents.contents-visible {
  85. @apply block;
  86. }
  87. .artifact-details {
  88. @apply flex items-center bg-gray-300 select-none;
  89. }
  90. .artifact-details .icon-downup {
  91. @apply ml-auto mr-2 text-gray-500;
  92. }
  93. .artifact-details:hover {
  94. @apply cursor-pointer bg-gray-200;
  95. }
  96. .artifact-details .artifact-id {
  97. @apply p-4 bg-blue-500 font-bold text-white text-lg;
  98. }
  99. .artifact-details:hover .artifact-id {
  100. @apply bg-blue-400;
  101. }
  102. .artifact-details .hash-button {
  103. @apply mx-4 py-1 px-3 border-blue-600 rounded border font-mono text-blue-600;
  104. }
  105. .artifact-details .hash-button:hover {
  106. @apply bg-blue-600 text-white;
  107. }
  108. .artifact-details .build-date-text {
  109. @apply text-gray-600 text-lg;
  110. }
  111. @tailwind utilities;