/* 친효애드온 : 관련글 모듈 마크5 시작 https://rgy0409.tistory.com E-Mail : rgy0409@gmail.com */ /* 관련글 글꼴 설정 */ .rgyTextBox5 { font-family: "NanumGothic"; } /* 관련글 소제목 */ .rgyTextBox5 > span { display: block; padding-left: 5px; margin-bottom: 10px; color: #888; } .rgyTextBox5 > span::before { margin-right: 7px; content: "\f055"; font-family: "FontAwesome"; font-weight: normal; font-size: 20px; color: #888; vertical-align: text-bottom; } /* 친효애드온 : 관련글 마크5 */ .rgyTextBox5 { padding: 10px; border: 1px solid #eee; box-sizing: border-box; -webkit-box-sizing: border-box; z-index: 5; } .rgyTextBox5 > p { position: relative; width: 100%; padding: 5px 0; border-radius: 10px; background-color: #FF5544; z-index: 10; } .rgyTextBox5 > p::after { content: " "; position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; background-color: #F6F6F6; transition: all 0.3s; -webkit-transition: all 0.3s; z-index: 15; } .rgyTextBox5 > p:hover::after { transform: rotateX(90deg); -webkit-transform: rotateX(90deg); } .rgyTextBox5 > p > a { position: relative; display: block; width: 100%; padding: 5px; color: #222; transition: all 0.3s; -webkit-transition: all 0.3s; z-index: 20; } .rgyTextBox5 > p > a::before { content: "\f105"; font-family: "FontAwesome"; font-weight: normal; margin-right: 10px; margin-left: 3px; color: #222; transition: all 0.3s; -webkit-transition: all 0.3s; z-index: 20; } .rgyTextBox5 > p:hover > a, .rgyTextBox5 > p:hover > a::before { color: #fff; } /* 관련글 모듈 마크5 끝 */