hexo-theme-keep/source/css/layout/_partial/first-screen.styl

43 lines
765 B
Stylus

.first-screen-container {
position: relative;
box-sizing: border-box;
width: 100%;
overflow: hidden;
background: url("/images/bg.svg") center center / cover no-repeat;
.content {
position: relative;
padding: 30px;
width: 80%;
height: 80%;
.description {
font-weight: bold;
font-size: 2em;
line-height: 2em;
text-align: center;
}
.social-icon-list {
position: absolute;
bottom: $component-interspace;
font-size: 1.6em;
left: 50%;
transform: translateX(-50%);
.social-icon-item {
float: left;
margin-right: 25px;
cursor: pointer;
line-height: 2em;
&:last-child {
margin-right: 0;
}
}
}
}
}