Welcome to mirror list, hosted at ThFree Co, Russian Federation.

scaffold.sass « sass « assets « themes - github.com/bjacquemet/personal-web.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b061886970f361f9089be95479a53cd29c42814f (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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
@import 'variables'
@import 'mixins'

*
  box-sizing: border-box

html
  background-color: $primary-color

body
  background-color: white
  margin: 0
  min-height: 100%
  font-family: $font-family_main
  color: $dark-blue
  font-size: $font-size_main

  +smartphone
    line-height: $line-height_main_mobile

ul
  margin-top: -$margin-blocks/2

li
  line-height: $line-height_main

p::selection
  background-color: $grey-300
  color: $grey-900

p
  display: block
  font-weight: $font-weight_main
  font-size: 1em
  margin-top: 0
  margin-bottom: $margin-blocks/2
  line-height: $line-height_main
  text-align: justify

h1, h2, h3, h4, h5
  font-family: $font-family_header
  letter-spacing: $letter-spacing_header
  margin-bottom: $margin-blocks/3
  margin-top: $margin-blocks
  line-height: $line-height_h

h1
  font-size: $font-size_h1
  font-weight: $font-weight_h1
h2
  font-size: $font-size_h2
  font-weight: $font-weight_h2
h3
  font-size: $font-size_h3
  font-weight: $font-weight_h3
h4
  font-size: $font-size_h4
  font-weight: $font-weight_h4

blockquote
  margin: 0 $margin-blocks/6
  font-size: 1em
  line-height: $line-height_main
  text-align: justify
  font-style: italic
  &:before
    font-family: Georgia, serif
    content: '\201C'
    position: absolute
    top: 0.15em
    left: -0.18em
    color: $grey-400
    font-size: 7em
    z-index: -1
    font-style: italic

header, #content
  height: 100%

figure
  margin: 0
  img
    margin-bottom: $margin-blocks/5 !important
  figcaption
    p
      font-size: $font-size_medium
      text-align: center

header
  width: $sidebar-width
  background-size: cover
  background-position: top center
  position: fixed
  color: $grey-100

  h2
    font-size: $font-size_h1
    font-weight: $font-weight_h1

  .menu
    text-align: left
    p
      margin-bottom: 0px

  .socials
    padding: $padding-content
    bottom: 0px
    position: fixed
    border: 0

    .social-link a, a:visited, a:focus, a:active
      svg
        fill: white

    .social-link a:focus, a:active, a:hover
      svg
        +transition(fill 0.7s)
        fill: $grey-500

  a, a:link, a:visited
    color: white
    border-bottom: 0
    font-weight: $font-weight_main
    +transition(all 0.25s)
    line-height: $line-height_menu
    &:not(.social-link)
      border-bottom: $grey-100 1px dashed

  a:hover, a:focus, a:active
    font-weight: $font-weight_h1
    color: $secondary-color
    &:not(.social-link)
      border-bottom: $grey-100 1px dashed

  .intro
    padding: $padding-content
    position: absolute
    bottom: 100px

  .rounded-logo
    +rounded
    margin-bottom: 4/3*$margin-blocks
    display: block
    box-shadow: $box-shadow

  +tablet
    width: $sidebar-width-tablet

  +smartphone
    position: relative
    width: 100%
    background: $dark-blue !important
    display: block
    height: auto
    p
      padding-top: $margin-blocks/3

    .socials
      padding: $padding-content_mobile
      position: relative

    .rounded-logo
      text-align: center
      margin: 0 auto

    .intro
      bottom: inherit
      display: block
      position: relative

#content, .breadcrumb
  max-width: $max-width-content
  margin: 0 auto
  display: block

a
  line-height: $line-height_main+0.1

a, a:visited, a:link
  text-decoration: none
  color: inherit
  font-weight: 600
  border-bottom: $grey-600 1px dashed
  padding-bottom: 1px
  +transition(all 0.2s)
  svg
    fill: inherit
    +transition(all 0.2s)

a:hover, a:focus, a:active
  color: $secondary-color
  text-decoration: none
  font-weight: 600
  border-bottom: $grey-600 1px dashed
  padding-bottom: 1px
  svg
    fill: $secondary-color

.content-wrapper
  padding: $padding-content
  position: static
  width: $content-width
  margin-left: $sidebar-width
  float: none
  clear: none
  display: block
  min-height: 88vh

  +tablet
    width: $content-width-tablet
    margin-left: $sidebar-width-tablet

  +smartphone
    position: relative
    width: 100%
    margin-left: 0

footer
  position: absolute
  width: $content-width
  left: $sidebar-width
  background-color: $footer-background-color
  color: $grey-100
  padding: $padding-content

  .footer-wrapper
    max-width: $max-width-content
    margin: 0 auto
    display: block

  +tablet
    width: $content-width-tablet
    left: $sidebar-width-tablet

  +smartphone
    position: relative
    width: 100%
    left: 0px

  p
    margin-bottom: 0

img.gopher
  margin: 0 auto $margin-blocks !important
  max-width: 200px