fix cursed CSS by stealing from worg.css

This commit is contained in:
dongdigua 2023-05-28 14:39:09 +08:00
parent 027b0fbb5c
commit 32b91437be

View File

@ -13,42 +13,46 @@ https://github.com/rgb-24bit/org-html-theme-list org-joshua
{ {
body { body {
font-family: "Source Serif", "Helvetica Neue", "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, sans-serif !important; font-family: "Source Serif", "Helvetica Neue", "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, sans-serif !important;
font-size: 18px; /* font-size: 18px; */
line-height: 21px; /* line-height: 21px; */
color: #333; color: black;
max-width: 62em; /* margin: auto; */
margin: auto;
} }
body #content { body #content {
padding-top: 30px; padding-top: 1em;
} }
body .title { body .title {
margin-left: 0; margin-left: 0;
font-family: Miriam Libre,serif; font-family: Miriam Libre,serif;
} }
#org-div-home-and-up{ #org-div-home-and-up {
position: fixed; position: fixed;
right: 0; right: 0.5em;
top: 4em; margin-top: 0;
}
#org-div-home-and-up a{
color: #587e72;
} }
/* TOC inspired by http://jashkenas.github.com/coffee-script */
#table-of-contents { #table-of-contents {
z-index: 100; z-index: 1;
margin-top: 30px;
font-size: 10pt; font-size: 10pt;
font-family: sans-serif;
position: fixed; position: fixed;
right: 0em; right: 0em;
top: 0em; top: 0em;
background: white; background: white;
-webkit-box-shadow: 0 0 0.5em #777777; line-height: 12pt;
-moz-box-shadow: 0 0 0.5em #777777; text-align: right;
box-shadow: 0 0 1em #777777;
-webkit-box-shadow: 0 0 1em #777777;
-moz-box-shadow: 0 0 1em #777777;
-webkit-border-bottom-left-radius: 5px; -webkit-border-bottom-left-radius: 5px;
-moz-border-radius-bottomleft: 5px; -moz-border-radius-bottomleft: 5px;
text-align: right;
/* ensure doesn't flow off the screen when expanded */ /* ensure doesn't flow off the screen when expanded */
max-height: 80%; max-height: 80%;
overflow: auto;
} }
#table-of-contents h2 { #table-of-contents h2 {
font-size: 10pt; font-size: 10pt;
@ -59,7 +63,6 @@ https://github.com/rgb-24bit/org-html-theme-list org-joshua
padding-top: 0.05em; padding-top: 0.05em;
padding-bottom: 0.05em; padding-bottom: 0.05em;
} }
#table-of-contents #text-table-of-contents { #table-of-contents #text-table-of-contents {
display: none; display: none;
text-align: left; text-align: left;
@ -69,27 +72,20 @@ https://github.com/rgb-24bit/org-html-theme-list org-joshua
padding: 0.5em; padding: 0.5em;
margin-top: -1.5em; margin-top: -1.5em;
} }
#table-of-contents #text-table-of-contents ul { #table-of-contents #text-table-of-contents ul {
list-style-position: outside; list-style-position: outside;
} }
h1 { h1 {
/* margin-bottom: 1.5em;
font-family:Sans; margin-right: 7%;
font-weight:bold; */
font-size:2em;
padding:0 0 30px 0;
margin-top: 10px;
margin-bottom: 10px;
color: #333;
} }
h2 { h2 {
font-size:1.5em; color: #587e72;
line-height:16px; border-bottom: 1px solid #ddd;
padding:7px 0 0 0; margin-top: 1.5em;
color: #444; padding-bottom: 8px;
} }
.outline-text-2 { .outline-text-2 {
@ -97,8 +93,7 @@ https://github.com/rgb-24bit/org-html-theme-list org-joshua
} }
h3 { h3 {
font-size:1.3em; color: #587e72;
color: #555;
margin-left: 0.6em; margin-left: 0.6em;
} }
@ -107,13 +102,12 @@ https://github.com/rgb-24bit/org-html-theme-list org-joshua
} }
h4 { h4 {
font-size:1.2em; color: #587e72;
margin-left: 1.2em; margin-left: 1.2em;
color: #555;
} }
.outline-text-4 { .outline-text-4 {
margin-left: 1.4em; margin-left: 1.45em;
} }
a { a {
@ -139,11 +133,6 @@ https://github.com/rgb-24bit/org-html-theme-list org-joshua
list-style-type: circle; list-style-type: circle;
list-style-position: outside; list-style-position: outside;
} }
/*
ol ol {
list-style-type: lower-alpha;
}
*/
.todo { .todo {
color: #CA0000; color: #CA0000;