summaryrefslogtreecommitdiff
path: root/sass/main.sass
blob: ece16efadab760bd953588c5230ecc2bb5b40dd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
@import settings.sass

body
  font-family: sans-serif
  margin: 0
  color: $black

h1, h2, h3, h4, h5, p, ul, li
  margin: 0

h1
  font-weight: 800
  font-size: 45px
  line-height: 120%
  letter-spacing: 0.02em
  color: $black
  +resp(sm)
    font-size: 32px
  +resp(esm)
    font-size: 28px
h2
  font-weight: 800
  font-size: 32px
  line-height: 140%
  +resp(sm)
    font-size: 21px
p
  font-weight: normal
  line-height: 180%
  font-size: 16px
  color: $black
  +resp(esm)
    font-size: 14px
  @supports (hyphens: auto)
    text-align: justify
    hyphens: auto

pre, code, sample
  white-space: pre-wrap
  hyphens: none

div.container
  max-width: 1340px
  margin: 0 auto
  padding-left: 15px
  padding-right: 15px
  &.small
    max-width: 1000px

#content
  padding-top: 60px
  padding-bottom: 50px
  +resp(sm)
    padding-top: 40px
    padding-bottom: 20px
  +resp(esm)
    padding-top: 30px
  h1
    margin-bottom: 25px
    +resp(esm)
      margin-bottom: 15px
  h2
    margin-top: 25px
    margin-bottom: 20px
    +resp(esm)
      margin-top: 20px
      margin-bottom: 15px
  p
    margin: 15px 0
    +resp(esm)
      margin: 9px 0
  ul
    +resp(sm)
      padding-left: 25px
    +resp(esm)
      padding-left: 15px
    li
      list-style: none
      display: flex
      align-items: center
      margin: 12px 0
      line-height: 150%
      +resp(esm)
        font-size: 14px
        margin: 10px 0
      &:before
        margin-top: 4px
        margin-right: 10px
        content: url('../img/global/list-element.svg')
  a
    color: $dark-orange
    &:hover
      text-decoration: none

@import header.sass
@import front-page/banner.sass
@import front-page/main-text.sass
@import front-page/inform-columns.sass
@import front-page/bottom-text.sass
@import footer.sass