提交 c5674810 编写于 作者: L LiuYongFeng 提交者: GitHub

Merge pull request #2714 from llxxxll/gh-pages

update text & menu style
...@@ -2398,19 +2398,22 @@ header.site-header .top-nav .site-links > li > a { ...@@ -2398,19 +2398,22 @@ header.site-header .top-nav .site-links > li > a {
line-height: 60px; line-height: 60px;
padding: 0 20px; padding: 0 20px;
color: rgba(255, 255, 255, 0.7); color: rgba(255, 255, 255, 0.7);
/*&.active,*/
} }
header.site-header .top-nav .site-links > li > a.active,
header.site-header .top-nav .site-links > li > a:hover { header.site-header .top-nav .site-links > li > a:hover {
color: #fff; color: #0073eb;
background-color: #222222;
} }
header.site-header .top-nav .version-switcher { header.site-header .top-nav .version-switcher {
position: relative; position: relative;
display: inline-block; display: inline-block;
width: 100px;
height: 60px; height: 60px;
float: left; float: left;
} }
header.site-header .top-nav .version-switcher:hover > a { header.site-header .top-nav .version-switcher:hover > a {
color: #fff; color: #fff;
cursor: default;
} }
header.site-header .top-nav .version-switcher:hover > a .fa::before { header.site-header .top-nav .version-switcher:hover > a .fa::before {
content: "\F106"; content: "\F106";
...@@ -2427,10 +2430,10 @@ header.site-header .top-nav .version-switcher > a .fa::before { ...@@ -2427,10 +2430,10 @@ header.site-header .top-nav .version-switcher > a .fa::before {
} }
header.site-header .top-nav .version-switcher ul { header.site-header .top-nav .version-switcher ul {
display: none; display: none;
top: 50px; top: 60px;
width: 60px; width: 100px;
text-align: center; text-align: center;
line-height: 30px; line-height: 50px;
background: rgba(0, 0, 0, 0.85); background: rgba(0, 0, 0, 0.85);
color: #0073eb; color: #0073eb;
position: absolute; position: absolute;
...@@ -2438,9 +2441,13 @@ header.site-header .top-nav .version-switcher ul { ...@@ -2438,9 +2441,13 @@ header.site-header .top-nav .version-switcher ul {
} }
header.site-header .top-nav .version-switcher ul > li > a { header.site-header .top-nav .version-switcher ul > li > a {
color: #ababab; color: #ababab;
width: 99px;
height: 50px;
display: block;
} }
header.site-header .top-nav .version-switcher ul > li > a:hover { header.site-header .top-nav .version-switcher ul > li > a:hover {
color: #0073eb; color: #0073eb;
background-color: #222;
} }
header.site-header .top-nav .version-switcher:hover ul { header.site-header .top-nav .version-switcher:hover ul {
display: inline-block; display: inline-block;
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<li><a href="http://book.paddlepaddle.org/index.cn.html" target="_blank">快速开始</a></li> <li><a href="http://book.paddlepaddle.org/index.cn.html" target="_blank">快速开始</a></li>
<li><a href="http://www.paddlepaddle.org/doc_cn/howto/index_cn.html" target="_blank">文档中心</a></li> <li><a href="http://www.paddlepaddle.org/doc_cn/howto/index_cn.html" target="_blank">文档中心</a></li>
<li class="version-switcher"> <li class="version-switcher">
<a>版本<i class="fa" aria-hidden="true"></i></a> <a>版本<i class="fa" aria-hidden="true"></i>&nbsp;&nbsp;&nbsp;&nbsp;</a>
<ul> <ul>
<li><a href="http://www.paddlepaddle.org/release/0.10.0/doc_cn/" target="_blank">0.10.0</a></li> <li><a href="http://www.paddlepaddle.org/release/0.10.0/doc_cn/" target="_blank">0.10.0</a></li>
<li><a href="http://www.paddlepaddle.org/release_doc/0.9.0/doc_cn/" target="_blank">0.9.0</a></li> <li><a href="http://www.paddlepaddle.org/release_doc/0.9.0/doc_cn/" target="_blank">0.9.0</a></li>
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
<div> <div>
<div class="service-desc"> <div class="service-desc">
<h3>机器视觉</h3> <h3>机器视觉</h3>
<p>卷积神经网络可以识别图像中的主要对象,并输出分类结果</p> <p>卷积神经网络可以识别图像中的主要对象并输出分类结果</p>
<div> <div>
<a role="button" class="view-more" href="http://book.paddlepaddle.org/03.image_classification/index.cn.html" target="_blank">查看更多 ></a> <a role="button" class="view-more" href="http://book.paddlepaddle.org/03.image_classification/index.cn.html" target="_blank">查看更多 ></a>
</div> </div>
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
<div> <div>
<div class="service-desc"> <div class="service-desc">
<h3>推荐系统</h3> <h3>推荐系统</h3>
<p>分析用户特征、电影特征、点评分数,预测新用户对不同电影的点评分数</p> <p>分析用户特征、电影特征、点评分数,预测新用户对不同电影的打分</p>
<div> <div>
<a role="button" class="view-more" href="http://book.paddlepaddle.org/05.recommender_system/index.cn.html" target="_blank">查看更多 ></a> <a role="button" class="view-more" href="http://book.paddlepaddle.org/05.recommender_system/index.cn.html" target="_blank">查看更多 ></a>
</div> </div>
...@@ -155,7 +155,7 @@ ...@@ -155,7 +155,7 @@
<img src="./images/feature-4.png"> <img src="./images/feature-4.png">
</div> </div>
<h3>扩展性</h3> <h3>扩展性</h3>
<p>全面支持多核、多GPU、多机环境。轻松应对大规模数据训练需求</p> <p>全面支持多核、多GPU、多机环境。轻松应对大规模训练需求</p>
</div> </div>
</div> </div>
</section> </section>
......
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="zh-cn">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>PaddlePaddle</title> <title>PaddlePaddle</title>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<ul class="site-links"> <ul class="site-links">
<li><a class="active">Home</a></li> <li><a class="active">Home</a></li>
<li><a href="http://book.paddlepaddle.org/index.html" target="_blank">Quick Start</a></li> <li><a href="http://book.paddlepaddle.org/index.html" target="_blank">Quick Start</a></li>
<li><a href="http://www.paddlepaddle.org/doc/howto/index_en.html" target="_blank">Documents</a></li> <li><a href="http://www.paddlepaddle.org/doc/howto/index_en.html" target="_blank">Documentation</a></li>
<li class="version-switcher"> <li class="version-switcher">
<a>Version<i class="fa" aria-hidden="true"></i></a> <a>Version<i class="fa" aria-hidden="true"></i></a>
<ul> <ul>
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
<section class="services"> <section class="services">
<div class="row"> <div class="row">
<h2><span>Diverse Application Scenarios</span></h2> <h2><span>Diverse Application Scenarios</span></h2>
<p class="sub-title">Promoting 100+ new business products on the line</p> <p class="sub-title">Powers hundreds of baidu and partner products</p>
</div> </div>
<div class="row"> <div class="row">
<div> <div>
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
<div> <div>
<div class="service-desc"> <div class="service-desc">
<h3>Computer Vision</h3> <h3>Computer Vision</h3>
<p>Using Convolutional Neural Networks (CNN) for Image Recognition and Object Detection.</p> <p>Using a Convolutional Neural Network (CNN) for Image Recognition and Object Detection.</p>
<div> <div>
<a role="button" class="view-more" href="http://book.paddlepaddle.org/03.image_classification/index.html" target="_blank">Read more ></a> <a role="button" class="view-more" href="http://book.paddlepaddle.org/03.image_classification/index.html" target="_blank">Read more ></a>
</div> </div>
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
<div> <div>
<div class="service-desc"> <div class="service-desc">
<h3>Natural Language Understanding</h3> <h3>Natural Language Understanding</h3>
<p>Using Recurrent Neural Network (RNN) for Sentiment Analysis.</p> <p>Using a Recurrent Neural Network (RNN) for Sentiment Analysis.</p>
<div> <div>
<a role="button" class="view-more" href="http://book.paddlepaddle.org/06.understand_sentiment/index.html" target="_blank">Read more ></a> <a role="button" class="view-more" href="http://book.paddlepaddle.org/06.understand_sentiment/index.html" target="_blank">Read more ></a>
</div> </div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册