🔨 상단 이미지 제거
/* article-header */
.article-header {
/* position: absolute;
top: 0;
left: 50%;
width: 100vw;
height: 400px;
margin-left: -50vw;
padding: 0 20px;
background-size: cover;
background-position: 50% 50%; */
background-image: none!important;
}
/* .article-header:before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(0, 0, 0, 0.5);
z-index: 1;
} */
.article-header .inner-header {
max-width: 1020px;
margin: 0 auto;
/* color: #fff; */
margin-bottom: 45px;
padding-bottom: 20px;
border-bottom: 1px solid #d3d3d3;
}
/* .article-header .box-meta {
position: absolute;
bottom: 56px;
width: 100%;
max-width: 780px;
z-index: 2;
} */
#tt-body-page .main {
padding-top: 40px;
}
@media screen and (max-width: 1060px) {
#tt-body-page .main {
padding-top: 40px;
}
}
🔨 제목 폰트 크기 수정
.article-header .title-article {
display: block;
width: 100%;
max-width: 760px;
/* margin: 0 0 33px 0; */
font-size: 25px;
font-weight: 400;
line-height: 1.4;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
white-space: normal;
word-break: keep-all;
}
🔨 상단 수정/삭제 추가 --------------------
<span>
<s_ad_div >
<b>|</b>
<a class="s_ad_div" href="">수정</a>
<b>|</b>
<a class="s_ad_div" href="#" onclick="">삭제</a>
</s_ad_div>
</span>
ㅇㅇ
더보기

HTML에 style 안 쓰려고 분리하려고 했더니 디테일이 쉽지 않네...
우선은 이런 상태로 둬야겠다.

🔨 본문 넓게 설정
/* area-main */
.area-main {
width: 100%;
max-width: 800px;
}
'etc. > Tistory' 카테고리의 다른 글
[Tistory] 프로필 하단 줄 제거 (0) | 2023.07.04 |
---|---|
[Tistory] 자동 목차 TOC 추가 (0) | 2023.07.04 |
[Tistory] 사이드 바 왼쪽으로 이동하기 (0) | 2023.07.04 |
[Tistory] 코드블럭 수정하기 (테마, 폰트, 테두리, 라인넘버) (0) | 2023.06.20 |
[Tistory] 카카오 계정으로 로그인이 안 되는 경우 (0) | 2023.04.27 |