Automated LC review — now right here in the GuildUpload documents → AI discrepancy analysis → correction guide.
NEW Start LC Review →
← Lounge

Stylish를 이용해 편집해본 엠팍 디자인

현재 제가 쓰는 엠팍 화면 캡처입니다.

목록

본문 및 댓글

댓글/대댓글
크롬 확장프로그램인 stylish 이용해서 웹페이지 디자인 바꾼 겁니다.
원본은 stylish에 등록되어 있는 Bullpen_Gray_Stylish_라는 거고요
꽤 오래전부터 쓰면서 여기에서 제가 나름 손보고 만지고 수정해 왔습니다.
pc에서 광고나 제가 보기에 필요없는 거 숨기고 글꼴 바꾸고 크기 위치 조정했습니다.
그러던 와중에 얼마전부터 구조가 바뀌었는지 적용 안되는 게 있었는데
제가 이쪽 전공하거나 따로 공부한 게 아니라서
ai에 html 코드 주고 원하는 거 얘기하고 피드백 주고 받으면서 다시 만들어봤습니다.
확장프로그램 스토어에서 stylish 와 같은 css 편집 프로그램 설치하시고
아래 코드 그대로 복사해서 editor에 붙여넣기 하시면 됩니다.
@charset "utf-8";
/* ==========================================

  1. 전체 기본 설정 및 레이아웃
    ========================================== /
    body {
    font-family: "Noto Sans Kr", sans-serif !important;
    font-size: 16px !important;
    }
    .index {
    wid: 100%;
    min-wid: 960px;
    background-color: #FFFFFF;
    }
    .left_cont .titles {
    padding: 10px 180px 0 20px;
    }
    .index #container .contents .left_cont {
    wid: 1020px;
    margin-bottom: 9px;
    }
    /
    상단, 하단 배경색 /
    .footer, .index #PCHeader .bg {
    background: #BDBDBD;
    }
    .index #PCHeader .main_top_menu {
    width: 1000px;
    padding-right: 30px
    }
    /
    ==========================================
  2. 광고 및 불필요한 요소 숨기기
    ========================================== /
    .top_ad, #left_ad, #center_ad02, #right_cont, #lb_banner {
    display: none !important;
    }
    #center_ad01, .right_menu, .picture {
    display: none !important;
    }
    .inner_article {
    display: none !important;
    }
    .view_context #adstream_box {
    display: none !important;
    }
    center {
    display: none !important;
    }
    .logo {
    display: none !important;
    }
    .bigtoon_sub {
    display: none !important;
    }
    .naver_power02 {
    display: none !important;
    }
    /
    상단 메뉴 중 '폰판기', '운세' 숨기기 /
    .top_menu li a.phone,
    .top_menu li a.unse {
    display: none !important;
    }
    /
    야구 점수판 및 위젯 영역 차단 /
    .date_wrap .match_list_container,
    .team_game_top,
    .team_game,
    .team_rank_wrap,
    .widget_slide_wrap{
    display: none !important;
    }
    /
    게시판 상단 이벤트/배너 이미지 영구 차단 /
    img[src
    ="/carriage/MLBPARK/desk/data/"],
    div:has(> img[src*="/carriage/MLBPARK/desk/data/"]),
    a:has(> img[src*="/carriage/MLBPARK/desk/data/"]) {
    display: none !important;
    hei: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    }
    /* ==========================================
    머리말(카테고리) 버튼 회색 처리 방지 및 원래 색상 유지
    ========================================== */
    .sub_menu .sub_box .menu_link li a,
    .sub_menu .sub_box .menu_link li span,
    .sub_menu .sub_box .menu_link li {
    opacity: 1 !important;
    filter: none !important;
    }
    /*정치 토글, 머릿말 버튼 숨기기
    .index #PCHeader .sub_menu {
    border-top: 1px solid #d2d2d2;
    display: none;
    }
    /
    .sub_menu .sub_box .menu_link li a {
    color: #0077cc !important;
    border-color: #0077cc !important;
    }
    /
    ==========================================
  3. 게시판 목록 (테이블) 스타일 (높이 축소 수정)
    ========================================== /
    /
    게시판 헤더 /
    .tbl_type01 thead tr td {
    font-size: 13px !important;
    hei: 28px !important;
    color: #000;
    padding: 0 !important;
    }
    /
    게시글 목록 행 높이 및 패딩을 강제로 압축 /
    .tbl_type01 tbody tr,
    .tbl_type01 tbody tr td {
    hei: 32px !important;
    max-height: 32px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-right: 4px !important;
    padding-left: 0 !important;
    background-color: #ffff;
    }
    /
    제목 영역 줄바꿈 및 높이 팽창 방지 /
    .tbl_type01 tbody td .tit {
    line-height: 20px !important;
    max-height: 20px !important;
    overflow: hidden !important;
    }
    /
    읽은 글 색상 /
    A:visited {
    color: #A6A6A6 !important;
    }
    .tbl_type01 .t_left a:visited {
    color: #A6A6A6 !important;
    }
    /
    Hot 아이콘 삭제 /
    .tbl_type01 .icon_hot {
    display: none !important;
    }
    /
    조회수 굵게 /
    .tbl_type01 .viewV {
    padding-right: 5px;
    font-weight: bold;
    }
    /
    게시판 칼럼 너비 /
    .tbl_type01 tbody td:nth-child(1) { width: 40px; font-size: 11px; color: #008299; }
    .tbl_type01 tbody td:nth-child(3) { width: 80px; font-size: 13px; }
    .tbl_type01 tbody td:nth-child(4) { width: 80px; font-size: 13px; }
    .tbl_type01 tbody td:nth-child(5) { font-size: 13px; }
    /
    말머리 대괄호 추가 및 색상 /
    .tbl_type01 tbody tr td .word:before { content: '▶'; }
    .tbl_type01 tbody tr td .word:after { content: '◀'; }
    .tbl_type01 tbody tr td .word,
    .main_contents .nav .bestTitle {
    color: #008299;
    }
    /
    게시판 음영 및 마우스 오버 하이라이트 /
    .tbl_type01 tr:nth-child(odd) { background-color: #fff; }
    .tbl_type01 tr:nth-child(even) { background-color: #EAEAEA; }
    .tbl_type01 tr:hover { background-color: #D0FFDB !important; }
    /
    댓글 갯수 색상 /
    .tbl_type01 .replycnt {
    color: #008299;
    font-weight: bold;
    }
    /
    검색창 스타일 /
    .list_search {
    float: left;
    height: 30px;
    width: 318px;
    padding: 0 20px 0 0;
    border: 1px solid #ccc;
    background: #fff;
    }
    /
    ==========================================
    라커룸(내 게시글/내 댓글/내 스크랩/쪽지함) 열 간격 최적화
    ========================================== /
    /
    4열 구조 테이블을 고정 레이아웃으로 전환 /
    .tbl_type01:has(thead tr td:nth-child(4):last-child) {
    table-layout: fixed !important;
    width: 100% !important;
    }
    /
    1열: 내용 (나머지 전체 영역 차지 + 한 줄 말줄임) /
    .tbl_type01:has(thead tr td:nth-child(4):last-child) thead tr td:nth-child(1),
    .tbl_type01:has(thead tr td:nth-child(4):last-child) tbody tr td:nth-child(1) {
    width: auto !important;
    text-align: left !important;
    padding-left: 12px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    }
    /
    2열: 구분 (BULLPEN, 건의사항 등) /
    .tbl_type01:has(thead tr td:nth-child(4):last-child) thead tr td:nth-child(2),
    .tbl_type01:has(thead tr td:nth-child(4):last-child) tbody tr td:nth-child(2) {
    width: 90px !important;
    text-align: center !important;
    }
    /
    3열: 보낸이 /
    .tbl_type01:has(thead tr td:nth-child(4):last-child) thead tr td:nth-child(3),
    .tbl_type01:has(thead tr td:nth-child(4):last-child) tbody tr td:nth-child(3) {
    width: 100px !important;
    text-align: center !important;
    }
    /
    4열: 날짜 (YYYY-MM-DD) /
    .tbl_type01:has(thead tr td:nth-child(4):last-child) thead tr td:nth-child(4),
    .tbl_type01:has(thead tr td:nth-child(4):last-child) tbody tr td:nth-child(4) {
    width: 100px !important;
    text-align: center !important;
    }
    /
    ==========================================
  4. 게시글 상세 페이지 상단 (제목, 닉네임, 날짜 등)
    ========================================== /
    .view_head .title,
    .view_head .title a {
    font-family: "Noto Sans Kr", sans-serif !important;
    font-size: 16px !important;
    }
    /
    원글 작성자 닉네임 크기 및 스타일 /
    .view_head .items .text .nick,
    .view_head .items .text a {
    font-family: "Noto Sans Kr", sans-serif !important;
    font-size: 16px !important;
    font-weight: bold !important;
    }
    .view_head .items .text .text1,
    .view_head .items .text .text1 span,
    .view_head .items .text .text1 font {
    font-family: "Noto Sans Kr", sans-serif !important;
    font-size: 14px !important;
    }
    .view_head .items .text {
    display: inline-block;
    padding: 0 10px 5px 10px;
    width: 960px;
    }
    .view_head .items .text .text1 { top: -20px; }
    .view_head .items .photo { top: -20px; }
    /
    차단글 숨기기 */
    [id^='list_block_'] {
    display: none !important;
    }
    /
    추천 버튼 및 공유 영역 커스텀 /
    .view_context .tool_cont .wr_recommend:before {
    width: 40px;
    height: 40px;
    background: url(https://simg.donga.com/ugc/MLBPARK/Board/17/32/97/32/1732973214706.png) no-repeat 0 0;
    }
    .view_context .tool_cont .wr_recommend.on:before {
    content: ';
    display: block;
    background: url(https://simg.donga.com/ugc/MLBPARK/Board/17/32/97/35/1732973513731.png) no-repeat 0 0;
    z-index: 1;
    }
    .view_context .tool_cont button span { display: none; }
    .view_context .tool_cont .wr_recommend .count_recommend { display: none; }
    .view_context .tool_cont .wr_share:before { display: none; }
    .prev_list {
    display: none !important;
    }
    /
    ==========================================
  5. 본문 및 이미지 크기 설정
    ========================================== /
    .ar_txt {
    font-family: "Noto Sans Kr" !important;
    font-size: 15px !important;
    }
    #contentDetail img,
    #contentDetail video {
    max-width: 960px !important;
    text-align: center !important;
    }
    .view_context .ar_txt {
    padding-bottom: 0px;
    }
    /
    ==========================================
  6. 댓글 영역 스타일
    ========================================== /
    .cmt_wrap { padding-bottom: 20px; }
    .cmt_wrap .cmt_box { padding: 6px; }
    .view_suggest.type_re .title { padding: 5px 0; }
    .reply_list { padding: 10px 0; }
    .reply_list, #cmtFormTable td {
    background: #f7f7f7 !important;
    }
    .left_cont table { width: 100%; }
    textarea#contentTable.contentTable {
    width: 95%;
    margin: 0 0 5px 0;
    }
    .reply_list.type_re .my_con.replied::before,
    .reply_list.type_re .my_con.replied_re::before,
    .reply_list.type_re .other_con.replied::before,
    .reply_list.type_re .other_con.replied_re::before {
    display: none
    }
    .reply_list.type_re {
    width: 100%;
    padding: 10px 20px 10px;
    }
    .reply_list.type_re .my_con .photo,
    .reply_list.type_re .other_con .photo {
    width: 30px;
    height: 30px;
    }
    .reply_list.type_re .my_con.replied,
    .reply_list.type_re .other_con.replied,
    .reply_list.type_re .other_con.writer.replied {
    margin-left: 20px;
    }
    .reply_list.type_re .other_con.replied_re,
    .reply_list.type_re .other_con.writer.replied_re {
    margin-left: 40px;
    }
    .reply_list.type_re .my_reply .txt a span.name,
    .reply_list.type_re .other_reply .txt a span.name{
    font-size: 13px;
    margin-bottom: 0px;
    }
    .reply_list.type_re .other_reply .txt .re_txt .name_re,
    .reply_list.type_re .other_reply .txt .re_txt,
    .reply_list.type_re .my_reply .txt .re_txt .name_re,
    .reply_list.type_re .my_reply .txt .re_txt {
    font-size: 14px;
    }
    /
    ==========================================
    대댓글 및 대대댓글 들여쓰기 & 우측 라인 보정
    ========================================== /
    /
    1. 일반 대댓글 & 작성자 대댓글*/
    .reply_list.type_re .other_con.replied,
    .reply_list.type_re .other_con.writer.replied,
    .reply_list.type_re .my_con.replied {
    margin-left: 20px !important;
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    box-sizing: border-box !important;
    }
    /* 2. 일반 대대댓글 /
    .reply_list.type_re .other_con.replied_re,
    .reply_list.type_re .other_con.writer.replied_re {
    margin-left: 40px !important;
    width: calc(100% - 40px) !important;
    max-width: calc(100% - 40px) !important;
    box-sizing: border-box !important;
    }
    /
    3. 작성자 대대댓글 /
    .reply_list.type_re .my_con.replied_re {
    margin-left: 60px !important;
    width: calc(100% - 60px) !important;
    max-width: calc(100% - 60px) !important;
    box-sizing: border-box !important;
    }
    /
    내부 회색 박스 및 텍스트 영역 폭 100% 통일 /
    .reply_list.type_re .other_reply,
    .reply_list.type_re .my_reply,
    .reply_list.type_re .txt_box {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    }
    /
    우측 '댓글' 버튼 세로 일직선 고정 /
    .reply_list.type_re .btn_rebox {
    position: absolute !important;
    top: 12px !important;
    right: 16px !important;
    margin: 0 !important;
    }
    /
    ==========================================
    TODAY BEST 타이틀 및 게시판 탭 숨기기
    ========================================== /
    .today_layer .tit_today,
    .today_layer .tab_btn {
    display: none !important;
    }
    /
    ==========================================
    최다추천 / 최고조회 / 최다댓글 영역 폰트 통일
    ========================================== */
    .today_layer,
    .today_layer * {
    font-family: "Noto Sans KR", sans-serif !important;
    }

Comments 0

No comments yet
0