libreboot.css 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. html {background:#fff}
  2. .title {
  3. background:url("https://av.libreboot.org/logo/sl.png") no-repeat;
  4. background-size:auto 99%;
  5. }
  6. div.title {background-position:right}
  7. h1.title {
  8. text-align:center;
  9. min-height:2em;
  10. margin:0;
  11. padding:0 4em
  12. }
  13. a.title{background:none}
  14. body,a:hover,#TOC h1 {
  15. font:1em sans-serif;
  16. color:#222;
  17. line-height:1.4
  18. }
  19. div.page {
  20. max-width:60em;
  21. margin:0 auto;
  22. padding:.2em 1em
  23. }
  24. pre,table,.title,.date {
  25. overflow-x:auto;
  26. display:block
  27. }
  28. table {
  29. border-collapse:collapse;
  30. width:100%
  31. }
  32. th{background:#cdcdcd}
  33. th,td {border:solid 1px #888}
  34. tr:nth-child(even) {background-color:#eee}
  35. code,pre,#TOC {background-color:#ececec}
  36. img,#TOC {max-width:100%}
  37. a {color:#22D}
  38. a.uri {word-wrap:break-word}
  39. h1, h2, h3, .h:hover a {display:inline}
  40. p.author, p.date,.h a,p.title-logo {display:none}
  41. div.nav {
  42. text-align:center;
  43. clear:right
  44. }
  45. header ul:first-of-type,
  46. div.nav ul:first-of-type,
  47. div#footer ul:last-of-type {
  48. padding:0;
  49. margin:0;
  50. text-align:center
  51. }
  52. header ul:first-of-type > li,
  53. div.nav ul:first-of-type > li,
  54. div#footer ul:last-of-type li {
  55. display:inline;
  56. padding:0 .5em
  57. }
  58. #TOC {
  59. min-width:25%;
  60. float:left;
  61. margin:1em;
  62. padding:.2em 1em
  63. }
  64. #TOC li > ul {
  65. margin-left:0;
  66. padding-left:.5em
  67. }
  68. @media (max-width:50em) {
  69. .title {background:none}
  70. h1.title{
  71. min-height:0em;
  72. padding:0 0
  73. }
  74. p.title-logo {
  75. display:block;
  76. text-align:center;
  77. margin:0 auto
  78. }
  79. img.title-logo {
  80. max-width:50%;
  81. height:auto
  82. }
  83. }