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;
font-size: 10pt; margin-top: 30px;
position: fixed; font-size: 10pt;
right: 0em; font-family: sans-serif;
top: 0em; position: fixed;
background: white; right: 0em;
-webkit-box-shadow: 0 0 0.5em #777777; top: 0em;
-moz-box-shadow: 0 0 0.5em #777777; background: white;
-webkit-border-bottom-left-radius: 5px; line-height: 12pt;
-moz-border-radius-bottomleft: 5px; text-align: right;
text-align: right; box-shadow: 0 0 1em #777777;
/* ensure doesn't flow off the screen when expanded */ -webkit-box-shadow: 0 0 1em #777777;
max-height: 80%; -moz-box-shadow: 0 0 1em #777777;
overflow: auto; -webkit-border-bottom-left-radius: 5px;
-moz-border-radius-bottomleft: 5px;
/* ensure doesn't flow off the screen when expanded */
max-height: 80%;
} }
#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,51 +72,42 @@ 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 {
margin-left: 0.1em margin-left: 0.1em
} }
h3 { h3 {
font-size:1.3em; color: #587e72;
color: #555; margin-left: 0.6em;
margin-left: 0.6em;
} }
.outline-text-3 { .outline-text-3 {
margin-left: 0.9em; margin-left: 0.9em;
} }
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 {
@ -131,19 +125,14 @@ https://github.com/rgb-24bit/org-html-theme-list org-joshua
} }
ul { ul {
list-style-type: square; list-style-type: square;
list-style-image: inherit; list-style-image: inherit;
list-style-position: outside; list-style-position: outside;
} }
ol { ol {
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;
@ -181,8 +170,8 @@ https://github.com/rgb-24bit/org-html-theme-list org-joshua
} }
table.full td { table.full td {
border: 1px solid black; border: 1px solid black;
padding: 5px; padding: 5px;
} }
code { code {
@ -237,9 +226,9 @@ https://github.com/rgb-24bit/org-html-theme-list org-joshua
margin-left:auto; margin-left:auto;
margin-right:auto; margin-right:auto;
padding:0.7em; padding:0.7em;
/* border:1px solid #CCC; */ /* border:1px solid #CCC; */
/* border-radius:10px; */ /* border-radius:10px; */
/* -moz-border-radius:10px; */ /* -moz-border-radius:10px; */
} }
.org-info-box img { .org-info-box img {
float:left; float:left;
@ -334,13 +323,13 @@ https://github.com/rgb-24bit/org-html-theme-list org-joshua
@media screen @media screen
{ {
#table-of-contents { #table-of-contents {
float: right; float: right;
padding-right: 5px; padding-right: 5px;
border: 1px solid #CCC; border: 1px solid #CCC;
max-width: 50%; max-width: 50%;
overflow: auto; overflow: auto;
} }
} /* END OF @media screen */ } /* END OF @media screen */
.due { .due {