Skip to content

Commit fc5a72c

Browse files
committed
mastodon post css
1 parent 0d858f5 commit fc5a72c

File tree

1 file changed

+39
-5
lines changed

1 file changed

+39
-5
lines changed

assets/kylestechkorner/css/kylestechkorner-main.css

Lines changed: 39 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -324,20 +324,22 @@ a:hover,a:active {
324324
/*border-radius: .5em;*/
325325
}
326326

327-
.post-info, .post-tags, .share-post {
327+
.post-info, .post-tags, .share-post, .post-kudos {
328328
font-size: 85%;
329329
color: var(--accent);
330330
text-align: left;
331-
}
332-
333-
.post-tags {
334-
margin-bottom: 2em;
331+
margin-block-start: 1em;
335332
}
336333

337334
.post-info i:nth-child(2) {
338335
margin-left: .75em;
339336
}
340337

338+
.post-kudos__btn{
339+
background-color:var(--comment-66);
340+
color:var(--foreground)
341+
}
342+
341343
.tag {
342344
background: var(--cyan-66);
343345
color: var(--background) !important;
@@ -665,6 +667,38 @@ input[type="text"]:focus, input[type="url"]:focus, textarea:focus {
665667
outline: none;
666668
border-color: var(--pink);
667669
}
670+
button,input[type=button]{
671+
background-color:var(--pink);
672+
border:1px solid var(--link-text);
673+
border-left-width:1px;
674+
border-radius:.5em;
675+
box-shadow:.05em .05em .5em rgba(0,0,0,.1);
676+
color:var(--tag-text);
677+
font-family:unbounded regular,sans-serif;
678+
font-size:85%;
679+
font-weight:300;
680+
height:calc(1.2em + 2px + 1em);
681+
line-height:1.2em;
682+
padding:.5em;
683+
transition:filter ease-out .15s
684+
}
685+
button:hover,input[type=button]:hover,{
686+
filter:brightness(85%)
687+
}
688+
button:focus-visible,input[type=button]:focus-visible{
689+
border:1px solid var(--main-color);
690+
outline:1px dashed var(--foreground);
691+
outline-offset:2px
692+
}
693+
button:disabled,input[type=button]:disabled{
694+
background-color:var(--main-color);
695+
border-color:var(--comment);
696+
color:var(--comment);
697+
cursor:not-allowed
698+
}
699+
button:disabled:hover,input[type=button]:disabled:hover{
700+
filter:none
701+
}
668702
input[type="submit"] {
669703
background-color: var(--pink);
670704
color: var(--foreground);

0 commit comments

Comments
 (0)