您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

271 行
4.7 KiB

  1. @charset "UTF-8";
  2. @include font-definition('Icons', 'icons/icons');
  3. @include font-definition('IHK24FontAwesome', 'ihk24-fontawesome/ihk24-fontawesome');
  4. @include font-definition('Korb', 'korb_regular_macroman/korb-webfont');
  5. @include font-definition('Korb', 'korb_bold_macroman/korb_bold-webfont', 700);
  6. @include font-definition('Source Sans Pro', 'sourcesanspro_regular_macroman/SourceSansPro-Regular-webfont');
  7. @include font-definition('Source Sans Pro', 'sourcesanspro_light_macroman/SourceSansPro-Light-webfont', 300);
  8. @include font-definition('Source Sans Pro', 'sourcesanspro_italic_macroman/SourceSansPro-It-webfont', 400, italic);
  9. @include font-definition('Source Sans Pro', 'sourcesanspro_semibold_macroman/SourceSansPro-Semibold-webfont', 600);
  10. @include font-definition('Source Sans Pro', 'sourcesanspro_bold_macroman/SourceSansPro-Bold-webfont', 700);
  11. @mixin h1 {
  12. font-family: "Korb", sans-serif;
  13. font-size: 64px;
  14. line-height: 1.1;
  15. font-weight: 400;
  16. margin: 0.6em -0.02em 0.5em;
  17. @media(max-width: 1339px) {
  18. font-size: 54px;
  19. }
  20. @media(max-width: 999px) {
  21. font-size: 46px;
  22. }
  23. @media(max-width: 767px) {
  24. font-size: 36px;
  25. }
  26. }
  27. @mixin h2 {
  28. font-family: "Korb", sans-serif;
  29. font-size: 42px;
  30. line-height: 1.2;
  31. font-weight: 400;
  32. margin: 1.6em -0.02em 0.6em;
  33. @media(max-width: 1339px) {
  34. font-size: 36px;
  35. }
  36. @media(max-width: 999px) {
  37. font-size: 32px;
  38. }
  39. @media(max-width: 767px) {
  40. font-size: 28px;
  41. }
  42. }
  43. @mixin h3 {
  44. font-family: "Korb", sans-serif;
  45. font-size: 36px;
  46. line-height: 1.2;
  47. font-weight: 400;
  48. margin: 0.8em -0.02em 0.6em;
  49. @media(max-width: 1339px) {
  50. font-size: 32px;
  51. }
  52. @media(max-width: 999px) {
  53. font-size: 28px;
  54. }
  55. @media(max-width: 767px) {
  56. font-size: 24px;
  57. }
  58. }
  59. @mixin h4 {
  60. font-family: "Korb", sans-serif;
  61. font-style: normal;
  62. font-weight: normal;
  63. font-size: 28px;
  64. line-height: 1.2;
  65. margin: 1.5em 0 0.8em;
  66. @media(max-width: 1339px) {
  67. font-size: 24px;
  68. }
  69. @media(max-width: 767px) {
  70. font-size: 20px;
  71. }
  72. }
  73. @mixin h5 {
  74. font-family: "Korb", sans-serif;
  75. font-size: 22px;
  76. line-height: 1.2;
  77. font-weight: 400;
  78. margin: 1em 0 0.6em;
  79. @media(max-width: 1339px) {
  80. font-size: 20px;
  81. }
  82. @media(max-width: 767px) {
  83. font-size: 18px;
  84. }
  85. }
  86. @mixin h6 {
  87. font-size: 22px;
  88. font-weight: 600;
  89. margin: 1.2em 0 0.5em;
  90. @media(max-width: 767px) {
  91. font-size: 18px;
  92. }
  93. }
  94. webforms-component {
  95. font-family: 'Source Sans Pro', sans-serif;
  96. font-size: 22px;
  97. line-height: 1.5;
  98. color: $color-text;
  99. color: var(--theme-color-text, $color-text);
  100. -webkit-font-smoothing: antialiased;
  101. -moz-osx-font-smoothing: grayscale;
  102. @media(max-width: 1339px) {
  103. font-size: 20px;
  104. }
  105. @media(max-width: 999px) {
  106. font-size: 18px;
  107. }
  108. @media(max-width: 767px) {
  109. //font-size: 16px;
  110. }
  111. * {
  112. box-sizing: border-box;
  113. }
  114. .visually-hidden, .visuallyHidden, .visuallyhidden {
  115. position: absolute;
  116. opacity: 0;
  117. pointer-events: none;
  118. max-width: 0;
  119. max-height: 0;
  120. }
  121. }
  122. webforms-component{
  123. h1, .like-h1 {
  124. @include h1;
  125. }
  126. h2, .like-h2 {
  127. @include h2;
  128. }
  129. h3, .like-h3 {
  130. @include h3;
  131. }
  132. h4, .like-h4 {
  133. @include h4;
  134. }
  135. h5, .like-h5 {
  136. @include h5;
  137. }
  138. h6 {
  139. @include h6;
  140. }
  141. }
  142. .title {
  143. font-family: "Korb", sans-serif;
  144. font-weight: 400;
  145. }
  146. webforms-component{
  147. h1, .like-h1,
  148. h2, .like-h2,
  149. h3, .like-h3,
  150. h5,
  151. h6 {
  152. &:first-child {
  153. margin-top: 0;
  154. }
  155. }
  156. p, .text, ul.nobreaks {
  157. margin: 0 0 0.5em;
  158. }
  159. ul.nobreaks {
  160. padding: 0;
  161. list-style: none;
  162. li {
  163. margin: 0;
  164. padding: 0;
  165. &:after {
  166. display: none;
  167. }
  168. }
  169. }
  170. p a, .text a {
  171. color: $color-link;
  172. transition: 0.2s ease;
  173. &:hover {
  174. color: $color-link-hover;
  175. }
  176. }
  177. .clearfix {
  178. &:after {
  179. content: "";
  180. position: relative;
  181. display: block;
  182. clear: both;
  183. }
  184. }
  185. .kicker {
  186. display: block;
  187. font-size: 16px;
  188. text-transform: uppercase;
  189. margin-bottom: 2px;
  190. letter-spacing: 0.3px;
  191. @media(max-width: 767px) {
  192. font-size: 14px;
  193. }
  194. + h1, + h2, + h3, + h4 {
  195. margin-top: 0;
  196. }
  197. }
  198. .initial {
  199. font-weight: 600;
  200. margin: 12px 0 1em;
  201. min-height: 3.4em;
  202. &::first-letter {
  203. float: left;
  204. font-size: 3.4em;
  205. line-height: 1;
  206. margin: -0.04em 0.08em -0.2em -0.02em;
  207. font-weight: 400;
  208. }
  209. @media(max-width: 767px) {
  210. margin: 24px 0;
  211. &::first-letter {
  212. margin-top: -0.05em;
  213. }
  214. }
  215. }
  216. [data-browser="firefox"] {
  217. .initial::first-letter {
  218. margin-top: 0.113em;
  219. }
  220. }
  221. .icon-box {
  222. font-family: "Icons";
  223. font-weight: 400;
  224. text-transform: none;
  225. text-decoration: none !important;
  226. }
  227. }