roc/www/public/site.css
2022-11-05 02:25:35 -04:00

80 lines
1.3 KiB
CSS

html {
font-family: sans-serif;
line-height: 145%;
}
li {
margin-bottom: 0.5rem;
}
@media only screen and (min-device-width: 900px) {
body {
width: 900px;
margin: 24px auto;
}
}
aside {
background-color: #eee;
padding: 2px 20px;
}
code.snippet, samp {
display: block;
white-space: pre;
padding: 10px 16px;
background-color: #eee;
margin-bottom: 16px;
}
.ann {
/* type annotation - purple in the repl */
color: orchid;
}
.autovar {
/* automatic variable names in the repl, e.g. # val1 */
color: green;
}
.str {
/* automatic variable names in the repl, e.g. # val1 */
color: goldenrod;
}
.str-esc {
/* automatic variable names in the repl, e.g. # val1 */
color: cyan;
}
.str-interp {
/* automatic variable names in the repl, e.g. # val1 */
color: white;
}
/* Used on on the different-names page. */
th, td {
text-align: left;
padding-right: 24px;
}
#different-names-body a, #different-names-body li {
font-family: monospace;
font-size: 16px;
}
#different-names-body li {
display: inline;
}
#different-names-body li:not(:last-of-type)::after {
/* This is injected via CSS for accessibility, so to a screen reader it's a normal <li> */
content: ",";
}
#different-names-body ul {
padding: 0;
list-style-type: none;
}