first
This commit is contained in:
302
_core/css/article.css
Normal file
302
_core/css/article.css
Normal file
@@ -0,0 +1,302 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/* title */
|
||||
.rb-article h2 {
|
||||
display: block;
|
||||
margin: -30px 0 0;
|
||||
padding: 60px 0 36px;
|
||||
border: 0;
|
||||
font-size: 36px;
|
||||
font-weight: 500;
|
||||
line-height: 53px;
|
||||
}
|
||||
.rb-article h2 ~ h2{
|
||||
margin-top: 0;
|
||||
}
|
||||
.rb-article h3 {
|
||||
display: block;
|
||||
margin: 50px 0 11px;
|
||||
padding-top: 60px;
|
||||
border-top: 1px solid #e6e6e6;
|
||||
font-size: 30px;
|
||||
font-weight: 500;
|
||||
}
|
||||
.rb-article h4 {
|
||||
display: block;
|
||||
margin: 52px 0 11px;
|
||||
font-size: 24px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.rb-article p + h4 {
|
||||
margin-top: 47px;
|
||||
}
|
||||
.rb-article h5 {
|
||||
display: block;
|
||||
margin: 24px 0 20px;
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
line-height: 25px;
|
||||
}
|
||||
.rb-article p + .tit_depth4 {
|
||||
margin-top: -9px;
|
||||
}
|
||||
.rb-article p.styled_tit {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
.rb-article h4 {
|
||||
position: relative;
|
||||
display: block;
|
||||
margin: 44px 0 23px;
|
||||
padding-left: 15px;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
line-height: 27px;
|
||||
}
|
||||
.rb-article h4 span {
|
||||
font-weight: 600;
|
||||
color: #314ffe;
|
||||
}
|
||||
.rb-article p + h4 {
|
||||
margin-top: 38px;
|
||||
}
|
||||
.rb-article h4:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
left: 0;
|
||||
width: 4px;
|
||||
height: 20px;
|
||||
background-color: #007bff;
|
||||
}
|
||||
|
||||
/* link */
|
||||
.rb-article a {
|
||||
font-weight: 300;
|
||||
color: #007bff;
|
||||
}
|
||||
|
||||
/* desc div */
|
||||
.rb-article p {
|
||||
margin: 22px 0;
|
||||
font-weight: 300;
|
||||
font-size: 16px;
|
||||
line-height: 26px;
|
||||
word-break: keep-all;
|
||||
}
|
||||
.rb-article p + p {
|
||||
margin-top: -4px;
|
||||
}
|
||||
.rb-article p strong {
|
||||
font-weight: 600;
|
||||
}
|
||||
.rb-article h3 + p {
|
||||
margin-top: 11px;
|
||||
}
|
||||
.rb-article h4 + p {
|
||||
margin-top: 14px;
|
||||
}
|
||||
.rb-article h5 + p {
|
||||
margin-top: -6px;
|
||||
}
|
||||
.rb-article .tit_info + p {
|
||||
margin-top: -6px;
|
||||
}
|
||||
.rb-article ul + p {
|
||||
margin-top: 15px;
|
||||
}
|
||||
.rb-article pre + p {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
/* blockquote */
|
||||
.rb-article blockquote {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
/* list */
|
||||
.rb-article ul {
|
||||
margin: 14px 0 0;
|
||||
}
|
||||
.rb-article ul li {
|
||||
position: relative;
|
||||
margin-bottom: 8px;
|
||||
padding-left: 20px;
|
||||
line-height: 26px;
|
||||
font-weight: 300;
|
||||
font-size: 16px;
|
||||
}
|
||||
.rb-article ul li:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
left: 0;
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
background-color: #222;
|
||||
border-radius: 100%;
|
||||
}
|
||||
.rb-article ul li:last-child {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
.rb-article p + ul {
|
||||
margin-top: -11px;
|
||||
}
|
||||
.rb-article p + .list_step {
|
||||
margin-top: -5px;
|
||||
}
|
||||
|
||||
/* block */
|
||||
pre {
|
||||
overflow-x: auto;
|
||||
margin: 16px 0;
|
||||
border: 1px solid #e6e6e6;
|
||||
border-radius: 4px;
|
||||
font-family: 'Roboto Mono', 'NotoSans Light', monospace, 'Malgun Gothic',
|
||||
'맑은 고딕', 'Apple SD Gothic Neo', '돋움', dotum, sans-serif;
|
||||
font-weight: normal;
|
||||
color: #222;
|
||||
font-size: 15px;
|
||||
line-height: 26px;
|
||||
background-color: #f8f9f9;
|
||||
}
|
||||
pre code {
|
||||
display: block;
|
||||
padding: 13px 19px;
|
||||
font-family: inherit;
|
||||
}
|
||||
pre + pre {
|
||||
margin-top: 26px;
|
||||
}
|
||||
p + pre {
|
||||
margin-top: -3px;
|
||||
}
|
||||
pre .hljs {
|
||||
padding-bottom: 15px;
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
/* table */
|
||||
.rb-article figure.table table {
|
||||
width: 100%;
|
||||
margin-top: -3px;
|
||||
border-top: 1px solid #e6e6e6;
|
||||
}
|
||||
.rb-article figure.table table caption {
|
||||
overflow: hidden;
|
||||
width: 1px;
|
||||
font-size: 1px;
|
||||
line-height: 0;
|
||||
text-indent: -9999px;
|
||||
}
|
||||
.rb-article figure.table table th,
|
||||
.rb-article figure.table table td {
|
||||
border: 1px solid #e6e6e6;
|
||||
border-width: 0 0 1px 1px;
|
||||
vertical-align: top;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
.rb-article figure.table table tr th:first-child,
|
||||
.rb-article figure.table table tr td:first-child {
|
||||
border-left: 0;
|
||||
}
|
||||
.rb-article figure.table table th {
|
||||
padding: 11px 0 13px 19px;
|
||||
text-align: left;
|
||||
font-weight: 600;
|
||||
line-height: 26px;
|
||||
background-color: #f3f5fe;
|
||||
}
|
||||
.rb-article figure.table table td {
|
||||
padding: 15px 20px 16px;
|
||||
font-weight: 300;
|
||||
word-break: keep-all;
|
||||
}
|
||||
.rb-article figure.table table td a {
|
||||
font-size: 14px;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
/* img */
|
||||
.rb-article figure.image img {
|
||||
display: block;
|
||||
margin: 25px auto;
|
||||
}
|
||||
|
||||
.rb-article ol {
|
||||
display: -webkit-box;
|
||||
display: -webkit-flex;
|
||||
display: -moz-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
list-style: none;
|
||||
}
|
||||
.rb-article ol li {
|
||||
-webkit-box-flex: 1;
|
||||
-webkit-flex: 1;
|
||||
-moz-box-flex: 1;
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
margin-left: 6px;
|
||||
background-color: #f8f9f9;
|
||||
list-style: none;
|
||||
}
|
||||
.rb-article ol li:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
.rb-article ol strong {
|
||||
display: block;
|
||||
height: 60px;
|
||||
font-weight: 400;
|
||||
font-weight: normal;
|
||||
text-align: center;
|
||||
line-height: 58px;
|
||||
background-color: #f3f5fe;
|
||||
}
|
||||
.rb-article ol img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
margin: 25px auto;
|
||||
}
|
||||
.rb-article ol p {
|
||||
margin: 21px 0;
|
||||
padding: 0 30px;
|
||||
text-align: center;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
.rb-article ol img + p {
|
||||
margin-top: -4px;
|
||||
}
|
||||
|
||||
/* blank */
|
||||
.rb-article .blank {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
/* label */
|
||||
.rb-article p em,
|
||||
.rb-article p var {
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
height: 23px;
|
||||
margin: 0 3px;
|
||||
padding: 0 5px;
|
||||
border: 1px solid #e6e6e6;
|
||||
border-radius: 3px;
|
||||
font-family: 'Roboto Mono', monospace, 'Malgun Gothic',
|
||||
'맑은 고딕', 'Apple SD Gothic Neo', '돋움', dotum, sans-serif;
|
||||
font-weight: normal;
|
||||
font-size: 14px;
|
||||
color: #555;
|
||||
line-height: 22px;
|
||||
vertical-align: middle;
|
||||
background-color: #f9fafa;
|
||||
}
|
||||
.rb-article p em a,
|
||||
.rb-article p var a {
|
||||
color: #007bff;
|
||||
}
|
||||
Reference in New Issue
Block a user