Adds style raw.css

This commit is contained in:
Christophe HENRY 2021-03-11 00:20:56 +01:00
parent 5832532582
commit a2a27498f8
1 changed files with 76 additions and 0 deletions

76
css/raw.css Normal file
View File

@ -0,0 +1,76 @@
body {
max-width: 1024px;
margin: auto;
margin-top: 0.5em;
xfont-family: mono;
}
p, h1, h2, h3, ul, li, pre, blockquote {
color: black;
margin: 0;
padding: 0;
font-size: 1rem;
font-weight: normal;
}
ul {
list-style: none;
}
li:before {
content: "* ";
}
h1:before {
content: "# ";
}
h2:before {
content: "## ";
}
h3:before {
content: "### ";
}
blockquote :before {
content: "> ";
}
pre {
scrollbar-color: lightgrey white;
overflow-x: auto;
}
a {
text-decoration: none;
}
a, a:visited {
color: black;
}
a:before {
content: "=> ";
}
@media only screen and (max-width: 1024px) {
a {
margin: -4rem;
}
body {
margin: 3rem;
}
h1 {
font-size: 4rem;
}
h2 {
font-size: 3.5rem;
}
h3 {
font-size: 3rem;
}
p, pre, ul {
font-size: 2.6rem;
}
}