-.comparison table, {
- border-color: #666;
- border-style: solid;
-}
-
.comparison th {
border-width: 1px;
border-color: #666;
border-style: solid;
+ width: 50%;
}
.comparison table {
+ border-color: #666;
+ border-style: solid;
border-width: 1px;
border-spacing: 0;
border-collapse: collapse;
}
-
.insert {
background-color: #9f9;
}
.delete {
background-color: #f99;
}
+
+.revisions table, .revisions td, .revisions th {
+ border-color: #666;
+ border-style: solid;
+}
+
+.revisions table {
+ border-width: 0 0 1px 1px;
+ border-spacing: 0;
+ border-collapse: collapse;
+}
+
+.revisions td, .revisions th {
+ margin: 0;
+ padding: 4px;
+ border-width: 1px 1px 0 0;
+}
+
+.contents {
+ font-size: 90%;
+ margin: 0;
+ padding: 15px;
+ padding-top: 0px;
+ line-height: 130%;
+}
+
+.contents ul {
+ list-style-type: none;
+ margin: 0;
+ padding-left: 20px;
+}
+
+.page nav {
+ margin: -15px;
+ margin-top: 0px;
+ background: none;
+}
+
+.page img {
+ max-width: 100%;
+}
+
+.page hr {
+ height: 1px;
+}
+
+.description {
+ line-height: 150%;
+}
+
+.description pre {
+ padding: 5px;
+ border: 1px dashed #ccc;
+ background-color: #f5f5f5;
+}
+
+.description h1 { font-size: 1.5em; }
+.description h2 { font-size: 1.17em; }
+.description h3 { font-size: 1.0em; }
+.description h4 { font-size: 0.83em; }
+.description h5 { font-size: 0.67em; }
+
+.description p:first-child { margin-top: 0px; }
+.description p:last-child { margin-bottom: 0px; }
+
+.description table, .description td {
+ border-color: #666;
+ border-style: solid;
+}
+
+.description table {
+ border-width: 0 0 1px 1px;
+ border-spacing: 0;
+ border-collapse: collapse;
+}
+
+.description td {
+ margin: 0;
+ padding: 4px;
+ border-width: 1px 1px 0 0;
+}
+
+#left {
+ position: absolute;
+ top: 0;
+ left: calc(min(100vw - 200px, 800px));
+ width: 200px;
+ z-index: 99;
+ border: none;
+ border-left: 1px dashed #ccc;
+}
+
+#right {
+ width: calc(100vw - 200px);
+ max-width: calc(min(100vw - 230px, 770px));
+}
+
+nav img {
+ margin-right: 5px;
+ display: none;
+}
+
+.page nav {
+ width: calc(100vw - 200px);
+ max-width: 800px;
+ left: 0;
+ border-top: 1px dashed #ccc;
+ border-bottom: 1px dashed #ccc;
+}
+
+.page footer {
+ padding: 15px;
+ padding-left: 0;
+ padding-right: 0;
+ font-size: smaller;
+}
+
+@media screen and (max-width: 600px) {
+ #left {
+ position: absolute;
+ display: none;
+ left: 0;
+ top: 0;
+ background: #f5f5f5;
+ border: none;
+ border-right: 1px solid #ccc;
+ border-bottom: 1px solid #ccc;
+ padding-top: 0px;
+ box-shadow: 5px 5px 10px #aaa;
+ }
+
+ #right {
+ width: 100%;
+ max-width: 100%;
+ }
+
+ nav img {
+ display: inline;
+ }
+
+ .page {
+ width: 100%;
+ }
+
+ .page nav {
+ width: 100vw;
+ }
+}
+
+/* Dark mode */
+@media (prefers-color-scheme: dark) {
+ nav img {
+ filter: invert(80%);
+ }
+
+ #left {
+ border: none;
+ border-left: 1px dashed #666;
+ }
+
+ .description pre {
+ color: black;
+ }
+
+ .page nav {
+ border-top: 1px dashed #666;
+ border-bottom: 1px dashed #666;
+ }
+}
+
+@media screen and (max-width: 600px) and (prefers-color-scheme: dark) {
+
+ #left {
+ background-color: #373e48;
+ border: none;
+ border-right: 1px solid #666;
+ border-bottom: 1px solid #666;
+ box-shadow: 5px 5px 10px #333;
+ }
+}