elegant_bootstrap.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482
  1. /*
  2. * I add this to html files generated with pandoc.
  3. */
  4. html {
  5. font-size: 100%;
  6. overflow-y: scroll;
  7. -webkit-text-size-adjust: 100%;
  8. -ms-text-size-adjust: 100%;
  9. }
  10. body {
  11. color: #444;
  12. font-family: Georgia, Palatino, 'Palatino Linotype', Times, 'Times New Roman', serif;
  13. font-size: 12px;
  14. line-height: 1.8;
  15. background: #fefefe;
  16. }
  17. a {
  18. color: #0645ad;
  19. text-decoration: none;
  20. }
  21. a:visited {
  22. color: #0b0080;
  23. }
  24. a:hover {
  25. color: #06e;
  26. }
  27. a:active {
  28. color: #faa700;
  29. }
  30. a:focus {
  31. outline: thin dotted;
  32. }
  33. *::-moz-selection {
  34. background: rgba(255, 255, 0, 0.3);
  35. color: #000;
  36. }
  37. *::selection {
  38. background: rgba(255, 255, 0, 0.3);
  39. color: #000;
  40. }
  41. a::-moz-selection {
  42. background: rgba(255, 255, 0, 0.3);
  43. color: #0645ad;
  44. }
  45. a::selection {
  46. background: rgba(255, 255, 0, 0.3);
  47. color: #0645ad;
  48. }
  49. p {
  50. margin: 1em 0;
  51. }
  52. img {
  53. max-width: 100%;
  54. }
  55. h1, h2, h3, h4, h5, h6 {
  56. color: #111;
  57. line-height: 125%;
  58. /* margin-top: 2em; */
  59. font-weight: normal;
  60. }
  61. h4, h5, h6 {
  62. font-weight: bold;
  63. }
  64. h1 {
  65. font-size: 2.5em;
  66. }
  67. h2 {
  68. font-size: 2em;
  69. }
  70. h3 {
  71. font-size: 1.5em;
  72. }
  73. h4 {
  74. font-size: 1.2em;
  75. }
  76. h5 {
  77. font-size: 1em;
  78. }
  79. h6 {
  80. font-size: 0.9em;
  81. }
  82. blockquote {
  83. color: #666666;
  84. margin: 0;
  85. padding-left: 3em;
  86. border-left: 0.5em #EEE solid;
  87. }
  88. hr {
  89. display: block;
  90. height: 2px;
  91. border: 0;
  92. border-top: 1px solid #aaa;
  93. border-bottom: 1px solid #eee;
  94. margin: 1em 0;
  95. padding: 0;
  96. }
  97. pre, code, kbd, samp {
  98. color: #000;
  99. font-family: monospace, monospace;
  100. _font-family: 'courier new', monospace;
  101. font-size: 0.98em;
  102. }
  103. pre {
  104. white-space: pre;
  105. white-space: pre-wrap;
  106. word-wrap: break-word;
  107. }
  108. b, strong {
  109. font-weight: bold;
  110. }
  111. dfn {
  112. font-style: italic;
  113. }
  114. ins {
  115. background: #ff9;
  116. color: #000;
  117. text-decoration: none;
  118. }
  119. mark {
  120. background: #ff0;
  121. color: #000;
  122. font-style: italic;
  123. font-weight: bold;
  124. }
  125. sub, sup {
  126. font-size: 75%;
  127. line-height: 0;
  128. position: relative;
  129. vertical-align: baseline;
  130. }
  131. sup {
  132. top: -0.5em;
  133. }
  134. sub {
  135. bottom: -0.25em;
  136. }
  137. ul, ol {
  138. margin: 1em 0;
  139. padding: 0 0 0 2em;
  140. }
  141. li {
  142. line-height: inherit;
  143. }
  144. li p:last-child {
  145. margin-bottom: 0;
  146. }
  147. ul ul, ol ol {
  148. margin: .3em 0;
  149. }
  150. dl {
  151. margin-bottom: 1em;
  152. }
  153. dt {
  154. font-weight: bold;
  155. margin-bottom: .8em;
  156. }
  157. dd {
  158. margin: 0 0 .8em 2em;
  159. }
  160. dd:last-child {
  161. margin-bottom: 0;
  162. }
  163. img {
  164. border: 0;
  165. -ms-interpolation-mode: bicubic;
  166. vertical-align: middle;
  167. }
  168. figure {
  169. display: block;
  170. text-align: center;
  171. margin: 1em 0;
  172. }
  173. figure img {
  174. border: none;
  175. margin: 0 auto;
  176. }
  177. figcaption {
  178. font-size: 0.8em;
  179. font-style: italic;
  180. margin: 0 0 .8em;
  181. }
  182. table {
  183. margin-bottom: 2em;
  184. border-bottom: 1px solid #ddd;
  185. border-right: 1px solid #ddd;
  186. border-spacing: 0;
  187. border-collapse: collapse;
  188. }
  189. table th {
  190. padding: .2em 1em;
  191. background-color: #eee;
  192. border-top: 1px solid #ddd;
  193. border-left: 1px solid #ddd;
  194. }
  195. table td {
  196. padding: .2em 1em;
  197. border-top: 1px solid #ddd;
  198. border-left: 1px solid #ddd;
  199. vertical-align: top;
  200. }
  201. .author {
  202. font-size: 1.2em;
  203. text-align: center;
  204. }
  205. @media only screen and (min-width: 480px) {
  206. body {
  207. font-size: 14px;
  208. }
  209. }
  210. @media only screen and (min-width: 768px) {
  211. body {
  212. font-size: 16px;
  213. }
  214. }
  215. @media print {
  216. * {
  217. background: transparent !important;
  218. color: black !important;
  219. filter: none !important;
  220. -ms-filter: none !important;
  221. }
  222. body {
  223. font-size: 12pt;
  224. max-width: 100%;
  225. }
  226. a, a:visited {
  227. text-decoration: underline;
  228. }
  229. hr {
  230. height: 1px;
  231. border: 0;
  232. border-bottom: 1px solid black;
  233. }
  234. a[href]:after {
  235. content: " (" attr(href) ")";
  236. }
  237. abbr[title]:after {
  238. content: " (" attr(title) ")";
  239. }
  240. .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
  241. content: "";
  242. }
  243. pre, blockquote {
  244. border: 1px solid #999;
  245. padding-right: 1em;
  246. page-break-inside: avoid;
  247. }
  248. tr, img {
  249. page-break-inside: avoid;
  250. }
  251. img {
  252. max-width: 100% !important;
  253. }
  254. @page :left {
  255. margin: 15mm 20mm 15mm 10mm;
  256. }
  257. @page :right {
  258. margin: 15mm 10mm 15mm 20mm;
  259. }
  260. p, h2, h3 {
  261. orphans: 3;
  262. widows: 3;
  263. }
  264. h2, h3 {
  265. page-break-after: avoid;
  266. }
  267. }
  268. .Alert,
  269. .Warning,
  270. .Error,
  271. .Success,
  272. .Note {
  273. padding: 11px;
  274. margin-bottom: 24px;
  275. border-style: solid;
  276. border-width: 1px;
  277. border-radius: 4px;
  278. }
  279. .Alert p,
  280. .Warning p,
  281. .Error p,
  282. .Success p,
  283. .Note p {
  284. margin-top: 0;
  285. }
  286. .Alert p:last-child,
  287. .Warning p:last-child,
  288. .Error p:last-child,
  289. .Success p:last-child,
  290. .Note p:last-child {
  291. margin-bottom: 0;
  292. }
  293. .Alert {
  294. color: #224466;
  295. background-color: #E2EEF9;
  296. border-color: #BAC6D3;
  297. }
  298. .Warning {
  299. color: #4C4A42;
  300. background-color: #FFF9EA;
  301. border-color: #DFD8C2;
  302. }
  303. .Error {
  304. color: #991111;
  305. background-color: #FCDEDE;
  306. border-color: #D2B2B2;
  307. }
  308. .Success {
  309. color: #22662C;
  310. background-color: #E2F9E5;
  311. border-color: #BAD3BE;
  312. }
  313. .Note {
  314. color: #2F363D;
  315. background-color: #F6F8FA;
  316. border-color: #D5D8DA;
  317. }
  318. .Alert h1,
  319. .Alert h2,
  320. .Alert h3,
  321. .Alert h4,
  322. .Alert h5,
  323. .Alert h6 {
  324. color: #224466;
  325. margin-bottom: 0;
  326. }
  327. .Warning h1,
  328. .Warning h2,
  329. .Warning h3,
  330. .Warning h4,
  331. .Warning h5,
  332. .Warning h6 {
  333. color: #4C4A42;
  334. margin-bottom: 0;
  335. }
  336. .Error h1,
  337. .Error h2,
  338. .Error h3,
  339. .Error h4,
  340. .Error h5,
  341. .Error h6 {
  342. color: #991111;
  343. margin-bottom: 0;
  344. }
  345. .Success h1,
  346. .Success h2,
  347. .Success h3,
  348. .Success h4,
  349. .Success h5,
  350. .Success h6 {
  351. color: #22662C;
  352. margin-bottom: 0;
  353. }
  354. .Note h1,
  355. .Note h2,
  356. .Note h3,
  357. .Note h4,
  358. .Note h5,
  359. .Note h6 {
  360. color: #2F363D;
  361. margin-bottom: 0;
  362. }
  363. .Alert h1:first-child,
  364. .Alert h2:first-child,
  365. .Alert h3:first-child,
  366. .Alert h4:first-child,
  367. .Alert h5:first-child,
  368. .Alert h6:first-child {
  369. margin-top: 0;
  370. }
  371. .Warning h1:first-child,
  372. .Warning h2:first-child,
  373. .Warning h3:first-child,
  374. .Warning h4:first-child,
  375. .Warning h5:first-child,
  376. .Warning h6:first-child {
  377. margin-top: 0;
  378. }
  379. .Error h1:first-child,
  380. .Error h2:first-child,
  381. .Error h3:first-child,
  382. .Error h4:first-child,
  383. .Error h5:first-child,
  384. .Error h6:first-child {
  385. margin-top: 0;
  386. }
  387. .Success h1:first-child,
  388. .Success h2:first-child,
  389. .Success h3:first-child,
  390. .Success h4:first-child,
  391. .Success h5:first-child,
  392. .Success h6:first-child {
  393. margin-top: 0;
  394. }
  395. .Note h1:first-child,
  396. .Note h2:first-child,
  397. .Note h3:first-child,
  398. .Note h4:first-child,
  399. .Note h5:first-child,
  400. .Note h6:first-child {
  401. margin-top: 0;
  402. }