Template:SillyTavernLogs/JiSi/Styles.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 62: | Line 62: | ||
.jisi-avatar>img { | .jisi-avatar>img { | ||
width: 100%; | width: 100%; | ||
height: 100%; | |||
object-fit: cover; | |||
} | |||
.user-avatar { | |||
width: 50px; | |||
height: 60px; | |||
border-radius: 100%; | |||
overflow: hidden; | |||
margin-right: 10px; | |||
flex-shrink: 0; | |||
margin-top: 0; | |||
} | |||
.user-avatar > img { | |||
width: 100%; | |||
height: 100%; | height: 100%; | ||
object-fit: cover; | object-fit: cover; | ||
} | } |
Latest revision as of 03:10, 9 August 2024
.jisi-container {
display: flex;
flex-direction: column;
min-height: 10vh;
margin: 0;
padding: 0;
}
.jisi-messages {
display: flex;
flex-direction: column;
order: 2;
background: #e8e8e8;
border: 3px solid #e0e0e0;
color: black;
padding: 0;
box-sizing: border-box;
position: relative;
background-image: url(https://wiki.barz.foo/w/images/4/4d/SillyTavern-JiSi-Background.png);
background-size: contain;
background-repeat: no-repeat;
background-position: bottom right;
}
.jisi-speech {
background-color: white;
padding: 10px;
border-radius: 10px;
/* display: inline-block; */
display: flex;
max-width: 80%;
color: black;
font-size: 18px;
font-family: Microsoft YaHei;
min-height: 70px;
align-items: flex-start;
}
.jisi-thought {
background-color: black;
padding: 10px;
border-radius: 10px;
/* display: inline-block; */
display: flex;
max-width: 80%;
color: rgba(250, 250, 250, 0.5);
font-size: 18px;
font-family: Microsoft YaHei;
min-height: 70px;
align-items: flex-start;
}
.jisi-avatar {
width: 50px;
height: 60px;
overflow: hidden;
margin-right: 10px;
flex-shrink: 0;
margin-top: 0;
}
.jisi-avatar>img {
width: 100%;
height: 100%;
object-fit: cover;
}
.user-avatar {
width: 50px;
height: 60px;
border-radius: 100%;
overflow: hidden;
margin-right: 10px;
flex-shrink: 0;
margin-top: 0;
}
.user-avatar > img {
width: 100%;
height: 100%;
object-fit: cover;
}