blob: 70c6c79be34db9c8f9618dfc40a72335b44e9864 [file] [log] [blame]
/**
* @file index scss
* @author hariny
*/
@import 'components.footer';
$index-logo-width: 1000px;
html {
overflow-x: hidden;
}
body {
width: 100%;
background-color: #fff;
}
#main-content {
overflow: hidden;
color: $clr-text;
a {
color: $clr-link;
}
.more {
text-align: center;
display: block;
}
footer {
font-weight: 400 !important;
h3 {
color: white;
}
}
#home-section {
width: 100%;
height: 100vh;
overflow: hidden;
}
.home-brand-panel {
margin: 0 auto;
height: 100%;
padding: 0 30px;
position: relative;
}
.home-info {
margin-top: 20vh;
}
.home-brand {
font-size: 75px;
font-weight: 800;
color: $clr-dark;
line-height: 1.2em;
}
.home-subtitle {
font-size: 21px;
color: $clr-dark-light;
margin-top: 15px;
}
.home-btn-panel {
margin-top: 40px;
}
.btn-index-home {
min-width: 150px;
padding: 15px 10px;
border-radius: 30px;
background-color: #fff;
border: 1px solid $clr-contrast;
color: $clr-contrast;
opacity: 0.8;
font-size: 16px;
&:first-child {
background-color: $clr-contrast;
color: #fff;
opacity: 1;
.index-home-svg {
left: -3px;
top: 3px;
}
}
&:hover, &:focus {
box-shadow: 0px 5px 10px 0 rgba(0, 0, 0, 0.2);
}
}
.btn-index-github {
min-width: 56px;
height: 56px;
background: transparent;
border: none;
opacity: 0.5;
&:hover {
opacity: 1;
}
}
.index-home-svg {
position: relative;
top: 4px;
left: -6px;
}
.home-chart {
height: 60%;
top: 16%;
position: absolute;
right: 50px;
z-index: -100;
img {
max-height: 100%;
}
}
#events-section {
margin: 20px 0 60px 0;
}
.banner-section {
position: relative;
margin-top: -5px;
a {
display: block;
text-align: center;
}
}
.banner-img {
width: 100%;
}
h2 {
margin: 35px 0 5px 0;
}
.row {
margin-top: 20px;
margin-bottom: 20px;
}
section.normal {
padding-top: 50px;
padding-bottom: 165px;
text-align: center;
}
}
#reference {
font-size: 1.6rem;
font-weight: 400;
line-height: 2.4rem;
text-align: center;
background-image: url('../images/map.png');
background-repeat: no-repeat;
background-position: center center;
background-size: contain;
color: #333;
#recommends {
height: 160px;
position: relative;
max-width: 90%;
width: 600px;
margin: 0 auto;
text-align: center;
}
.recommend {
display: none;
transition: 0.5s;
position: absolute;
bottom: 0;
width: 100%;
&.active {
display: block;
}
p {
margin: 10px auto;
font-size: 20px;
font-weight: 400;
color: #333;
&:before {
display: inline-block;
content: '';
width: 41px;
height: 37px;
background-image: url('../images/yinhao.png');
background-size: 100%;
margin-right: 20px;
}
}
}
.person {
margin: 10px 0 20px 0;
color: $clr-text;
.name {
margin-top: -5px;
}
}
.people {
height: 100px;
img {
width: 70px;
border-radius: 50%;
transition: 0.5s;
border-color: white;
opacity: 0.5;
display: inline-block;
margin: 15px 10px;
&.active {
width: 100px;
margin: 0;
box-shadow: 1px 4px 8px 0 rgba(46, 37, 37, 0.3);
border: 4px solid white;
opacity: 1;
}
}
}
}
#main-content #reference {
margin-top: 100px;
}
#feature-section {
hr {
display: inline-block;
text-align: center;
width: 36px;
margin: 15px 0;
height: 2px;
border: 0;
background-color: $clr-primary;
}
}
.index-features {
margin-top: 20px;
text-align: center;
color: $clr-text;
h2 {
font-size: 35px;
font-weight: 800;
color: #090909;
}
}
.index-feature {
margin: 30px 0;
}
.index-feature-left {
display: inline-block;
position: absolute;
width: 107px;
height: 99px;
}
.index-feature-icon {
position: absolute;
width: 50%;
left: 28%;
top: 22.5%;
}
.index-feature-right {
display: inline-block;
margin-left: 127px;
h3 {
margin-top: 10px;
font-size: 16px;
font-weight: bold;
color: $clr-darker;
}
p {
margin-top: 14px;
line-height: 1.75em;
}
}
#publication {
overflow: hidden;
height: 720px;
opacity: 0;
transition: 1s;
#start-line {
position: relative;
left: 500px;
top: 95px;
width: 200px;
z-index: -10;
}
#end-line {
position: relative;
left: 1015px;
top: -84px;
width: 257px;
z-index: -10;
}
.container {
.paper {
display: flex;
justify-content: space-between;
align-items: flex-end;
.content {
width: 528px;
h2 {
line-height: 36px;
font-weight: 600;
font-size: 25px;
color: #090909;
}
}
.icon {
#paper-icon {
width: 530px;
}
}
}
}
p.note {
// font-size: 12px;
margin-top: 10px;
}
.pdf {
display: inline-block;
margin-top: 20px;
height: 45px;
width: 237px;
text-align: center;
background: $clr-primary;
border-radius: 22.5px;
padding: 13px 0;
color: #fff;
transition: 0.5s;
&:hover, &:focus {
text-decoration: none;
box-shadow: 0px 5px 10px 0 rgba(0, 0, 0, 0.2);
}
}
}
#gongzhonghao {
margin: 40px 0;
img {
width: 150px;
box-shadow: 0px 6px 12px 0 #eee;
}
}
#about-section {
padding-top: 40px;
padding-bottom: 90px;
background-color: #fff;
h3 {
font-weight: 600;
font-size: 35px;
color: #06133B;
}
hr {
display: inline-block;
text-align: center;
width: 36px;
height: 2px;
background-color: #8EE3A9;
color: #8EE3A9;
margin-top: 24px;
border: 0px;
}
p {
font-size: 12px;
color: #949CB1;
letter-spacing: 0;
}
.btn-panel {
text-align: center;
margin-top: 30px;
a {
height: 78px;
&:hover {
text-decoration: none;
}
}
}
.btn-content {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
height: 100%;
margin: 20px 0;
padding: 9px 22px 9px 24px;
text-indent: 10px;
position: relative;
z-index: 100;
transition: 0.3s;
line-height: 60px;
box-shadow: 2px 4px 14px 4px rgba(112,114,124,0.2);
border-radius: 8px;
.btn-logo {
display: flex;
align-items: center;
span {
margin-left: 14px;
font-size: 20px;
color: $clr-darker;
}
svg {
height: 41px;
width: 41px;
}
}
.icon-v-right {
width: 12px;
height: 12px;
border: 2px solid rgba(148, 156, 177, 0.40);;
border-width: 2px 2px 0 0;
transform: rotate(45deg);
margin: 0;
line-height: 60px;
}
.weixin-code {
width: 60px;
}
img {
margin-right: 10px;
position: relative;
top: -2px;
}
}
}
@media (max-width: 992px) {
#main-content {
.home-info {
width: 100%;
left: 0;
margin-left: 0;
text-align: center;
}
.home-brand {
font-size: 55px;
}
.home-chart {
margin: 0 auto;
width: 100%;
left: 0;
text-align: center;
top: 15vh;
opacity: 0.3;
right: auto;
}
}
.single-btn-panel {
text-align: center;
}
#start-line, #paper-icon, #end-line {
display: none;
}
#publication {
height: auto;
margin: 80px 10px;
.container .paper .content {
width: 100%;
}
.home-chart {
top: 140px;
}
}
}
@media (max-width: 768px) {
#main-content {
.home-brand {
font-size: 48px;
}
.home-btn-panel {
margin: 40px auto;
}
.home-subtitle {
font-size: 14px;
margin-top: 10px;
}
.btn-index-home {
display: block;
margin: 15px auto;
width: 220px;
}
.feature-btn {
margin: 0 auto;
margin-top: 50px;
text-align: center;
}
.container .paper .content h2 {
font-size: 20px;
line-height: 25px;
}
.index-feature {
margin: 50px 0;
}
}
#reference {
background-size: cover;
.people {
height: 180px;
}
}
}
@media (max-width: 480px) {
#home-section {
.home-brand-panel {
text-align: center;
.btn {
display: block;
margin: 10px auto;
}
}
}
}