mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
174 lines
3.3 KiB
SCSS
174 lines
3.3 KiB
SCSS
@import "markdown";
|
|
|
|
.main-section {
|
|
padding-top: 93px;
|
|
|
|
& > div {
|
|
width: 1160px;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
|
|
.breadcrumb {
|
|
margin: 30px 0;
|
|
|
|
a {
|
|
color: #919aa3;
|
|
|
|
&:hover {
|
|
color: #55bc8a;
|
|
}
|
|
}
|
|
}
|
|
|
|
.main-div {
|
|
box-sizing: border-box;
|
|
width: 880px;
|
|
padding: 40px 60px;
|
|
background-color: #fff;
|
|
border-radius: 4px;
|
|
|
|
.author {
|
|
font-size: 16px;
|
|
line-height: 1.5;
|
|
color: #171c34;
|
|
}
|
|
|
|
.date {
|
|
font-size: 14px;
|
|
line-height: 1.43;
|
|
color: #919aa3;
|
|
}
|
|
|
|
h1 {
|
|
margin-top: 20px;
|
|
margin-bottom: 40px;
|
|
text-shadow: 0 8px 16px rgba(35,45,65,.1);
|
|
font-size: 40px;
|
|
font-weight: 500;
|
|
line-height: 1.4;
|
|
color: #171c34;
|
|
}
|
|
|
|
.content {
|
|
|
|
.md-body {
|
|
font-size: 14px;
|
|
line-height: 2.29;
|
|
color: #36435c;
|
|
}
|
|
|
|
.md-body h2 {
|
|
font-size: 24px;
|
|
font-weight: 500;
|
|
line-height: 64px;
|
|
color: #171c34;
|
|
text-shadow: none;
|
|
text-align: left;
|
|
margin-bottom: 20px;
|
|
border-bottom: 1px solid #ccd3db;
|
|
}
|
|
|
|
.md-body h3 {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
line-height: 1.5;
|
|
color: #171c34;
|
|
}
|
|
|
|
.md-body img {
|
|
max-width: 100%;
|
|
box-sizing: content-box;
|
|
background-color: #fff;
|
|
border-radius: 5px;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.md-body blockquote {
|
|
padding: 4px 20px 4px 12px;
|
|
border-radius: 4px;
|
|
background-color: #ecf0f2;
|
|
}
|
|
|
|
&-metadata {
|
|
margin-bottom: 28px;
|
|
|
|
&-title {
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
line-height: 1.5;
|
|
color: #171c34;
|
|
}
|
|
|
|
&-time {
|
|
font-size: 14px;
|
|
line-height: 1.43;
|
|
color: #919aa3;
|
|
}
|
|
}
|
|
|
|
&-title {
|
|
text-shadow: 0 8px 16px rgba(35, 45, 65, 0.1);
|
|
font-size: 40px;
|
|
font-weight: 500;
|
|
line-height: 1.4;
|
|
color: #171c34;
|
|
margin-bottom: 40px;
|
|
|
|
@media only screen and (max-width: $mobile-max-width) {
|
|
font-size: 28px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.aside {
|
|
width: 230px;
|
|
.title {
|
|
height: 32px;
|
|
font-size: 24px;
|
|
line-height: 1.33;
|
|
color: #36435c;
|
|
padding-bottom: 10px;
|
|
border-bottom: solid 1px #ccd3db;;
|
|
}
|
|
|
|
.tabs {
|
|
li {
|
|
margin: 4px 0;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
line-height: 2;
|
|
color: #36435c;
|
|
|
|
a {
|
|
display: block;
|
|
width: 100%;
|
|
height: 32px;
|
|
color: #36435c;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|
|
li li {
|
|
padding-left: 20px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.aside-fixed {
|
|
position: fixed;
|
|
top: 150px;
|
|
left: 50%;
|
|
transform: translateX(350px);
|
|
}
|
|
|
|
.aside-absolute {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
top: none;
|
|
left: none;
|
|
}
|
|
}
|
|
} |