mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 09:50:58 +08:00
d9b7ef56ea
* style(docs): use css var * style: update * style: demo-icon use grid layout * style: remove demo-block.vue style scoped * docs: remove strange character
46 lines
851 B
SCSS
46 lines
851 B
SCSS
.demo-carousel .block {
|
|
padding: 30px;
|
|
text-align: center;
|
|
border-right: solid 1px var(--el-border-color-base);
|
|
display: inline-block;
|
|
width: 49%;
|
|
box-sizing: border-box;
|
|
&:last-child {
|
|
border-right: none;
|
|
}
|
|
}
|
|
|
|
.demo-carousel .demonstration {
|
|
display: block;
|
|
color: var(--el-text-color-secondary);
|
|
font-size: 14px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.demo-carousel .#{$namespace}-carousel__container {
|
|
text-align: center;
|
|
}
|
|
|
|
.demo-carousel .#{$namespace}-carousel__item {
|
|
h3 {
|
|
color: var(--el-color-white);
|
|
font-size: 18px;
|
|
line-height: 300px;
|
|
margin: 0;
|
|
&.small {
|
|
font-size: 14px;
|
|
line-height: 150px;
|
|
}
|
|
&.medium {
|
|
font-size: 14px;
|
|
line-height: 200px;
|
|
}
|
|
}
|
|
&:nth-child(2n) {
|
|
background-color: #99a9bf;
|
|
}
|
|
&:nth-child(2n + 1) {
|
|
background-color: #d3dce6;
|
|
}
|
|
}
|