Skip to content

CSS improvements #161

Closed
Closed

Description

@nobodywasishere

I have some CSS improvements that I use locally that others may want to use as well. I found the syntax highlighting to sometimes break so I disabled it.

:root {
    --main-bg: #161618;
    --meta-bg: #242424;
    --code-bg: #242424;
    line-height: 1.5;
}

.answer-meta.accepted {
  background-color: #4cd964 !important;
  color: black !important;
}

span {
    color: var(--text-color) !important;
    background-color: transparent;
}

pre {
    max-height: 300px; /* Set the maximum height */
    overflow-y: auto;  /* Enable vertical scrolling */
    line-height: 1.75;
}

@media (orientation: landscape) {
  .parent {
    max-width: 70%;
    width: fit-content;
  }
}

Current on left, my changes on right.
image

Activity

  1. Repository owner locked and limited conversation to collaborators on Oct 16, 2024
  2. converted this issue into a discussion #162 on Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions