109 lines
1.6 KiB
Plaintext
Raw Normal View History

2017-07-06 17:33:58 +00:00
post-content-padding-y = 0.75rem
2017-06-07 23:14:45 +00:00
2019-06-09 00:52:13 +00:00
.post-author
horizontal
justify-content center
align-items flex-start
margin-right post-avatar-text-margin
2019-06-09 00:52:13 +00:00
.post-header
horizontal
horizontal-line-bottom
2019-08-30 02:42:46 +00:00
.post-header-info
2019-06-09 00:52:13 +00:00
flex 1
2019-08-30 02:42:46 +00:00
clip-long-text
2019-06-09 03:06:01 +00:00
.post-action
display flex
align-items center
border none
background none
padding 0
height auto
color hsla(text-color-h, text-color-s, text-color-l, 0.5)
:hover
color link-hover-color
background none
2019-08-30 02:42:46 +00:00
.post-header-action
opacity 0
margin-right 0.5rem
2019-06-09 00:52:13 +00:00
.post-date
color hsla(text-color-h, text-color-s, text-color-l, 0.5)
white-space nowrap
2018-02-20 07:42:50 +00:00
2019-08-30 02:42:46 +00:00
.post-box
ui-element
flex-grow 1
padding 0.75rem 1rem
position relative
2019-08-30 02:42:46 +00:00
overflow hidden
2017-07-06 20:08:49 +00:00
h1, h2, h3
2017-07-17 03:44:29 +00:00
font-weight bold
2017-07-06 19:38:19 +00:00
text-align left
2017-07-06 20:08:49 +00:00
line-height 1.5em
2017-07-17 03:44:29 +00:00
margin 1rem 0
2017-07-06 20:08:49 +00:00
h1
font-size 1.5rem
h2
font-size 1.3rem
h3
font-size 1.1rem
2017-12-03 18:12:16 +00:00
img
max-width 100%
2018-11-23 02:14:12 +00:00
max-height 450px
width 100%
object-fit cover
2017-12-03 18:12:16 +00:00
:hover
2019-08-30 02:42:46 +00:00
.post-header-action
opacity 1
2019-08-30 02:42:46 +00:00
.post-toolbar
horizontal
justify-content flex-end
margin-top typography-margin
padding-top typography-margin
border-top 1px solid reverse-light-color
.post-toolbar-action
margin-left 1rem
[data-like="true"]
color hsla(0, 90%, 50%, 1)
2018-11-15 11:19:40 +00:00
.new-post-actions
2018-11-05 11:57:37 +00:00
justify-content flex-end
2018-11-15 11:19:40 +00:00
opacity 0
height 0
transform translateY(-50%)
transition all transition-speed ease
2018-11-23 02:14:12 +00:00
button
pointer-events none
2018-11-15 11:19:40 +00:00
.new-post-actions-enabled
opacity 1
height auto
2018-11-05 11:57:37 +00:00
margin-bottom 0.75rem
2018-11-15 11:19:40 +00:00
transform translateY(0)
2018-11-05 11:57:37 +00:00
2018-11-23 02:14:12 +00:00
button
pointer-events all
2017-07-06 17:33:58 +00:00
.post-edit-interface
vertical
.post-title-input
margin-bottom post-content-padding-y
.post-text-input
2019-06-09 00:52:13 +00:00
min-height 200px