website

#astro#js#html#css

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

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


assets/css/workers/posts-index.css
  h1 {
    display: flex;
    align-items: flex-start;
    font-weight: 800;
    font-size: 2rem;
  }

  .container {
    display: flex;
    float: left;
  }

  ul {
    display: flex;
    flex-direction: column;

li {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
      gap: 0.6rem;
      justify-items: start;
      align-items: end;
      margin-top: 1.25rem;
      line-height: 1.5rem;

a {
        font-size: 1.1rem;
        color: var(--color-post-link);
        text-decoration-line: underline;
        text-underline-offset: 4px;
      }

time {
        font-size: 1.1rem;
      }

.content {
        display: flex;
        flex-direction: column;
      }

.description {
        font-size: 13pt;

&:hover {
          cursor: default;
        }
      }

.date-wrapper {
        display: flex;
        flex: 1;
        justify-content: flex-end;
        font-size: 1rem;
        line-height: 1.5rem;
      }
    }
  }