modify the index page and logo

modify the index page and logo
This commit is contained in:
coderfengyun 2014-10-08 14:32:12 +08:00
parent 16c913cd9a
commit 7bcc38339d
10 changed files with 128 additions and 94 deletions

View File

@ -1,21 +1,99 @@
.header { #header {
background: -webkit-linear-gradient(#839ba9, #405a6a); background-color: rgba(255, 255, 255, 0.1);
padding-top: 2px; -ms-filter:
padding-bottom: 2px; "progid:DXImageTransform.Microsoft.gradient(startColorstr='#fafafa',endColorstr='#eaeaea')";
text-align: center; position: relative;
color: #fff; z-index: 10;
margin-top: 20px; border-bottom: 1px solid #cacaca;
margin-bottom: 20px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 10px
rgba(0, 0, 0, 0.1);
padding-top: 22px;
padding-bottom: 22px;
}
.clearfix {
display: block;
}
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.site-logo {
float: left;
position: relative;
padding: 9px 0 0 0;
zoom: 1;
}
.top-nav {
float: left;
margin: 0 0 0 20px;
list-style: none;
line-height: 26px;
}
.top-nav li {
float: left;
margin: 0 10px 0 0;
}
.top-nav a {
font-weight: bold;
color: #222;
-moz-transition: color .15s ease-in 0;
-webkit-transition: color .15s ease-in 0;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.top-nav.logged_out {
float: right !important;
padding: 10px 0;
}
.top-nav.logged_out li {
margin: 0 0 0 20px;
}
.promo {
width: 100%;
margin: -115px 0 0;
overflow: hidden;
position: relative;
}
.image-holder {
max-width: 2822px;
position: relative;
float: left;
left: 50%;
}
.promo .bg {
display: block;
margin: 0 auto;
}
img {
vertical-align: middle;
}
.image-frame {
max-width: 2822px;
position: relative;
float: left;
left: -50%;
} }
h1 { h1 {
margin-top: 5px; margin-top: 5px;
margin-bottom: 5px; margin-bottom: 5px;
font-size: 30px; font-size: 30px;
font-family: "ff-tisa-web-pro-1", "ff-tisa-web-pro-2", "Lucida Grande", font-family: Arial, Helvetica, sans-serif, sans;
"Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB",
"Hiragino Sans GB W3", "Microsoft YaHei UI", "Microsoft YaHei",
"WenQuanYi Micro Hei", sans-serif;
font-weight: bold; font-weight: bold;
} }
@ -117,12 +195,7 @@ h1 {
font-size: 15; font-size: 15;
line-height: 30px; line-height: 30px;
font-weight: bold; font-weight: bold;
/* font-family: Microsoft YaHei,'ËÎÌå' , Tahoma, Helvetica, Arial, "\5b8b\4f53", sans-serif; */ font-family: Arial, Helvetica, sans-serif, sans;
font-family: "ff-tisa-web-pro-1", "ff-tisa-web-pro-2", "Lucida Grande",
"Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB",
"Hiragino Sans GB W3", "Microsoft YaHei UI", "Microsoft YaHei",
"WenQuanYi Micro Hei", sans-serif;
/* font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; */
} }
.bottom-logo { .bottom-logo {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@ -5,12 +5,6 @@
<head> <head>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link
href="lib/github/css/github-6053501db2b69fd2b04652c6349117be14468ce4.css"
media="screen" rel="stylesheet">
<link
href="lib/github/css/github2-277183b6724249eea8a7d10300542831eac78d3f.css"
media="screen" rel="stylesheet" type="text/css">
<link href="lib/bootstrap/css/bootstrap.css" rel="stylesheet"> <link href="lib/bootstrap/css/bootstrap.css" rel="stylesheet">
<link href="css/index.css" rel="stylesheet"> <link href="css/index.css" rel="stylesheet">
@ -28,9 +22,9 @@ body {
</head> </head>
<body class="logged_out wider windows env-production "> <body class="logged_out wider windows env-production ">
<div id="header" class="true clearfix" style="height: 50px"> <div id="header" class="true clearfix">
<div class="container clearfix"> <div class="container clearfix">
<a class="site-logo" href="index.jsp"><img id="bench4q" <a class="site-whei" href="index.jsp"><img id="bench4q"
src="images/headerLogo.png" height="30" /></a> src="images/headerLogo.png" height="30" /></a>
<ul class="top-nav logged_out"> <ul class="top-nav logged_out">
<li class="login"><a href="register.jsp"><fmt:message <li class="login"><a href="register.jsp"><fmt:message
@ -40,82 +34,49 @@ body {
</ul> </ul>
</div> </div>
</div> </div>
<div class="container"> <section class="promo">
<div class="header"> <div class="image-holder">
<h1> <div class="image-frame">
<fmt:message key="index_jsp_Title" /> <img class="background" src="images/index/bg.jpg">
</h1>
</div>
<div class="picture" align="center">
<div id="carousel-example-generic" class="carousel slide"
data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0"
class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner">
<div class="item active">
<img src="images/01.jpg" alt="First Slide">
</div>
<div class="item">
<img src="images/02.jpg" alt="Second Slide">
</div>
<div class="item">
<img src="images/03.jpg" alt="Third Slide">
</div>
</div>
<!-- Controls -->
<a class="left carousel-control" href="#carousel-example-generic"
data-slide="prev"> <span
class="glyphicon glyphicon-chevron-left">::before</span>
</a> <a class="right carousel-control" href="#carousel-example-generic"
data-slide="next"> <span
class="glyphicon glyphicon-chevron-right">::After</span>
</a>
</div> </div>
</div> </div>
<div class="content introduce"> </section>
<div class="text"> <div class="content introduce">
<div class="right-text"> <div class="text">
<div> <div class="right-text">
<p class="text-title">Bench4Q</p> <div>
</div> <p class="text-title">Bench4Q</p>
<div>
<p class="text-content">
<fmt:message key="index_jsp_Bench4Q" />
</p>
</div>
</div>
<div class="left-text">
<div>
<p class="text-title">Bench4Q_as_a_Service</p>
</div>
<div>
<p class="text-content">
<fmt:message key="index_jsp_Bench4Q_as_a_Service" />
</p>
</div>
</div>
<div class="clear"></div>
</div>
<div class="button">
<div align="center">
<a href="register.jsp"><img id="register" class="register"
src="images/go.jpg"></img></a>
</div> </div>
<div> <div>
<p style="text-align: center"> <p class="text-content">
<fmt:message key="index_jsp_FreeRegister" /> <fmt:message key="index_jsp_Bench4Q" />
</p> </p>
</div> </div>
</div> </div>
<div class="left-text">
<div>
<p class="text-title">Bench4Q_as_a_Service</p>
</div>
<div>
<p class="text-content">
<fmt:message key="index_jsp_Bench4Q_as_a_Service" />
</p>
</div>
</div>
<div class="clear"></div>
</div> </div>
<div class="button">
<div align="center">
<a href="register.jsp"><img id="register" class="register"
src="images/go.jpg"></img></a>
</div>
<div>
<p style="text-align: center">
<fmt:message key="index_jsp_FreeRegister" />
</p>
</div>
</div>
</div>
</div> </div>
<!--/.fluid-container--> <!--/.fluid-container-->
<div class="bottom"> <div class="bottom">