Worked on a new light theme

This commit is contained in:
Fabio Manganiello 2022-09-03 20:42:42 +02:00
parent ef8ddb9025
commit 83985fbd13
1 changed files with 78 additions and 0 deletions

View File

@ -41,3 +41,81 @@ pre {
overflow-x: scroll;
width: 100%;
}
/**
* BlackLight's mods
*/
body {
background-color: white;
padding-left: 0;
font-family: -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Open Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
text-rendering: optimizeLegibility;
}
article {
padding: 0 !important;
}
section p:first-child {
font-size: 1.5em;
opacity: 0.6;
font-weight: 300;
}
section p:not(:first-child),
section h2,
section ul,
section ol {
font-family: Avenir, Palatino, charter, Georgia, Cambria, "Times New Roman", Times, serif;
}
section > p,
section > ul,
section > ol {
margin: 0 auto;
}
section figure {
margin: 1em auto;
}
section > p,
section > ul,
section > ol,
pre,
code {
width: auto;
max-width: 37.5em;
}
section > ul,
section > ol {
margin: 2em auto;
}
section h2,
section h3 {
margin: 1.5em auto;
text-align: center;
}
pre {
overflow: hidden;
}
pre,
code {
margin: 1.5em auto;
padding-bottom: 0;
}
code {
margin: 0 !important;
width: auto !important;
}
h1, .meta {
text-align: center;
}