Skip to content

Commit

Permalink
docs: fixed the site style a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Oct 2, 2024
1 parent 2c41b63 commit 6339e2d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
19 changes: 4 additions & 15 deletions site/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
--border-color: #ddd;
}


/* Dark mode styles */
@media (prefers-color-scheme: dark) {
:root {
Expand All @@ -21,16 +20,6 @@
}
}

[data-darkreader-scheme="dark"] {
--text-color: #e0e0e0;
--background-color: #1a1a1a;
--link-color: #4da3ff;
--link-hover-color: #80bdff;
--code-background: #2a2a2a;
--border-color: #444;
}


/* Apply styles using CSS variables */
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
Expand Down Expand Up @@ -143,10 +132,6 @@ pre {
overflow-x: auto;
}

code {
padding: 0.2em 0.4em;
}

table {
border-collapse: collapse;
width: 100%;
Expand All @@ -163,6 +148,10 @@ th {
background-color: var(--code-background);
}

code span.fu {
color: #22863a;
}

@media (max-width: 600px) {
body {
font-size: 14px;
Expand Down
1 change: 1 addition & 0 deletions site/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
$if(math)$
$math$
$endif$
<meta name="darkreader-lock">
</head>
<body>
<div class="content-wrapper">
Expand Down

0 comments on commit 6339e2d

Please sign in to comment.