website

#astro#js#html#css

git clone https://git.pyrossh.dev/website

木 Personal website of pyrossh. Built with astrojs, shiki, vite.


assets/css/workers/issues-detail.css
  .state-form,
  .comment-form {
    margin-top: 0.5rem;
  }

  button {
    border: 1px solid var(--color-text);
    background: var(--color-box-bg);
    color: var(--color-link);
    padding: 0.35rem 0.75rem;
    font: inherit;
    cursor: pointer;
  }

  .body,
  .comments {
    margin-top: 0.5rem;
  }

  .body,
  .comment {
    background-color: var(--color-box-bg);
    color: var(--color-text);
    padding: 0.5rem;
  }

  h3 {
    margin: 0.5rem 0;
    font-size: 1.05rem;
    font-weight: 500;
  }

  .comment {
    margin: 0.5rem 0;
  }

  .comment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
  }

  pre {
    white-space: pre-wrap;
    overflow-x: auto;
    margin: 0;
    font-family: inherit;
  }

  .comment-form {
    display: grid;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--color-box-bg);

    textarea,
input {
      width: 100%;
      border: 1px solid var(--color-text);
      background: var(--color-body-bg);
      color: var(--color-text);
      padding: 0.35rem 0.5rem;
      font: inherit;
    }

textarea {
      min-height: 6rem;
      resize: vertical;
    }
  }

  .comment-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 0.5rem;
  }