Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. /* Debug borders */
  2. p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
  3. /*
  4.   border: 1px solid red;
  5. */
  6. }
  7.  
  8. body {
  9.   margin: 1em 5% 1em 5%;
  10. }
  11.  
  12. a {
  13.   color: blue;
  14.   text-decoration: underline;
  15. }
  16. a:visited {
  17.   color: fuchsia;
  18. }
  19.  
  20. em {
  21.   font-style: italic;
  22.   color: navy;
  23. }
  24.  
  25. strong {
  26.   font-weight: bold;
  27.   color: #083194;
  28. }
  29.  
  30. tt {
  31.   color: navy;
  32. }
  33.  
  34. h1, h2, h3, h4, h5, h6 {
  35.   color: #527bbd;
  36.   font-family: sans-serif;
  37.   margin-top: 1.2em;
  38.   margin-bottom: 0.5em;
  39.   line-height: 1.3;
  40. }
  41.  
  42. h1, h2, h3 {
  43.   border-bottom: 2px solid silver;
  44. }
  45. h2 {
  46.   padding-top: 0.5em;
  47. }
  48. h3 {
  49.   float: left;
  50. }
  51. h3 + * {
  52.   clear: left;
  53. }
  54.  
  55. div.sectionbody {
  56.   font-family: serif;
  57.   margin-left: 0;
  58. }
  59.  
  60. hr {
  61.   border: 1px solid silver;
  62. }
  63.  
  64. p {
  65.   margin-top: 0.5em;
  66.   margin-bottom: 0.5em;
  67. }
  68.  
  69. ul, ol, li > p {
  70.   margin-top: 0;
  71. }
  72.  
  73. pre {
  74.   padding: 0;
  75.   margin: 0;
  76. }
  77.  
  78. span#author {
  79.   color: #527bbd;
  80.   font-family: sans-serif;
  81.   font-weight: bold;
  82.   font-size: 1.1em;
  83. }
  84. span#email {
  85. }
  86. span#revnumber, span#revdate, span#revremark {
  87.   font-family: sans-serif;
  88. }
  89.  
  90. div#footer {
  91.   font-family: sans-serif;
  92.   font-size: small;
  93.   border-top: 2px solid silver;
  94.   padding-top: 0.5em;
  95.   margin-top: 4.0em;
  96. }
  97. div#footer-text {
  98.   float: left;
  99.   padding-bottom: 0.5em;
  100. }
  101. div#footer-badges {
  102.   float: right;
  103.   padding-bottom: 0.5em;
  104. }
  105.  
  106. div#preamble {
  107.   margin-top: 1.5em;
  108.   margin-bottom: 1.5em;
  109. }
  110. div.tableblock, div.imageblock, div.exampleblock, div.verseblock,
  111. div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
  112. div.admonitionblock {
  113.   margin-top: 1.0em;
  114.   margin-bottom: 1.5em;
  115. }
  116. div.admonitionblock {
  117.   margin-top: 2.0em;
  118.   margin-bottom: 2.0em;
  119.   margin-right: 10%;
  120.   color: #606060;
  121. }
  122.  
  123. div.content { /* Block element content. */
  124.   padding: 0;
  125. }
  126.  
  127. /* Block element titles. */
  128. div.title, caption.title {
  129.   color: #527bbd;
  130.   font-family: sans-serif;
  131.   font-weight: bold;
  132.   text-align: left;
  133.   margin-top: 1.0em;
  134.   margin-bottom: 0.5em;
  135. }
  136. div.title + * {
  137.   margin-top: 0;
  138. }
  139.  
  140. td div.title:first-child {
  141.   margin-top: 0.0em;
  142. }
  143. div.content div.title:first-child {
  144.   margin-top: 0.0em;
  145. }
  146. div.content + div.title {
  147.   margin-top: 0.0em;
  148. }
  149.  
  150. div.sidebarblock > div.content {
  151.   background: #ffffee;
  152.   border: 1px solid silver;
  153.   padding: 0.5em;
  154. }
  155.  
  156. div.listingblock > div.content {
  157.   border: 1px solid silver;
  158.   background: #f4f4f4;
  159.   padding: 0.5em;
  160. }
  161.  
  162. div.quoteblock, div.verseblock {
  163.   padding-left: 1.0em;
  164.   margin-left: 1.0em;
  165.   margin-right: 10%;
  166.   border-left: 5px solid #dddddd;
  167.   color: #777777;
  168. }
  169.  
  170. div.quoteblock > div.attribution {
  171.   padding-top: 0.5em;
  172.   text-align: right;
  173. }
  174.  
  175. div.verseblock > pre.content {
  176.   font-family: inherit;
  177. }
  178. div.verseblock > div.attribution {
  179.   padding-top: 0.75em;
  180.   text-align: left;
  181. }
  182. /* DEPRECATED: Pre version 8.2.7 verse style literal block. */
  183. div.verseblock + div.attribution {
  184.   text-align: left;
  185. }
  186.  
  187. div.admonitionblock .icon {
  188.   vertical-align: top;
  189.   font-size: 1.1em;
  190.   font-weight: bold;
  191.   text-decoration: underline;
  192.   color: #527bbd;
  193.   padding-right: 0.5em;
  194. }
  195. div.admonitionblock td.content {
  196.   padding-left: 0.5em;
  197.   border-left: 3px solid #dddddd;
  198. }
  199.  
  200. div.exampleblock > div.content {
  201.   border-left: 3px solid #dddddd;
  202.   padding-left: 0.5em;
  203. }
  204.  
  205. div.imageblock div.content { padding-left: 0; }
  206. span.image img { border-style: none; }
  207. a.image:visited { color: white; }
  208.  
  209. dl {
  210.   margin-top: 0.8em;
  211.   margin-bottom: 0.8em;
  212. }
  213. dt {
  214.   margin-top: 0.5em;
  215.   margin-bottom: 0;
  216.   font-style: normal;
  217.   color: navy;
  218. }
  219. dd > *:first-child {
  220.   margin-top: 0.1em;
  221. }
  222.  
  223. ul, ol {
  224.     list-style-position: outside;
  225. }
  226. ol.arabic {
  227.   list-style-type: decimal;
  228. }
  229. ol.loweralpha {
  230.   list-style-type: lower-alpha;
  231. }
  232. ol.upperalpha {
  233.   list-style-type: upper-alpha;
  234. }
  235. ol.lowerroman {
  236.   list-style-type: lower-roman;
  237. }
  238. ol.upperroman {
  239.   list-style-type: upper-roman;
  240. }
  241.  
  242. div.compact ul, div.compact ol,
  243. div.compact p, div.compact p,
  244. div.compact div, div.compact div {
  245.   margin-top: 0.1em;
  246.   margin-bottom: 0.1em;
  247. }
  248.  
  249. div.tableblock > table {
  250.   border: 3px solid #527bbd;
  251. }
  252. thead, p.table.header {
  253.   font-family: sans-serif;
  254.   font-weight: bold;
  255. }
  256. tfoot {
  257.   font-weight: bold;
  258. }
  259. td > div.verse {
  260.   white-space: pre;
  261. }
  262. p.table {
  263.   margin-top: 0;
  264. }
  265. /* Because the table frame attribute is overriden by CSS in most browsers. */
  266. div.tableblock > table[frame="void"] {
  267.   border-style: none;
  268. }
  269. div.tableblock > table[frame="hsides"] {
  270.   border-left-style: none;
  271.   border-right-style: none;
  272. }
  273. div.tableblock > table[frame="vsides"] {
  274.   border-top-style: none;
  275.   border-bottom-style: none;
  276. }
  277.  
  278.  
  279. div.hdlist {
  280.   margin-top: 0.8em;
  281.   margin-bottom: 0.8em;
  282. }
  283. div.hdlist tr {
  284.   padding-bottom: 15px;
  285. }
  286. dt.hdlist1.strong, td.hdlist1.strong {
  287.   font-weight: bold;
  288. }
  289. td.hdlist1 {
  290.   vertical-align: top;
  291.   font-style: normal;
  292.   padding-right: 0.8em;
  293.   color: navy;
  294. }
  295. td.hdlist2 {
  296.   vertical-align: top;
  297. }
  298. div.hdlist.compact tr {
  299.   margin: 0;
  300.   padding-bottom: 0;
  301. }
  302.  
  303. .comment {
  304.   background: yellow;
  305. }
  306.  
  307. .footnote, .footnoteref {
  308.   font-size: 0.8em;
  309. }
  310.  
  311. span.footnote, span.footnoteref {
  312.   vertical-align: super;
  313. }
  314.  
  315. #footnotes {
  316.   margin: 20px 0 20px 0;
  317.   padding: 7px 0 0 0;
  318. }
  319.  
  320. #footnotes div.footnote {
  321.   margin: 0 0 5px 0;
  322. }
  323.  
  324. #footnotes hr {
  325.   border: none;
  326.   border-top: 1px solid silver;
  327.   height: 1px;
  328.   text-align: left;
  329.   margin-left: 0;
  330.   width: 20%;
  331.   min-width: 100px;
  332. }
  333.  
  334.  
  335. @media print {
  336.   div#footer-badges { display: none; }
  337. }
  338.  
  339. div#toc {
  340.   margin-bottom: 2.5em;
  341. }
  342.  
  343. div#toctitle {
  344.   color: #527bbd;
  345.   font-family: sans-serif;
  346.   font-size: 1.1em;
  347.   font-weight: bold;
  348.   margin-top: 1.0em;
  349.   margin-bottom: 0.1em;
  350. }
  351.  
  352. div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
  353.   margin-top: 0;
  354.   margin-bottom: 0;
  355. }
  356. div.toclevel2 {
  357.   margin-left: 2em;
  358.   font-size: 0.9em;
  359. }
  360. div.toclevel3 {
  361.   margin-left: 4em;
  362.   font-size: 0.9em;
  363. }
  364. div.toclevel4 {
  365.   margin-left: 6em;
  366.   font-size: 0.9em;
  367. }
  368.