main.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <style type="text/css">
  2. @font-face {
  3. font-family: 'ola';
  4. src: url("fonts/ola/olasans-webfont.eot");
  5. src: url("fonts/ola/olasans-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/ola/olasans-webfont.woff2") format("woff2"), url("fonts/ola/olasans-webfont.woff") format("woff"), url("fonts/ola/olasans-webfont.ttf") format("truetype");
  6. font-weight: normal;
  7. font-style: normal; }
  8. /* Generated by Font Squirrel (https://www.fontsquirrel.com) on June 17, 2016 */
  9. @font-face {
  10. font-family: 'vollkorn';
  11. src: url("fonts/volkorn/vollkorn-bold-webfont.woff2") format("woff2"), url("fonts/volkorn/vollkorn-bold-webfont.woff") format("woff");
  12. font-weight: bold;
  13. font-style: normal; }
  14. @font-face {
  15. font-family: 'vollkorn';
  16. src: url("fonts/volkorn/vollkorn-bolditalic-webfont.woff2") format("woff2"), url("fonts/volkorn/vollkorn-bolditalic-webfont.woff") format("woff");
  17. font-weight: bold;
  18. font-style: italic; }
  19. @font-face {
  20. font-family: 'vollkorn';
  21. src: url("fonts/volkorn/vollkorn-italic-webfont.woff2") format("woff2"), url("fonts/volkorn/vollkorn-italic-webfont.woff") format("woff");
  22. font-weight: normal;
  23. font-style: italic; }
  24. @font-face {
  25. font-family: 'vollkorn';
  26. src: url("fonts/volkorn/vollkorn-regular-webfont.woff2") format("woff2"), url("fonts/volkorn/vollkorn-regular-webfont.woff") format("woff");
  27. font-weight: normal;
  28. font-style: normal; }
  29. body {
  30. font-family: 'vollkorn',sans-serif;
  31. max-width: 100%;
  32. height: 100%;
  33. margin: 30px 0;
  34. font-size: 14px; }
  35. h1, h2, h3, h4, h5, h6 {
  36. font-family: 'ola',sans-serif;
  37. margin: 0; }
  38. #main h1, #main h2 {
  39. border: 2px solid #000;
  40. padding: 5px;
  41. display: inline-block;
  42. position: absolute; }
  43. #main h1 {
  44. padding: 5px 1rem;
  45. top: 100px;
  46. white-space: nowrap; }
  47. #main h2 {
  48. top: 0;
  49. white-space: nowrap;
  50. padding: 5px 1rem;
  51. font-size: 1rem; }
  52. p {
  53. font-size: 1.5em; }
  54. ul {
  55. margin: 0;
  56. padding: 0; }
  57. li {
  58. list-style: none; }
  59. img {
  60. max-width: 100%; }
  61. code {
  62. border: 1px solid #000;
  63. padding: 5px; }
  64. header#header {
  65. width: 18%;
  66. min-width: 200px;
  67. position: fixed;
  68. padding: 0 1rem; }
  69. header#header h1 {
  70. font-size: 1rem;
  71. border-bottom: 2px solid #000;
  72. margin-bottom: 1em; }
  73. header#header #menu li p {
  74. margin-top: 0;
  75. margin-bottom: 0.2em;
  76. font-size: 1em; }
  77. header#header #menu li a {
  78. color: #000; }
  79. div.user {
  80. position: relative;
  81. width: 55%;
  82. max-width: 800px;
  83. margin: 0 auto 5rem auto; }
  84. div.user header {
  85. min-height: 200px; }
  86. div.user .content {
  87. border: 2px solid #000;
  88. padding: 1rem;
  89. width: 100%;
  90. margin-bottom: 2rem; }
  91. div.user section.images ul {
  92. width: 105%; }
  93. div.user section.images ul li {
  94. line-height: 0;
  95. margin: 1rem 0;
  96. border: 2px solid #000; }
  97. div.user section.images ul li img {
  98. max-width: 100%;
  99. width: 100%; }
  100. div.user p img {
  101. border: none; }
  102. @media print {
  103. @page {
  104. margin: 1cm;
  105. size: A4; }
  106. div.user {
  107. width: 17cm;
  108. margin-top: 2cm;
  109. page-break-after: always;
  110. max-width: 19cm; }
  111. div.user p, div.user code {
  112. page-break-inside: avoid; }
  113. div.user section.images ul li {
  114. page-break-inside: avoid;
  115. margin-top: 1cm; } }
  116. </style>