111 lines
1.5 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-06-09 00:52:13 +00:00
.post-creator
flex 1
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
2016-11-30 15:29:36 +00:00
.post-content
ui-element
flex-grow 1
padding 0.75rem 1rem
position relative
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
.post-toolbar
opacity 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
.post-toolbar
horizontal
opacity 0
position absolute
2017-06-20 14:19:43 +00:00
bottom 0.25rem
right 0.25rem
default-transition
2016-11-30 15:29:36 +00:00
.post-tool
opacity 0.7
2018-11-05 10:05:36 +00:00
:hover
2016-11-30 15:29:36 +00:00
cursor pointer
opacity 1
.post-likes
2018-04-18 13:07:46 +00:00
color hsla(text-color-h, text-color-s, text-color-l, 0.4)
2016-11-30 15:29:36 +00:00
margin-right 0.4em
2017-11-05 05:56:09 +00:00
.post-permalink
2018-11-15 03:42:10 +00:00
color permalink-color
2016-11-30 15:29:36 +00:00
2017-11-05 05:56:09 +00:00
.post-like
2018-11-15 03:42:10 +00:00
color like-color
2016-11-30 15:29:36 +00:00
2017-11-05 05:56:09 +00:00
.post-unlike
2018-11-15 03:42:10 +00:00
color unlike-color
2016-11-30 15:29:36 +00:00
.post-delete
2018-11-15 03:42:10 +00:00
color delete-color
2017-07-06 14:54:10 +00:00
.post-save
2019-06-09 00:52:13 +00:00
// ...
2017-07-06 14:54:10 +00:00
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