2020-12-07 12:04:34 +08:00
|
|
|
$first-screen-font-size = 2rem;
|
|
|
|
$first-screen-icon-size = 1.6rem;
|
2020-12-07 09:55:09 +08:00
|
|
|
|
2020-12-07 14:36:53 +08:00
|
|
|
$temp-img = hexo-config('style.first_screen.background_img');
|
2020-12-10 18:37:56 +08:00
|
|
|
$first-screen-img = $temp-img ? $temp-img:'/images/bg.svg';
|
2020-12-07 14:36:53 +08:00
|
|
|
|
2020-11-13 14:43:22 +08:00
|
|
|
.first-screen-container {
|
|
|
|
position: relative;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
2020-12-07 14:36:53 +08:00
|
|
|
background: url($first-screen-img) center center / cover no-repeat;
|
2020-11-15 22:06:32 +08:00
|
|
|
|
|
|
|
.content {
|
2020-11-19 11:58:54 +08:00
|
|
|
position: relative;
|
2020-11-15 22:06:32 +08:00
|
|
|
padding: 30px;
|
2020-11-19 11:58:54 +08:00
|
|
|
width: 80%;
|
2020-11-19 14:49:19 +08:00
|
|
|
height: 80%;
|
2020-12-10 18:37:56 +08:00
|
|
|
box-sizing: border-box;
|
2020-11-15 22:06:32 +08:00
|
|
|
|
|
|
|
.description {
|
|
|
|
font-weight: bold;
|
2020-12-07 12:04:34 +08:00
|
|
|
font-size: $first-screen-font-size;
|
2020-12-07 09:56:29 +08:00
|
|
|
line-height: 1.8;
|
2020-11-19 14:49:19 +08:00
|
|
|
text-align: center;
|
2020-12-07 09:55:09 +08:00
|
|
|
|
|
|
|
+keep-tablet() {
|
2020-12-07 12:04:34 +08:00
|
|
|
font-size: $first-screen-font-size * 0.9;
|
2020-12-07 09:55:09 +08:00
|
|
|
}
|
2020-11-15 22:06:32 +08:00
|
|
|
}
|
|
|
|
|
2020-12-10 18:37:56 +08:00
|
|
|
|
2020-11-27 14:49:53 +08:00
|
|
|
.s-icon-list {
|
2020-11-15 22:06:32 +08:00
|
|
|
position: absolute;
|
2020-11-19 11:58:54 +08:00
|
|
|
bottom: $component-interspace;
|
2020-12-07 12:04:34 +08:00
|
|
|
font-size: $first-screen-icon-size;
|
2020-11-15 22:06:32 +08:00
|
|
|
left: 50%;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
2020-12-07 09:55:09 +08:00
|
|
|
+keep-tablet() {
|
2020-12-07 12:04:34 +08:00
|
|
|
font-size: $first-screen-icon-size * 0.9;
|
2020-12-07 09:55:09 +08:00
|
|
|
}
|
|
|
|
|
2020-11-27 14:49:53 +08:00
|
|
|
.s-icon-item {
|
2020-11-15 22:06:32 +08:00
|
|
|
float: left;
|
|
|
|
margin-right: 25px;
|
|
|
|
cursor: pointer;
|
2020-12-07 09:55:09 +08:00
|
|
|
line-height: 1.6;
|
2020-11-15 22:06:32 +08:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
2020-11-13 14:43:22 +08:00
|
|
|
}
|