Açıklama Yok
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_typography.scss 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. /*--------------------------------------------------------------
  2. 1. Typography
  3. ----------------------------------------------------------------*/
  4. // Google Fonts
  5. @import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;500;600;700&display=swap');
  6. body,
  7. html {
  8. color: $secondary;
  9. font-size: 16px;
  10. font-weight: 400;
  11. line-height: 1.563em;
  12. overflow-x: hidden !important;
  13. font-family: 'Red Hat Display', sans-serif;
  14. -webkit-font-smoothing: antialiased;
  15. -moz-osx-font-smoothing: grayscale;
  16. position: relative;
  17. }
  18. h1,
  19. h2,
  20. h3,
  21. h4,
  22. h5,
  23. h6 {
  24. clear: both;
  25. color: $primary;
  26. padding: 0;
  27. margin: 0 0 20px 0;
  28. font-weight: 600;
  29. line-height: 1.2em;
  30. font-family: 'Red Hat Display', sans-serif;
  31. }
  32. h1 {
  33. font-size: 56px;
  34. }
  35. h2 {
  36. font-size: 42px;
  37. }
  38. h3 {
  39. font-size: 30px;
  40. }
  41. h4 {
  42. font-size: 24px;
  43. }
  44. h5 {
  45. font-size: 18px;
  46. }
  47. h6 {
  48. font-size: 16px;
  49. }
  50. p {
  51. margin-bottom: 15px;
  52. }
  53. ul {
  54. margin: 0 0 25px 0;
  55. padding-left: 20px;
  56. list-style: square outside none;
  57. }
  58. ol {
  59. padding-left: 20px;
  60. margin-bottom: 25px;
  61. }
  62. dfn,
  63. cite,
  64. em,
  65. i {
  66. font-style: italic;
  67. }
  68. blockquote {
  69. margin: 0 15px;
  70. font-style: italic;
  71. font-size: 20px;
  72. line-height: 1.6em;
  73. margin: 0;
  74. }
  75. address {
  76. margin: 0 0 15px;
  77. }
  78. img {
  79. border: 0;
  80. max-width: 100%;
  81. height: auto;
  82. }
  83. a {
  84. color: inherit;
  85. text-decoration: none;
  86. transition: all 0.3s ease;
  87. }
  88. button {
  89. color: inherit;
  90. transition: all 0.3s ease;
  91. }
  92. a:hover {
  93. text-decoration: none;
  94. color: $accent;
  95. }
  96. table {
  97. width: 100%;
  98. margin-bottom: 25px;
  99. th {
  100. font-weight: 600;
  101. color: $secondary;
  102. }
  103. td,
  104. th {
  105. border-top: 1px solid $border;
  106. padding: 11px 10px;
  107. }
  108. }
  109. dl {
  110. margin-bottom: 25px;
  111. dt {
  112. font-weight: 600;
  113. }
  114. }
  115. b,
  116. strong {
  117. font-weight: bold;
  118. }
  119. pre {
  120. color: $secondary;
  121. border: 1px solid $border;
  122. font-size: 18px;
  123. padding: 25px;
  124. border-radius: 5px;
  125. }
  126. kbd {
  127. font-size: 100%;
  128. background-color: $secondary;
  129. border-radius: 5px;
  130. }
  131. @media screen and (max-width: 991px) {
  132. body,
  133. html {
  134. font-size: 16px;
  135. line-height: 1.6em;
  136. }
  137. h2 {
  138. font-size: 36px;
  139. margin-bottom: 10px;
  140. }
  141. }
  142. input,
  143. textarea {
  144. color: $primary;
  145. }