추가 - 상단 페이드아웃 / 폰트 바깥선추가
1.주아체 (유튜브 기존채팅에 쓰던 폰트)
2.티머니둥근바람
3.산돌삼립호빵outline
4.카페24 써라운드에어
5. 서평원꺾깎체
밑에는 움짤 / 이미지 위에 링크된 파일 복붙하기 끝
=========================================================================
커스텀하는방법
1.폰트 선택
- https://fonts.google.com/?subset=korean
폰트선택 - Select this style - @import
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100&display=swap');
폰트선택 - 웹폰트로 사용 복사
3. 커스텀할구간 밑줄과 굵은 글씨
----------------------------------------------------------------------------------------------------------------------------------------------------------------
@import url('https://fonts.googleapis.com/css2?family=Jua&display=swap');
html {
font-size: 16px;
/* Everything scales with this font-size.
* Default if not manually set is 16px.
* Common values are 20px, 24px, 36px 48px.
* Usage of `em` in font-size refers to the parent's font-size as 1em.
* Usage of `rem` refers to the root em value ( this ) instead.
* Use `rem` when scaling child objects where possible.
*
* You could potentially just use em values here
* if you only cared about "scale" and not about exact font values.
* For example, 2.0em would be 200% scale on everything,
* but is the same as setting it to 32px ( 16px base. )
*/
width: 100%;
height: 100%;
}
body {
overflow: hidden;
margin: 0.313rem;
}
#chat_box {
background-color: transparent;
font-family: "Jua",'Helvetica Neue', Helvetica, Arial, sans-serif;
/* This font-size changes all child element em bases
* to 0.813 of the root, and is the reason why
* we use `rem` everywhere.
* Otherwise everything in the lines themselves
* would scale at only 81% of native.
*/
font-size: 0.813rem;
font-style: normal;
font-variant: normal;
font-weight: normal;
position: absolute;
overflow: hidden;
color: #FFFFFF;
border-radius: 0.500rem;
width: calc(100% - 0.625rem);
text-shadow: 0.050rem 0.050rem #000000;
-webkit-mask-image: -webkit-gradient(linear, left 40%, left top, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
}
#chat_box.dark {
background: rgba(0, 0, 0, 0.3);
color: #fff;
}
#chat_box.light {
background: rgba(255, 255, 255, 0.3);
color: #000;
}
.nick {
font-weight: bold;
}
.tag {
display: inline-block;
text-indent: 1.313rem;
background-position: 0 center;
background-repeat: no-repeat;
background-size: contain;
display: inline-block;
vertical-align: bottom;
height: 1.125rem;
min-width: 1.125rem;
padding: 0;
margin-right: 0.188rem;
margin-bottom: -0.063rem;
text-indent: -624.938rem;
border-radius: 0.125rem;
-moz-border-radius: 0.125rem;
-webkit-border-radius: 0.125rem;
overflow: hidden;
/* Aligns with the vertical center of the line */
vertical-align: sub;
}
chat_line {
margin-left: 0.188rem;
margin-right: 0.188rem;
padding-top: 0.125rem;
padding-bottom: 0.188rem;
/* Avoids clipping by increasing line height */
line-height: 1rem;
}
.chat_line > span {
/* Aligns all children with the vertical center of the line */
vertical-align: middle;
}
.chat_line .message {
word-wrap: break-word;
}
.chat_line .time_stamp {
display: none;
padding-right: 0.188rem;
}
.emoticon {
margin-bottom: -0.438rem;
/* Min-width/height are enforced to some scale of 18x18.
* Max-height is set to compensate for srcset scaling,
* else larger scales produce giant emoticons with 3x img scale
*/
min-width:1.500rem;
min-height:1.500rem;
max-height:1.500rem;
/* Aligns with the vertical center of the line */
vertical-align: sub;
}
.cheermote {
width: auto;
max-height: 1.750rem;
}
댓글 1개 ▼