mirror of
https://github.com/Kenshin/simpread.git
synced 2026-01-25 14:28:34 +00:00
Add theme flag.
This commit is contained in:
parent
941f5f4899
commit
a08b84d400
@ -1,3 +1,4 @@
|
||||
sr-rd-theme-github{}
|
||||
|
||||
/**
|
||||
* Github style
|
||||
@ -6,7 +7,7 @@
|
||||
/**
|
||||
* Common style, include: h1 ~ h6; ol ul; code pre; table; sr-blockquote
|
||||
*/
|
||||
|
||||
|
||||
sr-rd-content h1,sr-rd-content h2,sr-rd-content h3,sr-rd-content h4,sr-rd-content h5,sr-rd-content h6{position:relative;margin-top:1em;margin-bottom:16px;font-weight:bold;line-height:1.4;text-align:left;color: #363636;}sr-rd-content h1{padding-bottom:.3em;font-size:2.25em;line-height:1.2}sr-rd-content h2{padding-bottom:.3em;font-size:1.75em;line-height:1.225}sr-rd-content h3{font-size:1.5em;line-height:1.43}sr-rd-content h4{font-size:1.25em}sr-rd-content h5{font-size:1em}sr-rd-content h6{font-size:1em;color:#777}
|
||||
sr-rd-content ul,sr-rd-content ol{list-style-type: disc;padding:0;margin-top:0;margin-bottom:0;margin-left: 3em;}sr-rd-content ol ol,sr-rd-content ul ol{list-style-type:lower-roman}sr-rd-content ul ul ol,sr-rd-content ul ol ol,sr-rd-content ol ul ol,sr-rd-content ol ol ol{list-style-type:lower-alpha}
|
||||
sr-rd-content code{padding:0;padding-top:.2em;padding-bottom:.2em;margin:0;font-size:85%;background-color:rgba(0,0,0,0.04);border-radius:3px}sr-rd-content code:before,sr-rd-content code:after{letter-spacing:-0.2em;content:"\00a0"}sr-rd-content pre>code{padding:0;margin:0;font-size:100%;word-break:normal;white-space:pre;background:transparent;border:0}sr-rd-content pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f7f7f7;border-radius:3px}sr-rd-content pre{margin-bottom:0;word-break:normal}sr-rd-content pre{word-wrap:normal}sr-rd-content pre code{display:inline;max-width:initial;padding:0;margin:0;overflow:initial;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}sr-rd-content pre code:before,sr-rd-content pre code:after{content:normal}
|
||||
@ -98,4 +99,4 @@ sr-rd-content pre {
|
||||
color: #666;
|
||||
background: #f8f8f8;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
@ -1,3 +1,4 @@
|
||||
sr-rd-theme-gothic{}
|
||||
|
||||
/**
|
||||
* Gothic style
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
sr-rd-theme-newsprint{}
|
||||
|
||||
/**
|
||||
* Newsprint style
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user