summaryrefslogtreecommitdiff
path: root/sass/content-div.sass
blob: 2891ceeb20adc3473e36de9b8b642232382b7916 (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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
@import settings

.get-page

  .content-section
    +resolution(992)
      padding-top: 40px
    +resolution(576, 991)
      padding-top: 54px
    +resolution(0, 575)
      padding-top: 32px

.contribute-page,
.status-page

  .content-section
    +resolution(992)
      padding: 40px 0 144px
    +resolution(576, 991)
      padding: 54px 0 64px
    +resolution(0, 575)
      padding: 32px 0 64px

.nightly-builds-page
  .content-section
    padding-top: 0
    +resolution(992)
      padding-bottom: 144px
    +resolution(576, 991)
      padding-bottom: 64px
    +resolution(0, 575)
      padding-bottom: 64px

.contributor-subs-page

  .content-section
    +resolution(576)
      padding-top: 20px
    +resolution(0, 575)
      padding-top: 32px

.get-page,
.contribute-page,
.nightly-builds-page,
.contributor-subs-page,
.status-page

  .content-section
    display: flex
    align-items: center
    flex-direction: column

  .content-div
    display: flex
    flex-direction: column
    width: 100%
    box-sizing: border-box
    +resolution(0, 575)
      padding: 0 20px
    +resolution(576, 991)
      padding: 0 15px
    +resolution(576, 991)
      max-width: 738px
    +resolution(992)
      max-width: 810px

    > div:first-of-type

      h2
        margin-top: 0

    h2
      font-size: 22px
      letter-spacing: $em
      +resolution(576)
        margin-top: 40px
      +resolution(0, 575)
        margin-top: 32px

    h3
      letter-spacing: $px
      color: $grey-dark
      line-height: 1.6
      font-family: $r
      margin-top: 16px
      +resolution(576)
        font-size: 18px
      +resolution(0, 575)
        font-size: 16px

    .nightly-builds,
    .lts,
    .legacy-lts,
    .why-contribute,
    .start,
    .image-signatures,
    .guidelines

      p
        line-height: 1.6
        letter-spacing: $px
        color: $grey-dark
        &:nth-child(1n+2)
          margin-top: 15px
        &:nth-of-type(1)
          margin-top: 10px

        +resolution(0, 575)
          font-size: 16px
        +resolution(576)
          font-size: 18px

      a
        color: $primary
        +resolution(0, 575)
          text-decoration: none

        &:hover
          text-decoration: none

        &.footnote
          margin: 0 0 0 2px
          text-decoration: none

.image-signatures

  h2
    +resolution(576)
      margin-top: 40px !important
    +resolution(0, 575)
      margin-top: 32px !important

.status-page

  .content-div
    +resolution(992)
      max-width: 945px

    +resolution(0, 575)
      padding-bottom: 20px
      scroll-behavior: smooth

    &::-webkit-scrollbar 
      +resolution(0, 575)
        height: 3px
    
    &::-webkit-scrollbar-track 
      +resolution(0, 575)
        margin: 0 20px
    
    &::-webkit-scrollbar-thumb 
      +resolution(0, 575)
        background-color: #99A0A5