편집 요약 없음 |
편집 요약 없음 |
||
30번째 줄: | 30번째 줄: | ||
background: #EFEFEF; | background: #EFEFEF; | ||
border-radius: 1em; | border-radius: 1em; | ||
width: 32%; | width: 32.5%; | ||
padding: 10px 10px 10px 14px; | padding: 10px 10px 10px 14px; | ||
line-height: 20px; | line-height: 20px; |
2023년 5월 15일 (월) 11:16 판
@media screen and (min-width: 768px) {
body {
font-family: "Pretendard"
}
.content-width {
display: inherit;
}
.section-name {
display: inline-block;
font-size: 22px;
margin-bottom: 16px;
width: 50%;
color: black;
font-weight: bold;
user-select: none;
}
.section-seealso {
display: inline-block;
text-align: right;
font-size: 15px;
margin-bottom: 16px;
width: 50%;
color: #666;
}
.contentbox {
display: inline-block;
background: #EFEFEF;
border-radius: 1em;
width: 32.5%;
padding: 10px 10px 10px 14px;
line-height: 20px;
color: #787878;
font-size: 13px;
}
.contentbox:nth-child(n+3):nth-child(-n+4) {
margin: 0 5px 0 0;
}
}
@media screen and (max-width: 768px) {
body {
font-family: "Pretendard"
}
.content-width {
display: inline;
}
.section-name {
display: inline-block;
font-size: 20px;
margin-bottom: 14px;
width: 80%;
color: black;
font-weight: bold;
user-select: none;
}
.section-seealso {
display: inline-block;
text-align: right;
font-size: 13px;
margin-bottom: 14px;
width: 20%;
color: #666;
}
.contentbox {
display: inline-block;
background: #EFEFEF;
border-radius: 1em;
max-width: 768px;
width: 99%;
padding: 10px 10px 10px 14px;
line-height: 20px;
color: #787878;
font-size: 12px;
}
.contentbox:nth-child(4) {
visibility: collapse;
display: inline;
margin-bottom: 50%;
}
.contentbox:nth-child(5) {
display: inline-block;
transform: translateY(-75%);
}
}