363 lines
7.6 KiB
HTML
363 lines
7.6 KiB
HTML
|
|
<!DOCTYPE html>
|
|
<html lang="en" >
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
|
|
|
|
<link rel="apple-touch-icon" type="image/png" href="https://cpwebassets.codepen.io/assets/favicon/apple-touch-icon-5ae1a0698dcc2402e9712f7d01ed509a57814f994c660df9f7a952f3060705ee.png" />
|
|
|
|
<meta name="apple-mobile-web-app-title" content="CodePen">
|
|
|
|
<link rel="shortcut icon" type="image/x-icon" href="https://cpwebassets.codepen.io/assets/favicon/favicon-aec34940fbc1a6e787974dcd360f2c6b63348d4b1f4e06c77743096d55480f33.ico" />
|
|
|
|
<link rel="mask-icon" type="image/x-icon" href="https://cpwebassets.codepen.io/assets/favicon/logo-pin-b4b4269c16397ad2f0f7a01bcdf513a1994f4c94b8af2f191c09eb0d601762b1.svg" color="#111" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<title>seems北斗科学家</title>
|
|
|
|
<link rel="canonical" href="https://codepen.io/paulhbarker/pen/apvGdv">
|
|
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">
|
|
|
|
|
|
|
|
<style>
|
|
/* Media Queries */
|
|
/* Card sizing */
|
|
/* Colors */
|
|
/* Calculations */
|
|
/* Placeholders */
|
|
@media (min-width: 1000px) {
|
|
#timeline .demo-card:nth-child(even) .head::after, #timeline .demo-card:nth-child(odd) .head::after {
|
|
position: absolute;
|
|
content: "";
|
|
width: 0;
|
|
height: 0;
|
|
border-top: 15px solid transparent;
|
|
border-bottom: 10px solid transparent;
|
|
}
|
|
|
|
#timeline .demo-card:nth-child(even) .head::before, #timeline .demo-card:nth-child(odd) .head::before {
|
|
position: absolute;
|
|
content: "";
|
|
width: 9px;
|
|
height: 9px;
|
|
background-color: #bdbdbd;
|
|
border-radius: 9px;
|
|
box-shadow: 0px 0px 2px 8px #f7f7f7;
|
|
}
|
|
}
|
|
/* Some Cool Stuff */
|
|
.demo-card:nth-child(1) {
|
|
order: 1;
|
|
}
|
|
|
|
.demo-card:nth-child(2) {
|
|
order: 4;
|
|
}
|
|
|
|
.demo-card:nth-child(3) {
|
|
order: 2;
|
|
}
|
|
|
|
.demo-card:nth-child(4) {
|
|
order: 5;
|
|
}
|
|
|
|
.demo-card:nth-child(5) {
|
|
order: 3;
|
|
}
|
|
|
|
.demo-card:nth-child(6) {
|
|
order: 6;
|
|
}
|
|
|
|
/* Border Box */
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Fonts */
|
|
body {
|
|
font-family: Roboto;
|
|
}
|
|
|
|
#timeline {
|
|
padding: 100px 0;
|
|
background: #f7f7f7;
|
|
border-top: 1px solid rgba(191, 191, 191, 0.4);
|
|
border-bottom: 1px solid rgba(191, 191, 191, 0.4);
|
|
}
|
|
#timeline h1 {
|
|
text-align: center;
|
|
font-size: 3rem;
|
|
font-weight: 200;
|
|
margin-bottom: 20px;
|
|
}
|
|
#timeline p.leader {
|
|
text-align: center;
|
|
max-width: 90%;
|
|
margin: auto;
|
|
margin-bottom: 45px;
|
|
}
|
|
#timeline .demo-card-wrapper {
|
|
position: relative;
|
|
margin: auto;
|
|
}
|
|
@media (min-width: 1000px) {
|
|
#timeline .demo-card-wrapper {
|
|
display: flex;
|
|
flex-flow: column wrap;
|
|
width: 1170px;
|
|
height: 2200px;
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
#timeline .demo-card-wrapper::after {
|
|
z-index: 1;
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 50%;
|
|
border-left: 1px solid rgba(191, 191, 191, 0.4);
|
|
}
|
|
@media (min-width: 1000px) {
|
|
#timeline .demo-card-wrapper::after {
|
|
border-left: 1px solid #bdbdbd;
|
|
}
|
|
}
|
|
#timeline .demo-card {
|
|
position: relative;
|
|
display: block;
|
|
margin: 10px auto 80px;
|
|
max-width: 94%;
|
|
z-index: 2;
|
|
}
|
|
@media (min-width: 480px) {
|
|
#timeline .demo-card {
|
|
max-width: 60%;
|
|
box-shadow: 0px 1px 22px 4px rgba(0, 0, 0, 0.07);
|
|
}
|
|
}
|
|
@media (min-width: 720px) {
|
|
#timeline .demo-card {
|
|
max-width: 40%;
|
|
}
|
|
}
|
|
@media (min-width: 1000px) {
|
|
#timeline .demo-card {
|
|
max-width: 450px;
|
|
height: 450px;
|
|
margin: 90px;
|
|
margin-top: 45px;
|
|
margin-bottom: 120px;
|
|
}
|
|
#timeline .demo-card:nth-child(odd) {
|
|
margin-right: 45px;
|
|
}
|
|
#timeline .demo-card:nth-child(odd) .head::after {
|
|
border-left-width: 15px;
|
|
border-left-style: solid;
|
|
left: 100%;
|
|
}
|
|
#timeline .demo-card:nth-child(odd) .head::before {
|
|
left: 491.5px;
|
|
}
|
|
#timeline .demo-card:nth-child(even) {
|
|
margin-left: 45px;
|
|
}
|
|
#timeline .demo-card:nth-child(even) .head::after {
|
|
border-right-width: 15px;
|
|
border-right-style: solid;
|
|
right: 100%;
|
|
}
|
|
#timeline .demo-card:nth-child(even) .head::before {
|
|
right: 489.5px;
|
|
}
|
|
#timeline .demo-card:nth-child(2) {
|
|
margin-top: 180px;
|
|
}
|
|
}
|
|
#timeline .demo-card .head {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
color: #fff;
|
|
font-weight: 400;
|
|
}
|
|
#timeline .demo-card .head .number-box {
|
|
display: inline;
|
|
float: left;
|
|
margin: 15px;
|
|
padding: 10px;
|
|
font-size: 35px;
|
|
line-height: 35px;
|
|
font-weight: 600;
|
|
background: rgba(0, 0, 0, 0.17);
|
|
}
|
|
#timeline .demo-card .head h2 {
|
|
text-transform: uppercase;
|
|
font-size: 1.3rem;
|
|
font-weight: inherit;
|
|
letter-spacing: 2px;
|
|
margin: 0;
|
|
padding-bottom: 6px;
|
|
line-height: 1rem;
|
|
}
|
|
@media (min-width: 480px) {
|
|
#timeline .demo-card .head h2 {
|
|
font-size: 165%;
|
|
line-height: 1.2rem;
|
|
}
|
|
}
|
|
#timeline .demo-card .head h2 span {
|
|
display: block;
|
|
font-size: 0.6rem;
|
|
margin: 0;
|
|
}
|
|
@media (min-width: 480px) {
|
|
#timeline .demo-card .head h2 span {
|
|
font-size: 0.8rem;
|
|
}
|
|
}
|
|
#timeline .demo-card .body {
|
|
background: #fff;
|
|
border: 1px solid rgba(191, 191, 191, 0.4);
|
|
border-top: 2000px;
|
|
padding: 15px;
|
|
}
|
|
@media (min-width: 1000px) {
|
|
#timeline .demo-card .body {
|
|
height: 315px;
|
|
}
|
|
}
|
|
#timeline .demo-card .body p {
|
|
font-size: 14px;
|
|
line-height: 18px;
|
|
margin-bottom: 15px;
|
|
}
|
|
#timeline .demo-card .body img {
|
|
display: block;
|
|
width: 70%;
|
|
}
|
|
#timeline .demo-card--step1 {
|
|
background-color: #46b8e9;
|
|
}
|
|
#timeline .demo-card--step1 .head::after {
|
|
border-color: #46b8e9;
|
|
}
|
|
#timeline .demo-card--step2 {
|
|
background-color: #3ee9d1;
|
|
}
|
|
#timeline .demo-card--step2 .head::after {
|
|
border-color: #3ee9d1;
|
|
}
|
|
#timeline .demo-card--step3 {
|
|
background-color: #ce43eb;
|
|
}
|
|
#timeline .demo-card--step3 .head::after {
|
|
border-color: #ce43eb;
|
|
}
|
|
#timeline .demo-card--step4 {
|
|
background-color: #4d92eb;
|
|
}
|
|
#timeline .demo-card--step4 .head::after {
|
|
border-color: #4d92eb;
|
|
}
|
|
#timeline .demo-card--step5 {
|
|
background-color: #46b8e9;
|
|
}
|
|
#timeline .demo-card--step5 .head::after {
|
|
border-color: #46b8e9;
|
|
}
|
|
</style>
|
|
|
|
<script>
|
|
window.console = window.console || function(t) {};
|
|
</script>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body translate="no">
|
|
<section id=timeline>
|
|
<h1>北斗科学家</h1>
|
|
<p class="leader">篇幅有限,只列举以下代表,感谢北斗导航系统全体成员的辛苦付出。</p>
|
|
<div class="demo-card-wrapper">
|
|
<div class="demo-card demo-card--step1">
|
|
<div class="head">
|
|
<div class="number-box">
|
|
<span>01</span>
|
|
</div>
|
|
<h2><span class="small">北斗一号总设计师</span> 孙家栋</h2>
|
|
</div>
|
|
<div class="body">
|
|
<img src="./img/孙家栋.jpg" alt="Graphic">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="demo-card demo-card--step2">
|
|
<div class="head">
|
|
<div class="number-box">
|
|
<span>02</span>
|
|
</div>
|
|
<h2><span class="small">总设计师</span> 杨长风</h2>
|
|
</div>
|
|
<div class="body">
|
|
<img src="./img/杨长风.jpg" alt="Graphic">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="demo-card demo-card--step3">
|
|
<div class="head">
|
|
<div class="number-box">
|
|
<span>03</span>
|
|
</div>
|
|
<h2><span class="small">副总设计师</span> 杨元喜</h2>
|
|
</div>
|
|
<div class="body">
|
|
<img src="./img/杨元喜.png" alt="Graphic">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="demo-card demo-card--step4">
|
|
<div class="head">
|
|
<div class="number-box">
|
|
<span>04</span>
|
|
</div>
|
|
<h2><span class="small">中国GPS之父</span> 刘经南</h2>
|
|
</div>
|
|
<div class="body">
|
|
<img src="./img/刘经南.jpg" alt="Graphic">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="demo-card demo-card--step5">
|
|
<div class="head">
|
|
<div class="number-box">
|
|
<span>05</span>
|
|
</div>
|
|
<h2><span class="small">北斗三号总设计师</span> 林宝军</h2>
|
|
</div>
|
|
<div class="body">
|
|
<img src="./img/林宝军三号总设计师.jpg" alt="Graphic">
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</section>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|