telodendria/site/style.css

115 lines
1.6 KiB
CSS
Raw Normal View History

@import "mandoc.css";
:root {
--border-radius: 10px;
2022-07-23 19:16:23 +00:00
--color-snippet: #161b22;
--color-link: #7b8333;
--color-bg: #0d1117;
--color-text: #c9d1d9;
2022-07-23 19:16:23 +00:00
--color-table-border: #30363d;
--color-table-accent: #161b22;
--color-error-bg: #5c6434;
2022-09-28 20:25:49 +00:00
--color-error: white;
}
html {
max-width: 100%;
}
2022-07-23 00:19:12 +00:00
body {
margin: auto;
max-width: 8.5in;
padding: 0.25in;
color: var(--color-text);
background-color: var(--color-bg);
font-family: Arial;
2022-07-23 00:19:12 +00:00
}
.msg-error {
background-color: var(--color-error-bg);
color: var(--color-error);
border-radius: var(--border-radius);
padding: 20px;
}
2022-09-28 20:25:49 +00:00
.msg-error a {
color: var(--color-error);
font-weight: bold;
text-decoration: underline
}
2022-08-07 18:57:38 +00:00
h1 {
text-align: center;
}
2022-07-23 00:19:12 +00:00
h1, h4, h5, h6 {
border-bottom: 1px dashed var(--color-table-border);
2022-07-23 00:19:12 +00:00
}
2022-07-23 23:18:17 +00:00
hr {
border: 0;
border-bottom: 1px dashed var(--color-table-border);
}
2022-07-23 00:19:12 +00:00
h4, h5, h6 {
width: fit-content;
}
2022-07-23 00:19:12 +00:00
a {
color: var(--color-link);
2022-07-23 00:19:12 +00:00
text-decoration: none;
}
2022-07-23 00:19:12 +00:00
a:hover {
text-decoration: underline;
}
2022-07-23 00:19:12 +00:00
table {
width: 100%;
border-collapse: separate;
border-spacing: 0px;
2022-07-23 00:19:12 +00:00
}
2022-07-23 00:19:12 +00:00
td, th {
border: 1px solid var(--color-table-border);
2022-07-23 00:19:12 +00:00
text-align: left;
padding: 8px;
}
2022-07-23 00:19:12 +00:00
tr:nth-child(even) {
background-color: var(--color-table-accent);
}
/* Thanks Jonah! */
#logo {
display: block;
margin: auto;
width: 50vw;
max-width: 400px;
}
/* Mandoc overrides */
.Bd {
background-color: var(--color-snippet);
border-radius: var(--border-radius);
padding-left: 10px;
overflow: auto;
}
.Nm {
width: fit-content;
}
.Nm td, .Nm th {
border: none;
}