main.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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 {
  39. white-space: nowrap; }
  40. #main h2 {
  41. white-space: nowrap;
  42. font-size: 1rem; }
  43. p {
  44. font-size: 1.5em; }
  45. ul {
  46. margin: 0;
  47. padding: 0; }
  48. li {
  49. list-style: none; }
  50. img {
  51. max-width: 100%; }
  52. code {
  53. padding: 5px; }
  54. header#header {
  55. width: 18%;
  56. min-width: 200px;
  57. position: fixed;
  58. padding: 0 1rem; }
  59. header#header h1 {
  60. font-size: 1rem;
  61. margin-bottom: 1em; }
  62. header#header #menu li p {
  63. margin-top: 0;
  64. margin-bottom: 0.2em;
  65. font-size: 1em; }
  66. header#header #menu li a {
  67. color: #000; }
  68. div.user {
  69. position: relative;
  70. width: 55%;
  71. max-width: 800px;
  72. margin: 0 auto 5rem auto; }
  73. div.user header {
  74. min-height: 200px; }
  75. div.user .content {
  76. padding: 1rem;
  77. width: 100%;
  78. margin-bottom: 2rem; }
  79. div.user section.images ul {
  80. width: 105%; }
  81. div.user section.images ul li {
  82. line-height: 0;
  83. margin: 1rem 0; }
  84. div.user section.images ul li img {
  85. max-width: 100%;
  86. width: 100%; }
  87. div.user p img {
  88. border: none; }
  89. @media print {
  90. @page {
  91. margin: 1cm;
  92. size: A4; }
  93. div.user {
  94. width: 17cm;
  95. margin-top: 2cm;
  96. page-break-after: always;
  97. max-width: 19cm; }
  98. div.user p, div.user code {
  99. page-break-inside: avoid; }
  100. div.user section.images ul li {
  101. page-break-inside: avoid;
  102. margin-top: 1cm; } }
  103. </style>