Skip to content

Commit 350ebf2

Browse files
committed
Fix isso
1 parent 950b95b commit 350ebf2

File tree

1 file changed

+97
-21
lines changed

1 file changed

+97
-21
lines changed

css/blog.css

Lines changed: 97 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -874,43 +874,117 @@ div.search-container input:focus {
874874

875875
/* Isso */
876876

877-
#comments .text-wrapper > .text {
877+
.isso-comment-header .isso-spacer,
878+
.isso-comment-header .isso-note {
879+
padding: 0 6px;
880+
}
881+
882+
.isso-comment-footer > a {
883+
position: relative;
884+
top: .2em;
885+
}
886+
887+
.isso-input-wrapper {
888+
display: inline-block;
889+
position: relative;
890+
width: calc(100%);
891+
max-width: calc((100% / 3) - 1em);
892+
margin-right: 1em;
893+
margin-left: auto;
894+
}
895+
.isso-input-wrapper:nth-of-type(3n) {
896+
margin-right: 0;
897+
}
898+
899+
.isso-post-action {
900+
display: block;
901+
margin: 1.4em 0 0 5px;
902+
}
903+
904+
.isso-post-action > input {
905+
padding: calc(.35em - 1px) calc(.5em - 1px);
906+
border-radius: 2px;
907+
border: 1px solid #ccc;
908+
background-color: #ddd;
909+
cursor: pointer;
910+
outline: 0;
911+
line-height: 1.4em;
912+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
913+
}
914+
915+
.isso-text-wrapper > .text {
878916
float: left;
879917
}
880918

881-
#comments .text-wrapper > .text h1,
882-
#comments .text-wrapper > .text h2,
883-
#comments .text-wrapper > .text h3,
884-
#comments .text-wrapper > .text h4 {
919+
.isso-text-wrapper > .text h1,
920+
.isso-text-wrapper > .text h2,
921+
.isso-text-wrapper > .text h3,
922+
.isso-text-wrapper > .text h4 {
885923
font-size: 18px;
886924
}
887925

888-
#comments .text-wrapper > .text h5 {
926+
.isso-text-wrapper > .text h5 {
889927
font-size: 16px;
890928
}
891929

892-
#comments .text-wrapper > .text h6 {
930+
.isso-text-wrapper > .text h6 {
893931
font-size: 14px;
894932
}
895933

896-
#comments .text-wrapper > .text blockquote {
934+
.isso-text-wrapper > .text blockquote {
897935
font-size: 15px;
898936
}
899937

900-
#comments .isso-postbox > .form-wrapper .textarea:focus,
901-
#comments .isso-postbox > .form-wrapper input:focus {
938+
.isso-auth-section {
939+
display: flex;
940+
flex-wrap: wrap;
941+
justify-items: flex-end;
942+
align-items: end;
943+
justify-content: flex-end;
944+
margin-top: 1em;
945+
}
946+
947+
#comments .isso-postbox .isso-textarea {
948+
display: block;
949+
width: 100%;
950+
}
951+
952+
#comments .isso-avatar {
953+
display: block;
954+
float: left;
955+
margin: 0 0.95em 0 0;
956+
}
957+
958+
#comments .isso-avatar svg {
959+
max-width: 48px;
960+
max-height: 48px;
961+
width: 100%;
962+
height: 100%;
963+
border: 1px solid rgba(0, 0, 0, 0.2);
964+
border-radius: 3px;
965+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
966+
}
967+
.isso-input-wrapper > label {
968+
display: block;
969+
}
970+
.isso-input-wrapper > input {
971+
width: 100%;
972+
}
973+
974+
.isso-postbox > .isso-form-wrapper .textarea:focus,
975+
.isso-postbox > .isso-form-wrapper input:focus {
902976
border-color: #AA1D1D;
903977
}
904978

905-
#comments .isso-postbox {
979+
.isso-postbox {
906980
display: block;
907981
}
908982

909-
#comments .isso-postbox > .form-wrapper .text-wrapper {
983+
.isso-postbox > .isso-form-wrapper .text-wrapper {
910984
display: inline-block;
911985
}
912986

913-
#comments .isso-postbox > .form-wrapper .textarea-wrapper .markdown-info {
987+
.isso-postbox > .isso-form-wrapper .textarea-wrapper .markdown-info {
914988
position: absolute;
915989
z-index: 5;
916990
font-size: 30px;
@@ -920,36 +994,38 @@ div.search-container input:focus {
920994
left: 5px;
921995
}
922996

923-
#comments .isso-postbox > .form-wrapper .preview .textarea {
997+
.isso-postbox > .isso-form-wrapper .preview .textarea {
924998
display: none;
999+
margin: 0;
1000+
padding: 0;
9251001
}
9261002

927-
#comments .isso-postbox > .form-wrapper .isso-comment {
1003+
.isso-postbox > .isso-form-wrapper .isso-comment {
9281004
border: 2px solid white;
9291005
margin: 0 0 .3em;
9301006
display: none;
9311007
}
9321008

933-
#comments .isso-postbox > .form-wrapper .preview .isso-comment {
1009+
.isso-postbox > .isso-form-wrapper .preview .isso-comment {
9341010
display: block;
9351011
}
9361012

937-
#comments .isso-postbox > .form-wrapper > .auth-section .post-action > * {
1013+
.isso-postbox > .isso-form-wrapper > .isso-auth-section .post-action > * {
9381014
background: white;
9391015
padding-left: 10px;
9401016
padding-right: 10px;
9411017
}
9421018

943-
#comments .isso-postbox > .form-wrapper > .auth-section .post-action > *:hover {
1019+
.isso-postbox > .isso-form-wrapper > .isso-auth-section .post-action > *:hover {
9441020
border-color: #AA1D1D;
9451021
}
9461022

947-
#comments .isso-postbox > .form-wrapper > .auth-section .input-wrapper,
948-
#comments .isso-postbox > .form-wrapper > .auth-section .post-action {
1023+
.isso-postbox > .isso-form-wrapper > .isso-auth-section .input-wrapper,
1024+
.isso-postbox > .isso-form-wrapper > .isso-auth-section .post-action {
9491025
margin-bottom: 0.3em;
9501026
}
9511027

952-
#comments .isso-postbox > .form-wrapper > .auth-section .post-action > span.info-icon {
1028+
.isso-postbox > .isso-form-wrapper > .isso-auth-section .post-action > span.info-icon {
9531029
line-height: 28px;
9541030
font-size: 20px;
9551031
height: 28px;

0 commit comments

Comments
 (0)