mirror of
https://github.com/dongdigua/dongdigua.github.io
synced 2024-11-27 17:10:55 +08:00
fix cursed CSS by stealing from worg.css
This commit is contained in:
parent
027b0fbb5c
commit
32b91437be
65
css/main.css
65
css/main.css
@ -13,14 +13,13 @@ https://github.com/rgb-24bit/org-html-theme-list org-joshua
|
||||
{
|
||||
body {
|
||||
font-family: "Source Serif", "Helvetica Neue", "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, sans-serif !important;
|
||||
font-size: 18px;
|
||||
line-height: 21px;
|
||||
color: #333;
|
||||
max-width: 62em;
|
||||
margin: auto;
|
||||
/* font-size: 18px; */
|
||||
/* line-height: 21px; */
|
||||
color: black;
|
||||
/* margin: auto; */
|
||||
}
|
||||
body #content {
|
||||
padding-top: 30px;
|
||||
padding-top: 1em;
|
||||
}
|
||||
body .title {
|
||||
margin-left: 0;
|
||||
@ -29,26 +28,31 @@ https://github.com/rgb-24bit/org-html-theme-list org-joshua
|
||||
|
||||
#org-div-home-and-up {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
top: 4em;
|
||||
right: 0.5em;
|
||||
margin-top: 0;
|
||||
}
|
||||
#org-div-home-and-up a{
|
||||
color: #587e72;
|
||||
}
|
||||
|
||||
/* TOC inspired by http://jashkenas.github.com/coffee-script */
|
||||
#table-of-contents {
|
||||
z-index: 100;
|
||||
z-index: 1;
|
||||
margin-top: 30px;
|
||||
font-size: 10pt;
|
||||
font-family: sans-serif;
|
||||
position: fixed;
|
||||
right: 0em;
|
||||
top: 0em;
|
||||
background: white;
|
||||
-webkit-box-shadow: 0 0 0.5em #777777;
|
||||
-moz-box-shadow: 0 0 0.5em #777777;
|
||||
line-height: 12pt;
|
||||
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;
|
||||
-moz-border-radius-bottomleft: 5px;
|
||||
text-align: right;
|
||||
/* ensure doesn't flow off the screen when expanded */
|
||||
max-height: 80%;
|
||||
overflow: auto;
|
||||
}
|
||||
#table-of-contents h2 {
|
||||
font-size: 10pt;
|
||||
@ -59,7 +63,6 @@ https://github.com/rgb-24bit/org-html-theme-list org-joshua
|
||||
padding-top: 0.05em;
|
||||
padding-bottom: 0.05em;
|
||||
}
|
||||
|
||||
#table-of-contents #text-table-of-contents {
|
||||
display: none;
|
||||
text-align: left;
|
||||
@ -69,27 +72,20 @@ https://github.com/rgb-24bit/org-html-theme-list org-joshua
|
||||
padding: 0.5em;
|
||||
margin-top: -1.5em;
|
||||
}
|
||||
|
||||
#table-of-contents #text-table-of-contents ul {
|
||||
list-style-position: outside;
|
||||
}
|
||||
|
||||
h1 {
|
||||
/*
|
||||
font-family:Sans;
|
||||
font-weight:bold; */
|
||||
font-size:2em;
|
||||
padding:0 0 30px 0;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
color: #333;
|
||||
margin-bottom: 1.5em;
|
||||
margin-right: 7%;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size:1.5em;
|
||||
line-height:16px;
|
||||
padding:7px 0 0 0;
|
||||
color: #444;
|
||||
color: #587e72;
|
||||
border-bottom: 1px solid #ddd;
|
||||
margin-top: 1.5em;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
.outline-text-2 {
|
||||
@ -97,8 +93,7 @@ https://github.com/rgb-24bit/org-html-theme-list org-joshua
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size:1.3em;
|
||||
color: #555;
|
||||
color: #587e72;
|
||||
margin-left: 0.6em;
|
||||
}
|
||||
|
||||
@ -107,13 +102,12 @@ https://github.com/rgb-24bit/org-html-theme-list org-joshua
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size:1.2em;
|
||||
color: #587e72;
|
||||
margin-left: 1.2em;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.outline-text-4 {
|
||||
margin-left: 1.4em;
|
||||
margin-left: 1.45em;
|
||||
}
|
||||
|
||||
a {
|
||||
@ -139,11 +133,6 @@ https://github.com/rgb-24bit/org-html-theme-list org-joshua
|
||||
list-style-type: circle;
|
||||
list-style-position: outside;
|
||||
}
|
||||
/*
|
||||
ol ol {
|
||||
list-style-type: lower-alpha;
|
||||
}
|
||||
*/
|
||||
|
||||
.todo {
|
||||
color: #CA0000;
|
||||
|
Loading…
Reference in New Issue
Block a user