Skip to content

Commit

Permalink
Turn global css file into normal css file (not module)
Browse files Browse the repository at this point in the history
  • Loading branch information
draperunner committed Mar 9, 2024
1 parent 40affd2 commit 7e75ad0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/base-styles/main.module.css → src/base-styles/main.css
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
:global body {
body {
margin: 0;
background-color: #ecf0f1;
font-family: "Open Sans", sans-serif;
}

:global img {
img {
display: block;
max-width: 100%;
}

:global canvas {
canvas {
width: 100% !important;
height: auto !important;
max-height: 370px;
margin: 20px 0;
}

:global a {
a {
color: #2980b9;
text-decoration: none;
}

:global a:hover {
a:hover {
color: #3498db;
text-decoration: underline;
}
2 changes: 1 addition & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { createRoot } from "react-dom/client";
import "katex";
import "katex/dist/katex.min.css";

import "./base-styles/main.module.css";
import "./base-styles/main.css";
import "./auth";

import Routes from "./routes";
Expand Down

0 comments on commit 7e75ad0

Please sign in to comment.