scribe/src/css/app.css

46 lines
607 B
CSS
Raw Normal View History

@import "~tufte-css/tufte.css";
2021-09-05 04:05:58 +02:00
p.meta {
margin-top: 1rem;
margin-bottom: 1rem;
font-size: 1.2rem;
line-height: 1;
}
pre {
background-color: rgba(127, 127, 127, 0.1);
margin-right: 1em;
padding: 1em;
padding-left: 2em;
overflow-x: scroll;
2021-09-25 19:26:24 +02:00
}
pre > code {
margin-left: 0;
width: 100%;
2022-10-11 16:37:09 +02:00
}
@media (max-width: 760px) {
pre {
margin-right: 0;
}
}
figure iframe {
max-width: 100%;
}
2021-10-03 23:17:36 +02:00
.highlight {
background: rgba(17, 17, 17, 0.3);
}
@media (prefers-color-scheme: dark) {
.highlight {
background: rgba(221, 221, 221, 0.3);
}
}
footer p span {
margin-right: 1em;
}