66 lines
1 KiB
CSS
66 lines
1 KiB
CSS
|
@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@500&display=swap");
|
||
|
|
||
|
/* https://tailwindcss.com/docs/customizing-colors#default-color-palette */
|
||
|
:root {
|
||
|
--bg: #ede9fe;
|
||
|
--text: #2e1065;
|
||
|
--text-footer: #64748b;
|
||
|
--table: #c4b5fd;
|
||
|
}
|
||
|
|
||
|
@media (prefers-color-scheme: dark) {
|
||
|
:root {
|
||
|
--text: #f1f5f9;
|
||
|
--bg: #0f172a;
|
||
|
--text-footer: #64748b;
|
||
|
--table: #334155;
|
||
|
}
|
||
|
|
||
|
a:link {
|
||
|
color: #3b82f6;
|
||
|
}
|
||
|
|
||
|
a:visited {
|
||
|
color: #8b5cf6;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
font-family: "Fira Code", monospace;
|
||
|
font-optical-sizing: auto;
|
||
|
font-size: 16px;
|
||
|
font-style: normal;
|
||
|
font-weight: 500;
|
||
|
|
||
|
background-color: var(--bg);
|
||
|
color: var(--text);
|
||
|
}
|
||
|
|
||
|
table {
|
||
|
width: 100%;
|
||
|
border-collapse: collapse;
|
||
|
}
|
||
|
|
||
|
th {
|
||
|
border: 2px var(--table) solid;
|
||
|
padding: 5px 20px;
|
||
|
}
|
||
|
|
||
|
footer {
|
||
|
color: var(--text-footer);
|
||
|
font-size: 14px;
|
||
|
|
||
|
position: absolute;
|
||
|
bottom: 0;
|
||
|
left: 50%;
|
||
|
transform: translate(-50%, -10px);
|
||
|
}
|
||
|
|
||
|
.center {
|
||
|
margin: 0;
|
||
|
position: absolute;
|
||
|
top: 50%;
|
||
|
left: 50%;
|
||
|
transform: translate(-50%, -50%);
|
||
|
}
|