157 lines
2.0 KiB
Plaintext
Raw Normal View History

2017-07-06 19:33:58 +02:00
post-content-padding-y = 0.75rem
2017-06-08 01:14:45 +02:00
.thread-link
vertical
2017-06-08 01:14:45 +02:00
margin 0.25rem 0
2016-12-01 00:29:36 +09:00
.post-author
margin-bottom 0.25rem
> 330px
.thread-link
horizontal
.post-author
margin-bottom 0
2018-02-20 08:42:50 +01:00
.user-image
width 42px
height 42px
2016-12-01 00:29:36 +09:00
.post-content
ui-element
flex-grow 1
padding 0.75rem 1rem
position relative
2017-07-06 22:08:49 +02:00
h1, h2, h3
2017-07-17 05:44:29 +02:00
font-weight bold
2017-07-06 21:38:19 +02:00
text-align left
2017-07-06 22:08:49 +02:00
line-height 1.5em
2017-07-17 05:44:29 +02:00
margin 1rem 0
2017-07-06 22:08:49 +02:00
h1
font-size 1.5rem
h2
font-size 1.3rem
h3
font-size 1.1rem
2017-12-03 19:12:16 +01:00
img
max-width 100%
2018-11-23 11:14:12 +09:00
max-height 450px
width 100%
object-fit cover
2017-12-03 19:12:16 +01:00
:hover
.post-toolbar
opacity 1
2017-07-07 17:16:40 +02:00
.post-date
opacity 0.25
.thread-content
horizontal
2016-12-01 00:29:36 +09:00
ui-element
padding 0.4rem 1rem
align-items center
2016-12-01 00:29:36 +09:00
.thread-icons,
.thread-reply-count
2017-07-06 15:04:51 +02:00
horizontal
align-items center
opacity 0.5
text-align right
font-size 0.9rem
.thread-reply-count
margin-right 0.5rem
2016-12-01 00:29:36 +09:00
.thread-content-container
flex 1
vertical
justify-content center
.thread-link-title
color text-color
2016-12-01 00:29:36 +09:00
.post-author
horizontal
justify-content center
align-items flex-start
2018-11-23 11:14:12 +09:00
margin-right post-avatar-text-margin
2016-12-01 00:29:36 +09:00
2018-11-15 20:19:40 +09:00
.new-post-actions
2018-11-05 20:57:37 +09:00
justify-content flex-end
2018-11-15 20:19:40 +09:00
opacity 0
height 0
transform translateY(-50%)
transition all transition-speed ease
2018-11-23 11:14:12 +09:00
button
pointer-events none
2018-11-15 20:19:40 +09:00
.new-post-actions-enabled
opacity 1
height auto
2018-11-05 20:57:37 +09:00
margin-bottom 0.75rem
2018-11-15 20:19:40 +09:00
transform translateY(0)
2018-11-05 20:57:37 +09:00
2018-11-23 11:14:12 +09:00
button
pointer-events all
2016-12-01 00:29:36 +09:00
// Toolbar
.post-toolbar
horizontal
opacity 0
position absolute
2017-06-20 16:19:43 +02:00
bottom 0.25rem
right 0.25rem
default-transition
2016-12-01 00:29:36 +09:00
.post-tool
opacity 0.7
2018-11-05 19:05:36 +09:00
:hover
2016-12-01 00:29:36 +09:00
cursor pointer
opacity 1
.post-likes
2018-04-18 15:07:46 +02:00
color hsla(text-color-h, text-color-s, text-color-l, 0.4)
2016-12-01 00:29:36 +09:00
margin-right 0.4em
2017-11-05 06:56:09 +01:00
.post-permalink
2018-11-15 12:42:10 +09:00
color permalink-color
2016-12-01 00:29:36 +09:00
2017-11-05 06:56:09 +01:00
.post-like
2018-11-15 12:42:10 +09:00
color like-color
2016-12-01 00:29:36 +09:00
2017-11-05 06:56:09 +01:00
.post-unlike
2018-11-15 12:42:10 +09:00
color unlike-color
2016-12-01 00:29:36 +09:00
.post-delete
2018-11-15 12:42:10 +09:00
color delete-color
2017-07-06 16:54:10 +02:00
.post-save
//
2017-07-06 19:33:58 +02:00
.post-edit-interface
vertical
.post-title-input
margin-bottom post-content-padding-y
.post-text-input
2017-07-06 16:54:10 +02:00
min-height 200px
2017-07-07 17:16:40 +02:00
.post-date
position absolute
right -1rem
top 0.25rem
white-space nowrap
opacity 0
transform translateX(100%)
2018-11-05 19:05:36 +09:00
default-transition