new-codigoparallevar/static/style.css

80 lines
1.3 KiB
CSS
Raw Permalink Normal View History

2022-05-07 21:03:26 +00:00
/* Node styling */
2022-05-07 16:35:04 +00:00
.node {
max-width: min(650px, 100ex);
2022-01-10 22:53:07 +00:00
margin: 0 auto;
2022-01-08 00:13:00 +00:00
}
2021-09-03 22:26:10 +00:00
.node .node {
2022-05-07 16:35:04 +00:00
margin: 2em 0ex 2em 0.5ex;
padding: 1ex 0 1ex 1ex;
box-shadow: 0px 1px 3px 0 rgba(0,0,0,0.3);
border-left: 2px solid #2c3e50;
2022-01-08 00:14:37 +00:00
}
2022-05-07 18:38:12 +00:00
.node.collapsed > .contents {
display: none;
}
.node .node.collapsed > .title::before {
content: "🮥";
}
.node .node.expanded > .title::before {
content: "🮦";
}
2022-05-07 21:03:26 +00:00
/* Headers */
2022-01-10 22:53:07 +00:00
h1 {
font-size: 150%;
}
2022-01-08 00:14:37 +00:00
h1,h2,h3,h4,h5,h6 {
margin-top: 0;
2022-05-07 16:35:04 +00:00
color: #2c3e50;
}
h1 > a, h2 > a, h3 > a, h4 > a, h5 > a, h6 > a {
text-decoration: none;
color: inherit;
2021-10-03 15:53:22 +00:00
}
h1.title .state {
font-size: 50%;
vertical-align: middle;
2022-01-08 00:13:00 +00:00
/* background-color: rgba(255,255,255,0.3); */
background-color: rgba(0,0,0,0.1);
padding: 4px;
border-radius: 5px;
2021-10-03 15:53:22 +00:00
}
2021-09-03 22:26:10 +00:00
2022-05-07 21:03:26 +00:00
/* Lists */
2021-09-03 22:26:10 +00:00
li .tag {
font-weight: bold;
}
li .tag::after {
2022-04-29 08:26:59 +00:00
content: ":: ";
2021-09-03 22:26:10 +00:00
}
2022-05-07 21:03:26 +00:00
/* Code blocks */
pre {
overflow: auto;
padding: 0.5ex;
padding-left: 0.5ex;
padding-left: 1.5ex;
background-color: #eee8d5;
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.26);
}
pre > code {
display: block;
line-height: 1.2em;
overflow: auto;
}
code {
padding: 0.5ex;
font-size: medium;
border: 2px solid #eee8d5;
background: #fdf6e3;
color: #073642;
}