mirror of https://github.com/onweru/compose.git

weru
10.12.2021 545f904da7fa680aab3a1a58940a6cdeef08d912
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
*
  box-sizing: border-box
  -webkit-appearance: none
  margin: 0
  padding: 0
 
body, html
  scroll-behavior: smooth
  font-kerning: normal
  -webkit-text-size-adjust: 100%
 
body
  font-family: var(--font)
  background-color: var(--bg)
  color: var(--text)
  font-size: 18px
  line-height: 1.5
  max-width: 1440px
  margin: 0 auto
  position: relative
  font-kerning: normal
  display: flex
  flex-direction: column
  justify-content: space-between
  min-height: 100vh
  -webkit-font-smoothing: antialiased
  -moz-osx-font-smoothing: grayscale
 
a
  text-decoration: none
  color: inherit
p
  padding: 1rem 0
  // opacity: 0.9
  &:empty
    display: none
li
  &, p
    padding: 0.25rem 0
blockquote
  opacity: 0.8
  padding: 1rem
  position: relative
  quotes: '\201C''\201D''\2018''\2019'
  margin: 0.75rem 0
  display: flex
  flex-flow: row wrap
  background-repeat: no-repeat
  background-size: 5rem
  background-position: 50% 50%
  position: relative
  background-color: var(--accent)
  border-radius: 0.25rem
  overflow: hidden
  &::before
    content: ""
    padding: 2px
    position: absolute
    top: 0
    bottom: 0
    left: 0
    background: var(--theme)
 
  p
    padding-left: 0.5rem !important
    font-size: 1.1rem !important
    width: 100%
    font-style: italic
 
h1,h2,h3,h4,h5
  font-family: inherit
  font-weight: 500
  padding: 0.33rem 0
  color: inherit
  line-height: 1.35
 
h1
  font-size: 200%
h2
  font-size: 175%
h3
  font-size: 150%
h4
  font-size: 125%
h5
  font-size: 120%
h6
  font-size: 100%
 
img, svg, figure
  max-width: 100%
  vertical-align: middle
img
  height: auto
  margin: 1rem auto
  padding: 0
 
main
  flex: 1
  @media screen and (min-width: 42rem)
    padding-bottom: 45px
 
ol, ul
  list-style: none
 
b, strong
  font-weight: 500
 
hr
  border: none
  padding: 0.5px
  background: var(--text)
  opacity: 0.5
  margin: 1rem 0
 
.aside
  overflow-y: auto
  background: var(--accent)
  padding: 1rem 1.5rem
  // padding-bottom: 2rem
  border-radius: 0.25rem
  align-self: start
  max-height: 80vh
  position: sticky
  z-index: 3
  top: 0.25rem
  @media screen and (min-width: 42rem)
    top: 2.5rem
  &_inner
    height: 0
    overflow: hidden
    @media screen and (min-width: 42rem)
      height: initial
  &.show &_inner
    height: initial
    overflow: visible
  &_toggle
    // position: absolute
    // right: 2.5rem
    // opacity: 0
    padding: 1.5rem 0
    margin: -1.5rem -0.5rem -1.5rem 0
    display: flex
    justify-content: space-between
    @media screen and (min-width: 42rem)
      display: none
  h3
    position: relative
  ul
    padding: 0
    list-style: none
 
th, td
  padding: 0.5rem
  font-weight: 400 !important
  &:not(:first-child)
    padding-left: 1.5rem
 
thead
  background: var(--theme)
  color: var(--light)
  font-weight: 400
  text-align: left
 
tbody
  tr
    &:nth-child(even)
      background-color: var(--accent) !important
      box-shadow: 0 1rem 0.75rem -0.75rem rgba(0,0,0,0.07)
 
table
  margin: 1.5rem 0
  width:  100%
 
.main
  flex: 1
 
.page
  &-home
    h1
      font-weight: 300
 
.content
  ul, ol
    padding-left: 1.1rem
  ul
    list-style: initial
  ol
    list-style: decimal
  a:not(.button)
    color: var(--theme)
 
::placeholder
  font-size: 1rem
 
svg
  &.icon_sort
    fill: var(--light)
    height: 0.7rem
    width: 0.7rem
    display: inline-block
    margin-left: auto
    vertical-align: middle
 
canvas
  margin: 2.5rem auto 0 auto
  max-width: 450px !important
  max-height: 450px !important
 
footer
  min-height: 150px
 
del
  opacity: 0.5