implemented index
This commit is contained in:
@@ -1,22 +1,20 @@
|
|||||||
/*
|
/* Move down content because we have a fixed navbar that is 50px tall */
|
||||||
* Globals
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Links */
|
/* Links */
|
||||||
a,
|
a,
|
||||||
a:focus,
|
a:focus,
|
||||||
a:hover {
|
a:hover {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Custom default button */
|
/* Custom default button */
|
||||||
.btn-default,
|
.btn-default,
|
||||||
.btn-default:hover,
|
.btn-default:hover,
|
||||||
.btn-default:focus {
|
.btn-default:focus {
|
||||||
color: #333;
|
color: #333;
|
||||||
text-shadow: none; /* Prevent inheritence from `body` */
|
text-shadow: none; /* Prevent inheritence from `body` */
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border: 1px solid #fff;
|
border: 1px solid #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -26,138 +24,86 @@ a:hover {
|
|||||||
|
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: #27A;
|
background-color: #333;
|
||||||
}
|
font-family: "Microsoft YaHei UI Light", "Hiragino Sans GB", "Californian FB";
|
||||||
body {
|
padding-top: 20px;
|
||||||
color: #fff;
|
padding-bottom: 20px;
|
||||||
text-align: center;
|
color: #fff;
|
||||||
text-shadow: 0 1px 3px rgba(0,0,0,.5);
|
text-shadow: 0 1px 3px rgba(0,0,0,.5);
|
||||||
}
|
|
||||||
|
|
||||||
/* Extra markup and styles for table-esque vertical and horizontal centering */
|
|
||||||
.site-wrapper {
|
|
||||||
display: table;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%; /* For at least Firefox */
|
|
||||||
min-height: 100%;
|
|
||||||
-webkit-box-shadow: inset 0 0 100px rgba(0,0,0,.5);
|
|
||||||
box-shadow: inset 0 0 100px rgba(0,0,0,.5);
|
|
||||||
}
|
|
||||||
.site-wrapper-inner {
|
|
||||||
display: table-cell;
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
.cover-container {
|
|
||||||
margin-right: auto;
|
|
||||||
margin-left: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Padding for spacing */
|
|
||||||
.inner {
|
|
||||||
padding: 30px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/* Everything but the jumbotron gets side spacing for mobile first views */
|
||||||
* Header
|
.header,
|
||||||
*/
|
.marketing,
|
||||||
.masthead-brand {
|
.footer {
|
||||||
margin-top: 10px;
|
padding-right: 15px;
|
||||||
margin-bottom: 10px;
|
padding-left: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.masthead-nav > li {
|
/* Custom page header */
|
||||||
display: inline-block;
|
.header {
|
||||||
|
padding-bottom: 20px;
|
||||||
|
border-bottom: 1px solid #e5e5e5;
|
||||||
}
|
}
|
||||||
.masthead-nav > li + li {
|
/* Make the masthead heading the same height as the navigation */
|
||||||
margin-left: 20px;
|
.header h3 {
|
||||||
}
|
margin-top: 0;
|
||||||
.masthead-nav > li > a {
|
margin-bottom: 0;
|
||||||
padding-right: 0;
|
line-height: 40px;
|
||||||
padding-left: 0;
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: bold;
|
|
||||||
color: #fff; /* IE8 proofing */
|
|
||||||
color: rgba(255,255,255,.75);
|
|
||||||
border-bottom: 2px solid transparent;
|
|
||||||
}
|
|
||||||
.masthead-nav > li > a:hover,
|
|
||||||
.masthead-nav > li > a:focus {
|
|
||||||
background-color: transparent;
|
|
||||||
border-bottom-color: #a9a9a9;
|
|
||||||
border-bottom-color: rgba(255,255,255,.25);
|
|
||||||
}
|
|
||||||
.masthead-nav > .active > a,
|
|
||||||
.masthead-nav > .active > a:hover,
|
|
||||||
.masthead-nav > .active > a:focus {
|
|
||||||
color: #fff;
|
|
||||||
border-bottom-color: #fff;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Custom page footer */
|
||||||
|
.footer {
|
||||||
|
padding-top: 19px;
|
||||||
|
color: #777;
|
||||||
|
border-top: 1px solid #e5e5e5;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Customize container */
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
.masthead-brand {
|
.container {
|
||||||
float: left;
|
max-width: 730px;
|
||||||
}
|
}
|
||||||
.masthead-nav {
|
}
|
||||||
float: right;
|
.container-narrow > hr {
|
||||||
}
|
margin: 30px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Main marketing message and sign up button */
|
||||||
/*
|
.jumbotron {
|
||||||
* Cover
|
text-align: center;
|
||||||
*/
|
border-bottom: 1px solid #e5e5e5;
|
||||||
|
|
||||||
.cover {
|
|
||||||
padding: 0 20px;
|
|
||||||
}
|
}
|
||||||
.cover .btn-lg {
|
.jumbotron .btn {
|
||||||
padding: 10px 20px;
|
padding: 14px 24px;
|
||||||
font-weight: bold;
|
font-size: 21px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Supporting marketing content */
|
||||||
/*
|
.marketing {
|
||||||
* Footer
|
margin: 40px 0;
|
||||||
*/
|
}
|
||||||
|
.marketing p + h4 {
|
||||||
.mastfoot {
|
margin-top: 28px;
|
||||||
color: #999; /* IE8 proofing */
|
|
||||||
color: rgba(255,255,255,.5);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Responsive: Portrait tablets and up */
|
||||||
/*
|
@media screen and (min-width: 768px) {
|
||||||
* Affix and center
|
/* Remove the padding we set earlier */
|
||||||
*/
|
.header,
|
||||||
|
.marketing,
|
||||||
@media (min-width: 768px) {
|
.footer {
|
||||||
/* Pull out the header and footer */
|
padding-right: 0;
|
||||||
.masthead {
|
padding-left: 0;
|
||||||
position: fixed;
|
}
|
||||||
top: 0;
|
/* Space out the masthead */
|
||||||
}
|
.header {
|
||||||
.mastfoot {
|
margin-bottom: 30px;
|
||||||
position: fixed;
|
}
|
||||||
bottom: 0;
|
/* Remove the bottom border on the jumbotron for visual effect */
|
||||||
}
|
.jumbotron {
|
||||||
/* Start the vertical centering */
|
border-bottom: 0;
|
||||||
.site-wrapper-inner {
|
}
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
/* Handle the widths */
|
|
||||||
.masthead,
|
|
||||||
.mastfoot,
|
|
||||||
.cover-container {
|
|
||||||
width: 100%; /* Must be percentage or pixels for horizontal alignment */
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 992px) {
|
|
||||||
.masthead,
|
|
||||||
.mastfoot,
|
|
||||||
.cover-container {
|
|
||||||
width: 60%;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -7,58 +7,84 @@
|
|||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="author" content="">
|
<meta name="author" content="">
|
||||||
<link rel="icon" href="../favicon.ico">
|
<link rel="icon" href="../favicon.ico">
|
||||||
<title>Cover Template for Bootstrap</title>
|
<title>IRext</title>
|
||||||
<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">
|
<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">
|
||||||
<link rel="stylesheet" href="css/cover.css">
|
<link rel="stylesheet" href="css/cover.css">
|
||||||
<style>
|
|
||||||
body {
|
|
||||||
font-family: "Microsoft YaHei UI Light", "Californian FB";
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<div class="container">
|
||||||
|
<div class="header clearfix">
|
||||||
|
<nav>
|
||||||
|
<ul class="nav nav-pills pull-right">
|
||||||
|
<li role="presentation" class="active"><a href="#">教程</a></li>
|
||||||
|
<li role="presentation"><a href="#">控制台</a></li>
|
||||||
|
<li role="presentation"><a href="#">Github</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<h3 class="text-muted" style="color: #FFF">IRext</h3>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="site-wrapper">
|
<div class="jumbotron" style="background: #333; padding-top: 20px; padding-bottom: 40px;">
|
||||||
<div class="site-wrapper-inner">
|
<h1>IRext</h1>
|
||||||
<div class="cover-container">
|
<p class="lead">IRext是一款开源家用电器红外编、解码方法.</p>
|
||||||
<div class="masthead clearfix">
|
<p><a class="btn btn-lg btn-success" href="#" role="button">登录控制台</a></p>
|
||||||
<div class="inner">
|
</div>
|
||||||
<h3 class="masthead-brand">IRext</h3>
|
|
||||||
<nav>
|
<div class="row marketing">
|
||||||
<ul class="nav masthead-nav">
|
|
||||||
<li class="active"><a href="#">主页</a></li>
|
|
||||||
<li><a href="#">教程</a></li>
|
|
||||||
<li><a href="#">控制台</a></li>
|
|
||||||
<li><a href="https://github.com/strawmanbobi/irext">Github</a></li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<h2>红外编码</h2>
|
<h2>红外编码</h2>
|
||||||
<p>基于XML的编码输入语言+压缩算法支持</p>
|
<p>- 基于XML的编码输入语言</p>
|
||||||
|
<p>- 支持远程录入</p>
|
||||||
|
<p>- 支持红外分析仪插件</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<h2>红外解码</h2>
|
<h2>红外解码</h2>
|
||||||
<p>支持多种平台,占用资源少,运行效率高</p>
|
<p>- 支持多种平台下的解码</p>
|
||||||
|
<p>- 极小的内存开销</p>
|
||||||
|
<p>- 高性能解码</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<h2>Heading</h2>
|
<h2>码库索引</h2>
|
||||||
<p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum
|
<p>- 利用Web控制台录入码库</p>
|
||||||
id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris
|
<p>- 规范的码库审核和发布流程</p>
|
||||||
condimentum nibh, ut fermentum massa justo sit amet risus.</p>
|
<p>- 支持协议扩充</p>
|
||||||
<p><a class="btn btn-default" href="#" role="button">View details »</a></p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mastfoot">
|
|
||||||
<div class="inner">
|
<br>
|
||||||
<p><a href="http://irext.net">irext</a></p>
|
<br>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-4">
|
||||||
|
<h2>码库支持</h2>
|
||||||
|
<p>- 支持13种电器类型</p>
|
||||||
|
<p>- 支持数百个品牌</p>
|
||||||
|
<p>- 支持上万种型号家电</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4">
|
||||||
|
<h2>扩展功能</h2>
|
||||||
|
<p>- 支持基于开源硬件的IR学习</p>
|
||||||
|
<p>- 提供远程编码服务</p>
|
||||||
|
<p>- 代码完全开源</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4">
|
||||||
|
<h2>易于上手</h2>
|
||||||
|
<p>- 仅需几步就能移植到您的项目</p>
|
||||||
|
<p>- Web服务接口文档</p>
|
||||||
|
<p>- 提供开放式控制台和示例代码</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
<footer class="footer">
|
||||||
|
<p>© Company 2014</p>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
</div> <!-- /container -->
|
||||||
|
|
||||||
|
|
||||||
<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
|
<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
|
||||||
<script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
|
<script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
|
||||||
|
|||||||
Reference in New Issue
Block a user