224 lines
3.9 KiB
CSS
224 lines
3.9 KiB
CSS
{b2c70ca44528b5d93091712f03583284dbbb6d3d true 4005 style.css 0xc002a61180}
*{
|
|
margin:0;
|
|
padding:0;
|
|
box-sizing:border-box;
|
|
}
|
|
section{
|
|
position: relative;
|
|
width: 100%;
|
|
min-height:100vh;
|
|
padding: 100px;
|
|
display: flex;
|
|
justify-content:space-between;
|
|
align-items: center;
|
|
background-color: #fff;
|
|
}
|
|
header{
|
|
position:absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
padding: 20px 100px;
|
|
display: flex;
|
|
justify-content:space-between;
|
|
align-items:center;
|
|
}
|
|
header .logo{
|
|
position: relative;
|
|
max-width: 80px;
|
|
}
|
|
|
|
header ul{
|
|
position: relative;
|
|
display: flex;
|
|
}
|
|
header ul li{
|
|
list-style: none;
|
|
}
|
|
header ul li a {
|
|
display: inline-block;
|
|
color: #333;
|
|
font-weight: 400;
|
|
margin-left: 40px;
|
|
text-decoration: none;
|
|
font-size: 1.2em;
|
|
}
|
|
.content{
|
|
position: relative;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.content .textBox{
|
|
position: relative;
|
|
max-width: 600px;
|
|
}
|
|
.content .textBox h2{
|
|
color: #333;
|
|
font-size: 4em;
|
|
line-height: 1.4em;
|
|
font-weight: 500;
|
|
}
|
|
.content .textBox h2 span{
|
|
color: #017143;
|
|
font-size: 1.2em;
|
|
font-weight: 900;
|
|
}
|
|
.content .textBox p{
|
|
color: #333;
|
|
}
|
|
.content .textBox a{
|
|
display: inline-block;
|
|
margin-top:20px;
|
|
padding:8px 20px;
|
|
background: #017143;
|
|
color: #fff;
|
|
border-radius: 40px;
|
|
font-weight: 500;
|
|
letter-spacing: 1px;
|
|
text-decoration: none;
|
|
}
|
|
.content .imgBox{
|
|
width: 600px;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
padding-right: 50px;
|
|
margin-top: 50px;
|
|
}
|
|
.content .imgBox img{
|
|
max-width: 340px;
|
|
}
|
|
.thumb{
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 20px;
|
|
transform: translateX(-50%);
|
|
display: flex;
|
|
}
|
|
.thumb li{
|
|
list-style: none;
|
|
display: inline-block;
|
|
margin: 0 20px;
|
|
cursor: pointer;
|
|
transition: 0.5s;
|
|
}
|
|
.thumb li:hover{
|
|
transform: translateY(-15px);
|
|
}
|
|
.thumb li img{
|
|
max-width: 60px;
|
|
}
|
|
.sci{
|
|
position: absolute;
|
|
top:50%;
|
|
right: 30px;
|
|
transform: translateY(-50%);
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
}
|
|
.sci li{
|
|
list-style: none;
|
|
}
|
|
.sci li a {
|
|
display: inline-block;
|
|
margin: 5px 0;
|
|
transform: scale(0.6);
|
|
filter:invert(1);
|
|
}
|
|
.circle{
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: #017143;
|
|
clip-path: circle(600px at right 800px);
|
|
}
|
|
@media(max-width:991px){
|
|
header{
|
|
padding: 20px;
|
|
}
|
|
header .logo{
|
|
max-width: 60px;
|
|
}
|
|
header ul{
|
|
display: none;
|
|
}
|
|
.toggle{
|
|
position: relative;
|
|
width: 30px;
|
|
height: 30px;
|
|
cursor: pointer;
|
|
background: url(images/menu.png);
|
|
background-size: 30px;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
filter: invert(1);
|
|
transition: .3s;
|
|
z-index: 11;
|
|
}
|
|
.toggle.active{
|
|
position: fixed;
|
|
right: 20px;
|
|
background: url(images/close.png);
|
|
background-size: 20px;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
}
|
|
header ul.navigation.active{
|
|
position: fixed;
|
|
top: 0;
|
|
left:0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: #fff;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 10;
|
|
gap: 50px;
|
|
}
|
|
header ul li{
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
header ul li a{
|
|
margin: 10px 0;
|
|
text-decoration: none;
|
|
}
|
|
section{
|
|
padding: 20px 20px 120px
|
|
}
|
|
.content{
|
|
flex-direction: column;
|
|
margin-top: 100px;
|
|
}
|
|
.content .textBox{
|
|
max-width: 100%;
|
|
}
|
|
.content .textBox h2{
|
|
font-size: 2.5em;
|
|
margin-bottom:15px;
|
|
}
|
|
.content .imgBox{
|
|
max-width: 100%;
|
|
justify-content: center;
|
|
}
|
|
.content .imgBox img{
|
|
max-width: 250px;
|
|
}
|
|
.thumb li img{
|
|
max-width: 40px;
|
|
}
|
|
.circle{
|
|
clip-path: circle(400px at bottom center);
|
|
}
|
|
.sci{
|
|
background: #017143;
|
|
right: 0;
|
|
width: 50px;
|
|
border-radius: 10px;
|
|
}
|
|
} |