zk_html/style.css

352 lines
13 KiB
CSS
Raw Normal View History

2020-04-09 00:12:23 +00:00
body {font-family: Tahoma, Geneva, sans-serif; margin: 1em 2em 1em 2em; font-size: 100%; line-height: 130%;}
h1, h2, h3, h4, h5, h6 {font-family: Trebuchet MS, Helvetica, sans-serif; font-weight: bold; line-height:100%; margin-top: 1.5em; margin-bottom: 0.5em;}
h1 {font-size: 2.6em; color: #000000;}
h2 {font-size: 2.2em; color: #404040;}
h3 {font-size: 1.8em; color: #707070;}
h4 {font-size: 1.4em; color: #909090;}
h5 {font-size: 1.3em; color: #989898;}
h6 {font-size: 1.2em; color: #9c9c9c;}
p, pre, blockquote, table, ul, ol, dl {margin-top: 1em; margin-bottom: 1em;}
ul ul, ul ol, ol ol, ol ul {margin-top: 0.5em; margin-bottom: 0.5em;}
li {margin: 0.3em auto;}
ul {margin-left: 2em; padding-left: 0.5em;}
dt {font-weight: bold;}
img {border: none;}
pre {border-left: 1px solid #ccc; margin-left: 2em; padding-left: 0.5em;}
2020-04-22 21:20:07 +00:00
/*blockquote {padding: 0.4em; background-color: #f6f5eb;}*/ /* Maddy no like */
2020-04-09 00:12:23 +00:00
th, td {border: 1px solid #ccc; padding: 0.3em;}
th {background-color: #f0f0f0;}
hr {border: none; border-top: 1px solid #ccc; width: 100%;}
del {text-decoration: line-through; color: #777777;}
.toc li {list-style-type: none;}
.todo {font-weight: bold; background-color: #f0ece8; color: #a03020;}
.justleft {text-align: left;}
.justright {text-align: right;}
.justcenter {text-align: center;}
.center {margin-left: auto; margin-right: auto;}
.tag {background-color: #eeeeee; font-family: monospace; padding: 2px;}
.header a {text-decoration: none; color: inherit;}
/* classes for items of todo lists */
.rejected {
/* list-style: none; */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAMAAAAMCGV4AAAACXBIWXMAAADFAAAAxQEdzbqoAAAAB3RJTUUH4QgEFhAtuWgv9wAAAPZQTFRFmpqam5iYnJaWnJeXnpSUn5OTopCQpoqKpouLp4iIqIiIrYCAt3V1vW1tv2xsmZmZmpeXnpKS/x4e/x8f/yAg/yIi/yQk/yUl/yYm/ygo/ykp/yws/zAw/zIy/zMz/zQ0/zU1/zY2/zw8/0BA/0ZG/0pK/1FR/1JS/1NT/1RU/1VV/1ZW/1dX/1pa/15e/19f/2Zm/2lp/21t/25u/3R0/3p6/4CA/4GB/4SE/4iI/46O/4+P/52d/6am/6ur/66u/7Oz/7S0/7e3/87O/9fX/9zc/93d/+Dg/+vr/+3t/+/v//Dw//Ly//X1//f3//n5//z8////gzaKowAAAA90Uk5T/Pz8/Pz8/Pz8/Pz8/f39ppQKWQAAAAFiS0dEEnu8bAAAAACuSURBVAhbPY9ZF4FQFEZPSKbIMmWep4gMGTKLkIv6/3/GPbfF97b3w17rA0kQOPgvAeHW6uJ6+5h7HqLdwowgOzejXRXBdx6UdSru216xuOMBHHNU0clTzeSUA6EhF8V8kqroluMiU6HKcuf4phGPr1o2q9kYZWwNq1qfRRmTaXpqsyjj17KkWCxKBUBgXWueHIyiAIg18gsse4KHkLF5IKIY10WQgv7fOy4ST34BRiopZ8WLNrgAAAAASUVORK5CYII=);
background-repeat: no-repeat;
background-position: 0 .2em;
padding-left: 1.5em;
}
.done0 {
/* list-style: none; */
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAxQAAAMUBHc26qAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAA7SURBVCiR7dMxEgAgCANBI3yVRzF5KxNbW6wsuH7LQ2YKQK1mkswBVERYF5Os3UV3gwd/jF2SkXy66gAZkxS6BniubAAAAABJRU5ErkJggg==);
background-repeat: no-repeat;
background-position: 0 .2em;
padding-left: 1.5em;
}
.done1 {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAxQAAAMUBHc26qAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAABtSURBVCiR1ZO7DYAwDER9BDmTeZQMFXmUbGYpOjrEryA0wOvO8itOslFrJYAug5BMM4BeSkmjsrv3aVTa8p48Xw1JSkSsWVUFwD05IqS1tmYzk5zzae9jnVVVzGyXb8sALjse+euRkEzu/uirFomVIdDGOLjuAAAAAElFTkSuQmCC);
background-repeat: no-repeat;
background-position: 0 .15em;
padding-left: 1.5em;
}
.done2 {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAxQAAAMUBHc26qAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAB1SURBVCiRzdO5DcAgDAVQGxjAYgTvxlDIu1FTIRYAp8qlFISkSH7l5kk+ZIwxKiI2mIyqWoeILYRgZ7GINDOLjnmF3VqklKCUMgTee2DmM661Qs55iI3Zm/1u5h9sm4ig9z4ERHTFzLyd4G4+nFlVrYg8+qoF/c0kdpeMsmcAAAAASUVORK5CYII=);
background-repeat: no-repeat;
background-position: 0 .15em;
padding-left: 1.5em;
}
.done3 {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAxQAAAMUBHc26qAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAABoSURBVCiR7dOxDcAgDATA/0DtUdiKoZC3YhLkHjkVKF3idJHiztKfvrHZWnOSE8Fx95RJzlprimJVnXktvXeY2S0SEZRSAAAbmxnGGKH2I5T+8VfxPhIReQSuuY3XyYWa3T2p6quvOgGrvSFGlewuUAAAAABJRU5ErkJggg==);
background-repeat: no-repeat;
background-position: 0 .15em;
padding-left: 1.5em;
}
.done4 {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAQCAYAAAAbBi9cAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAzgAAAM4BlP6ToAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIISURBVDiNnZQ9SFtRFMd/773kpTaGJoQk1im4VDpWQcTNODhkFBcVTCNCF0NWyeDiIIiCm82QoIMIUkHUxcFBg1SEQoZszSat6cdTn1qNue92CMbEr9Sey+XC/Z/zu+f8h6ukUil3sVg0+M+4cFxk42/jH2wAqqqKSCSiPQdwcHHAnDHH9s/tN1h8V28ETdP+eU8fT9Nt62ancYdIPvJNtsu87bmjrJlrTDVM4RROJs1JrHPrD4Bar7A6cpc54iKOaTdJXCUI2UMVrQZ0Js7YPN18ECKkYNQcJe/OE/4dZsw7VqNXQMvHy3QZXQypQ6ycrtwDjf8aJ+PNEDSCzLpn7+m2pD8ZKHlKarYhy6XjEoCYGcN95qansQeA3fNdki+SaJZGTMQIOoL3W/Z89rxv+tokubNajlvk/vm+LFpF2XnUKZHI0I+QrI7Dw0OZTqdzUkpsM7mZTyfy5OPGyw1tK7AFSvmB/Ks8w8YwbUYbe6/3QEKv0vugfxWPnMLJun+d/kI/WLdizpNjMbAIKrhMF4OuwadBALqqs+RfInwUvuNi+fBd+wjogfogAFVRmffO02q01mZZ0HHdgXIzdz0QQLPezIQygX6llxNKKgOFARYCC49CqhoHIUTlss/Vx2phlYwjw8j1CAlfAiwQiJpiy7o1VHnsG5FISkoJu7Q/2YmmaV+i0ei7v38L2CBguSi5AAAAAElFTkSuQmCC);
background-repeat: no-repeat;
background-position: 0 .15em;
padding-left: 1.5em;
}
2020-04-23 01:55:06 +00:00
/*
2020-04-09 00:12:23 +00:00
code {
font-family: Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
-webkit-border-radius: 1px;
-moz-border-radius: 1px;
border-radius: 1px;
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
padding: 0px 3px;
display: inline-block;
color: #52595d;
border: 1px solid #ccc;
background-color: #f9f9f9;
}
2020-04-23 01:55:06 +00:00
*/ /* Maddy's starting from scratch */
2020-04-09 07:00:04 +00:00
2020-04-23 02:05:07 +00:00
/* Pygments: friendly minus bold */
2020-04-23 01:55:06 +00:00
.codehilite .hll { background-color: #ffffcc }
.codehilite { background: #f0f0f0; }
.codehilite .c { color: #60a0b0; font-style: italic } /* Comment */
.codehilite .err { border: 1px solid #FF0000 } /* Error */
2020-04-23 02:05:07 +00:00
.codehilite .k { color: #007020; } /* Keyword */
2020-04-23 01:55:06 +00:00
.codehilite .o { color: #666666 } /* Operator */
.codehilite .ch { color: #60a0b0; font-style: italic } /* Comment.Hashbang */
.codehilite .cm { color: #60a0b0; font-style: italic } /* Comment.Multiline */
.codehilite .cp { color: #007020 } /* Comment.Preproc */
.codehilite .cpf { color: #60a0b0; font-style: italic } /* Comment.PreprocFile */
.codehilite .c1 { color: #60a0b0; font-style: italic } /* Comment.Single */
.codehilite .cs { color: #60a0b0; background-color: #fff0f0 } /* Comment.Special */
.codehilite .gd { color: #A00000 } /* Generic.Deleted */
.codehilite .ge { font-style: italic } /* Generic.Emph */
.codehilite .gr { color: #FF0000 } /* Generic.Error */
2020-04-23 02:05:07 +00:00
.codehilite .gh { color: #000080; } /* Generic.Heading */
2020-04-23 01:55:06 +00:00
.codehilite .gi { color: #00A000 } /* Generic.Inserted */
.codehilite .go { color: #888888 } /* Generic.Output */
2020-04-23 02:05:07 +00:00
.codehilite .gp { color: #c65d09; } /* Generic.Prompt */
.codehilite .gs { } /* Generic.Strong */
.codehilite .gu { color: #800080; } /* Generic.Subheading */
2020-04-23 01:55:06 +00:00
.codehilite .gt { color: #0044DD } /* Generic.Traceback */
2020-04-23 02:05:07 +00:00
.codehilite .kc { color: #007020; } /* Keyword.Constant */
.codehilite .kd { color: #007020; } /* Keyword.Declaration */
.codehilite .kn { color: #007020; } /* Keyword.Namespace */
2020-04-23 01:55:06 +00:00
.codehilite .kp { color: #007020 } /* Keyword.Pseudo */
2020-04-23 02:05:07 +00:00
.codehilite .kr { color: #007020; } /* Keyword.Reserved */
2020-04-23 01:55:06 +00:00
.codehilite .kt { color: #902000 } /* Keyword.Type */
.codehilite .m { color: #40a070 } /* Literal.Number */
.codehilite .s { color: #4070a0 } /* Literal.String */
.codehilite .na { color: #4070a0 } /* Name.Attribute */
.codehilite .nb { color: #007020 } /* Name.Builtin */
2020-04-23 02:05:07 +00:00
.codehilite .nc { color: #0e84b5; } /* Name.Class */
2020-04-23 01:55:06 +00:00
.codehilite .no { color: #60add5 } /* Name.Constant */
2020-04-23 02:05:07 +00:00
.codehilite .nd { color: #555555; } /* Name.Decorator */
.codehilite .ni { color: #d55537; } /* Name.Entity */
2020-04-23 01:55:06 +00:00
.codehilite .ne { color: #007020 } /* Name.Exception */
.codehilite .nf { color: #06287e } /* Name.Function */
2020-04-23 02:05:07 +00:00
.codehilite .nl { color: #002070; } /* Name.Label */
.codehilite .nn { color: #0e84b5; } /* Name.Namespace */
.codehilite .nt { color: #062873; } /* Name.Tag */
2020-04-23 01:55:06 +00:00
.codehilite .nv { color: #bb60d5 } /* Name.Variable */
2020-04-23 02:05:07 +00:00
.codehilite .ow { color: #007020; } /* Operator.Word */
2020-04-23 01:55:06 +00:00
.codehilite .w { color: #bbbbbb } /* Text.Whitespace */
.codehilite .mb { color: #40a070 } /* Literal.Number.Bin */
.codehilite .mf { color: #40a070 } /* Literal.Number.Float */
.codehilite .mh { color: #40a070 } /* Literal.Number.Hex */
.codehilite .mi { color: #40a070 } /* Literal.Number.Integer */
.codehilite .mo { color: #40a070 } /* Literal.Number.Oct */
.codehilite .sa { color: #4070a0 } /* Literal.String.Affix */
.codehilite .sb { color: #4070a0 } /* Literal.String.Backtick */
.codehilite .sc { color: #4070a0 } /* Literal.String.Char */
.codehilite .dl { color: #4070a0 } /* Literal.String.Delimiter */
.codehilite .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
.codehilite .s2 { color: #4070a0 } /* Literal.String.Double */
2020-04-23 02:05:07 +00:00
.codehilite .se { color: #4070a0; } /* Literal.String.Escape */
2020-04-23 01:55:06 +00:00
.codehilite .sh { color: #4070a0 } /* Literal.String.Heredoc */
.codehilite .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */
.codehilite .sx { color: #c65d09 } /* Literal.String.Other */
.codehilite .sr { color: #235388 } /* Literal.String.Regex */
.codehilite .s1 { color: #4070a0 } /* Literal.String.Single */
.codehilite .ss { color: #517918 } /* Literal.String.Symbol */
.codehilite .bp { color: #007020 } /* Name.Builtin.Pseudo */
.codehilite .fm { color: #06287e } /* Name.Function.Magic */
.codehilite .vc { color: #bb60d5 } /* Name.Variable.Class */
.codehilite .vg { color: #bb60d5 } /* Name.Variable.Global */
.codehilite .vi { color: #bb60d5 } /* Name.Variable.Instance */
.codehilite .vm { color: #bb60d5 } /* Name.Variable.Magic */
.codehilite .il { color: #40a070 } /* Literal.Number.Integer.Long */
2020-04-23 01:50:06 +00:00
2020-04-09 07:00:04 +00:00
/* Maddy Extensions */
2020-04-23 01:55:06 +00:00
@import url('https://fonts.googleapis.com/css2?family=Gentium+Book+Basic:ital,wght@0,400;0,700;1,400;1,700&family=Lato&family=Ubuntu+Monodisplay=swap');
2020-04-09 07:00:04 +00:00
main {
max-width: 960px;
margin: 0 auto;
color: #222222;
2020-04-09 07:10:04 +00:00
font-family: 'Gentium Book Basic', serif;
2020-04-09 07:15:04 +00:00
font-size: 15pt;
line-height: 1.2;
2020-04-09 07:00:04 +00:00
}
2020-04-22 23:55:08 +00:00
main * {
max-width: 100%;
}
2020-04-09 07:00:04 +00:00
header {
border-bottom: 1px solid #888888;
}
footer {
border-top: 1px solid #888888;
font-size: 8pt;
color: #888888;
}
2020-04-09 07:05:04 +00:00
h1, h2, h3, h4, h5, h6 {
font-family: "Lato", sans-serif;
2020-04-16 06:44:47 +00:00
clear: both;
2020-04-09 07:05:04 +00:00
}
2020-04-16 02:58:36 +00:00
2020-04-22 18:30:08 +00:00
pre {
overflow-x: scroll;
}
2020-04-23 01:55:06 +00:00
pre, code {
font-family: "Ubuntu Mono";
2020-04-23 02:07:11 +00:00
font-size: 14pt;
2020-04-23 01:55:06 +00:00
}
2020-04-22 21:20:07 +00:00
blockquote {
border-left: 5px solid #ddd;
padding-left: 1rem;
margin-left: 0;
}
2020-04-22 18:30:08 +00:00
/* Vimwiki extension*/
2020-04-16 02:58:36 +00:00
.has-nested .toggle:before {
content: '▼';
}
.has-nested.closed .toggle:before {
content: '▶';
}
.has-nested.closed {
max-height: calc(16pt*1.2);
overflow: hidden;
}
2020-04-16 03:05:04 +00:00
.control {
2020-04-23 21:05:08 +00:00
display: block;
2020-04-16 03:05:04 +00:00
text-decoration: underline;
padding: 2px;
}
2020-04-16 06:40:07 +00:00
2020-04-22 18:30:08 +00:00
/* toc extension */
2020-04-16 06:40:07 +00:00
.toc {
display: inline-block;
2020-04-16 06:44:47 +00:00
border: 1px solid #cccccc;
2020-04-16 06:40:07 +00:00
padding: 1rem;
2020-04-16 06:44:47 +00:00
margin: 0 1rem 2rem 0;
float: left;
2020-04-16 06:40:07 +00:00
}
.toc:before {
content: 'Contents';
font-weight: bold;
}
.toc ul {
margin: 0;
}
2020-04-21 20:57:13 +00:00
2020-04-22 18:30:08 +00:00
/* Verse extension */
2020-04-21 20:57:13 +00:00
.verse {
white-space: pre-wrap;
2020-04-23 02:00:08 +00:00
border-left: 5px solid #ddd;
padding-left: 1rem;
2020-06-11 18:55:08 +00:00
margin: 0.5rem 0;
2020-04-21 20:57:13 +00:00
}
2020-04-22 10:20:06 +00:00
2020-04-22 18:30:08 +00:00
/* Editing extension */
2020-04-22 23:10:06 +00:00
del.deletion, .substitution del {
2020-04-22 10:20:06 +00:00
text-decoration: line-through;
background-color: #fbb;
color: #555;
}
2020-04-22 23:10:06 +00:00
ins.addition, .substitution ins {
2020-04-22 10:20:06 +00:00
text-decoration: none;
background-color: #d4fcbc;
}
2020-04-23 02:25:06 +00:00
mark.selected {
background-color: #ddf;
}
2020-04-22 23:10:06 +00:00
q.comment {
2020-04-22 10:45:06 +00:00
display: block;
2020-04-22 10:20:06 +00:00
float: right;
width: 33%;
border: 1px solid #ccc;
margin-left: 0.5rem;
2020-04-22 10:40:06 +00:00
padding: 0.5rem;
clear: both;
}
2020-04-22 23:10:06 +00:00
q.comment q.comment {
2020-04-23 02:05:07 +00:00
/* Do not float or size nested comments. */
2020-04-22 21:25:06 +00:00
float: none;
width: auto;
2020-04-23 21:40:07 +00:00
max-width: 100%;
margin: 0.25rem auto;
position: static;
2020-04-22 21:25:06 +00:00
}
2020-04-22 23:10:06 +00:00
q.comment .attribution, q.comment .date {
2020-04-22 10:40:06 +00:00
font-size: 10pt;
display: inline-block;
float: right;
clear: both;
2020-04-22 10:20:06 +00:00
}
2020-04-22 10:45:06 +00:00
2020-04-22 23:10:06 +00:00
q.comment::before, q.comment::after {
2020-04-23 02:05:07 +00:00
/* Use pseudo-elements for clearfix. */
2020-04-22 21:20:07 +00:00
content: "";
2020-04-23 01:00:08 +00:00
display: block;
clear: both;
}
2020-04-23 02:20:06 +00:00
p q.comment::before {
2020-04-23 02:05:07 +00:00
/* Add an arrow pointing back to the line. */
2020-04-23 01:00:08 +00:00
width: 0;
2020-04-23 01:05:06 +00:00
height: -0.5rem;
float: left;
2020-04-23 01:00:08 +00:00
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
2020-04-23 02:25:06 +00:00
border-right: 20px solid #ccc;
2020-04-23 01:10:06 +00:00
margin-left: calc(-1rem - 12px);
2020-04-23 01:50:06 +00:00
margin-top: calc(-0.5rem - 1.195px);
2020-04-23 01:05:06 +00:00
}
2020-04-23 02:25:06 +00:00
ins q.comment::before {
2020-04-23 02:35:07 +00:00
border-right-color: #ceebab;
2020-04-23 02:25:06 +00:00
}
ins q.comment {
background-color: #d4fcbc;
}
del q.comment::before {
2020-04-23 02:35:07 +00:00
border-right-color: #daa;
2020-04-23 02:25:06 +00:00
}
del q.comment {
background-color: #fbb;
}
mark q.comment::before {
border-right-color: #ddf;
}
mark q.comment {
2020-04-23 02:30:07 +00:00
background-color: #eef;
2020-04-23 02:25:06 +00:00
}
2020-04-23 01:05:06 +00:00
q.comment q.comment::before {
2020-04-23 02:05:07 +00:00
/* don't add arrow on nested comments. */
2020-04-23 01:05:06 +00:00
border: none;
2020-04-23 01:00:08 +00:00
}
2020-04-23 21:05:08 +00:00
p + p, hr, .control {
2020-04-23 02:05:07 +00:00
/* Clearfix on repeated paragraphs (repeated needed to allow TOC float). */
2020-04-22 21:25:06 +00:00
clear: both;
2020-04-22 21:20:07 +00:00
}
2020-04-23 21:35:07 +00:00
2020-04-23 21:40:07 +00:00
@media only screen and (min-width: 1600px) {
2020-04-23 21:35:07 +00:00
q.comment {
2020-04-23 21:40:07 +00:00
position: relative;
margin-right: calc(-320px - 1rem - 20px);
2020-04-23 21:35:07 +00:00
}
}
2020-04-23 21:40:07 +00:00