blob: ced85734b4382d8a540d5dd9c6cf7c8fd1f45788 (
plain) (
tree)
|
|
/*
* rgoncalves.se
* /do whatever you want with that shit/
*/
* {
font-family: monospace, monospace;
text-align: justify;
}
html {
margin: 2em auto 2em auto;
max-width: 80ch;
}
header {
margin-bottom: 2em;
}
header ul {
padding-left: 0;
}
header ul li {
display: inline-block;
}
header ul li:last-child {
float: right;
}
a, a:hover, a:visited {
color: blue;
}
a:hover {
background-color: #eeeeee;
}
ul.index {
padding-inline-start: 0;
}
ul.index li {
margin: .4em 0 .4em 0;
display: block;
background-color: #eeeeee;
}
ul.index li span {
display: block;
}
li {
overflow-wrap: break-word;
}
table {
border-collapse: collapse;
font-size: .8em;
overflow: auto;
}
table th, table td {
padding: .4em 1em .4em 1em;
margin: 0;
overflow: hidden;
}
table tr:hover {
background-color: #eeeeee;
}
pre {
background-color: #eeeeee;
overflow: auto;
}
p, ul li {
line-height: 1.5em;
}
p code {
background-color: #cccccc;
font-style: italic;
}
blockquote {
margin-inline-end: 0;
margin-inline-start: 20%;
}
blockquote * {
background-color: yellow;
font-style: italic;
}
blockquote p {
margin-block-start: 0;
margin-block-end: 0;
}
footer {
margin-top: 16em;
}
footer blockquote {
margin-inline-start: 0;
}
@media only screen and (max-width: 100ch) {
body {
width: 90%;
}
header ul li {
display: block;
}
header ul li:last-child {
float: left;
}
table {
table-layout: fixed;
width: 100%
}
}
|