global.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. /*
  2. * This CSS is released under Creative Commons Zero 1.0 Universal license:
  3. * https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt
  4. */
  5. h1,h2,h3,h4{font-weight:normal; font-size:2em}
  6. .specs
  7. {
  8. float: right;
  9. }
  10. :not(p)
  11. {
  12. max-width: 85em;
  13. margin: 0 auto;
  14. }
  15. @media (max-width:90em)
  16. {
  17. html
  18. {
  19. font-size: 0.95em;
  20. }
  21. }
  22. @media (min-width:90em)
  23. {
  24. html
  25. {
  26. font-size: 1.05em;
  27. }
  28. }
  29. html
  30. {
  31. color: #280518;
  32. background: #efe9e9;
  33. font-family: sans-serif;
  34. line-height: 1.4;
  35. }
  36. hr {
  37. color: #eee;
  38. }
  39. code,pre, #TOC, a:hover, img
  40. {
  41. background: #e3d6d6;
  42. border-radius:0.25em;
  43. }
  44. header img
  45. {
  46. background: none;
  47. }
  48. a
  49. {
  50. color: #3e223e;
  51. }
  52. img,video,iframe,pre
  53. {
  54. max-width: 100%;
  55. overflow: auto;
  56. }
  57. .title>*, header ul>li, .nav ul>li,
  58. #footer ul>li, .h:hover>*
  59. {
  60. display: inline;
  61. margin: 0.7%;
  62. text-align :center;
  63. }
  64. .title>*, span.date
  65. {
  66. display: block;
  67. }
  68. html, ul, #TOC
  69. {
  70. padding: 1em;
  71. }
  72. .date, .author, .h a
  73. {
  74. display: none;
  75. }
  76. @media (min-width:60em)
  77. {
  78. .title-logo{display:none; background:none;}
  79. div.title,h1.title {
  80. background:url("https://av.libreboot.org/logo/logo.png") no-repeat;
  81. background-size:auto 99%;
  82. min-height:2em
  83. }
  84. div.title {background-position:right}
  85. h1.title {padding:0 4em; font-size:2.5em; font-weight:normal;}
  86. #TOC
  87. {
  88. float: left;
  89. margin: 1em;
  90. min-width: 25%;
  91. }
  92. }
  93. .f, .f *
  94. {
  95. position: fixed;
  96. max-width: 100%;
  97. max-height: 100%;
  98. top: 50%;
  99. left: 50%;
  100. }
  101. .f *
  102. {
  103. transform: translate(-50%, -50%);
  104. }
  105. .f
  106. {
  107. display: none;
  108. top: 0;
  109. left: 0;
  110. width: 100%;
  111. height: 100%;
  112. background: rgba(0, 0, 0, 0.8);
  113. }
  114. *:focus + .f
  115. {
  116. display: block;
  117. }
  118. img
  119. {
  120. cursor: pointer;
  121. }
  122. .l,.r {
  123. max-width:25%;
  124. margin:1em;
  125. }
  126. .r {
  127. float: right;
  128. }
  129. .l {
  130. float: left;
  131. }
  132. .p {
  133. max-width: 13em;
  134. }