Skip to content

Commit

Permalink
Add common stylesheet file
Browse files Browse the repository at this point in the history
Gather common stylesheet instruction and definition in a common file for
reuse, and include it in both pages instead of directly style
declaration.
  • Loading branch information
James-Leon-Neo committed Mar 1, 2014
1 parent b31c15e commit 3a1b42b
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 90 deletions.
49 changes: 4 additions & 45 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,51 +1,9 @@
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>Project Facing-NKUs-ZiXiuKe</title>
<link rel="stylesheet" type="text/css" href="./stylesheets/common.css" />
<link rel="shortcut icon" href="favicon.png" />
<style type="text/css">
a:hover
{
text-decoration:none;
}
.whiteline
{
color:white;
}
#wrapper
{
width:1000px;
_width:auto;
margin:0px auto;
text-align:center;
}
#header
{
background-color:#9dc870;
_width:1000px;
color:white;
}
#main
{
_width:1000px;
_margin-top:15px;
text-align:left;
}
#side
{
float:left;
width:160px;
}
#content
{
float:left;
width:840px;
}
#footer
{
_width:1000px;
}
</style>
<title>Project Facing-NKUs-ZiXiuKe</title>
</head>
<body>
<div id="wrapper">
Expand Down Expand Up @@ -82,7 +40,8 @@ <h3>使用方法</h3>
</div>
</div>
<div id="footer">
Last modified on 2014-02-25
Last modified on 2014-02-28<br />
Powered by <a href="https://pages.github.com">GitHub Pages</a>
</div>
</div>
</body>
Expand Down
51 changes: 6 additions & 45 deletions instruction.html
Original file line number Diff line number Diff line change
@@ -1,51 +1,9 @@
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>Project Facing-NKUs-ZiXiuKe</title>
<link rel="stylesheet" type="text/css" href="./stylesheets/common.css" />
<link rel="shortcut icon" href="favicon.png" />
<style type="text/css">
a:hover
{
text-decoration:none;
}
.whiteline
{
color:white;
}
#wrapper
{
width:1000px;
_width:auto;
margin:0px auto;
text-align:center;
}
#header
{
background-color:#9dc870;
_width:1000px;
color:white;
}
#main
{
_width:1000px;
_margin-top:15px;
text-align:left;
}
#side
{
float:left;
width:160px;
}
#content
{
float:left;
width:840px;
}
#footer
{
_width:1000px;
}
</style>
<title>Project Facing-NKUs-ZiXiuKe</title>
</head>
<body>
<div id="wrapper">
Expand All @@ -68,8 +26,10 @@ <h3>对应浏览器</h3>
<li><a href="">Google Chrome</a></li>
</ul>
<div>
对于Microsoft Internet Explorer浏览器,只能使用手动方式进行控制台脚本注入来使用本功能
</div>
<div>
针对Mozilla Firefox浏览器的扩展正在计划开发中,敬请期待
</div>
<div>
对于Google Chrome浏览器,除了使用与前述相同的通过控制台进行代码注入的方式之外<br />
Expand All @@ -78,7 +38,8 @@ <h3>对应浏览器</h3>
</div>
</div>
<div id="footer">
Last modified on 2014-02-25
Last modified on 2014-02-28<br />
Powered by <a href="https://pages.github.com">GitHub Pages</a>
</div>
</div>
</body>
Expand Down
41 changes: 41 additions & 0 deletions stylesheets/common.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
a:hover
{
text-decoration:none;
}
.whiteline
{
color:white;
}
#wrapper
{
width:1000px;
_width:auto;
margin:0px auto;
text-align:center;
}
#header
{
background-color:#9dc870;
_width:1000px;
color:white;
}
#main
{
_width:1000px;
_margin-top:15px;
text-align:left;
}
#side
{
float:left;
width:160px;
}
#content
{
float:left;
width:840px;
}
#footer
{
_width:1000px;
}

0 comments on commit 3a1b42b

Please sign in to comment.