当前位置:   article > 正文

100套html5网页静态模板 /个人主页网站html模板/Bootstrap扁平化网站源码(公开分享)_网页设计模板html代码

网页设计模板html代码

HTML5页面模板的优势HTML5是一种标记语言,用于构建和设计网站和应用程序的界面。它与CSS和JavaScript一起使用,以提供丰富和交互式的用户界面。使用HTML5页面模板对于开发人员和设计师来说有很多优势。 

这里分享100套html5网页静态模板,也有个人主页网站html模板,它是Bootstrap扁平化网站源码。分有不同行业。已打包了,自取,要是对你有帮助留言点赞!

html5网页静态模板合集

模板源码  密码:A688

下面的部分预览图及源码:

index源代码:

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <link rel="shortcut icon" href="images/favicon.ico" />
  5. <meta charset="UTF-8" />
  6. <meta name="robots" content="index, follow" />
  7. <meta name="keywords" content="" />
  8. <meta name="description" content="" />
  9. <title>Magnum</title>
  10. <!-- // -->
  11. <!-- // Start Stylesheets // -->
  12. <!-- // -->
  13. <link href="styles/style.css" rel="stylesheet" type="text/css" />
  14. <link type="text/css" href="styles/skitter.styles.css" media="all" rel="stylesheet" />
  15. <!--[if lt IE 9]>
  16. <link href="styles/ie8.css" rel="stylesheet" type="text/css" />
  17. <![endif]-->
  18. <!-- // -->
  19. <!-- // Javascript Files // -->
  20. <!-- // -->
  21. <script type="text/javascript" src="js/jquery-1.6.4.min.js"></script>
  22. <script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
  23. <script type="text/javascript" src="js/jquery.animate-colors-min.js"></script>
  24. <script type="text/javascript" src="js/jquery.skitter.js"></script>
  25. <script type="text/javascript" src="js/hoverIntent.js"></script>
  26. <script type="text/javascript" src="js/superfish.js"></script>
  27. <script type="text/javascript" src="js/supersubs.js"></script>
  28. <script type="text/javascript">
  29. jQuery(document).ready(function(){
  30. //Menu
  31. jQuery("ul.sf-menu").supersubs({
  32. minWidth : 12, // requires em unit.
  33. maxWidth : 27, // requires em unit.
  34. extraWidth : 3 // extra width can ensure lines don't sometimes turn over due to slight browser differences in how they round-off values
  35. // due to slight rounding differences and font-family
  36. }).superfish(); // call supersubs first, then superfish, so that subs are
  37. // not display:none when measuring. Call before initialising
  38. // containing tabs for same reason.
  39. jQuery(document).ready(function() {
  40. jQuery(".box_skitter_large").skitter({
  41. animation: "random",
  42. interval: 3000,
  43. numbers: false,
  44. numbers_align: "right",
  45. hideTools: true,
  46. controls: false,
  47. focus: false,
  48. focus_position: true,
  49. width_label:'340px',
  50. enable_navigation_keys: true,
  51. progressbar: false
  52. });
  53. });
  54. });
  55. </script>
  56. </head>
  57. <body>
  58. <div id="outer-container">
  59. <div id="container">
  60. <div id="top">
  61. <div id="logo"><a href="index.html"><img src="images/logo.png" alt="" /></a></div><!-- end #logo -->
  62. <div id="nav">
  63. <ul id="topnav" class="sf-menu">
  64. <li><a href="index.html" class="current">首页</a></li>
  65. <li><a href="about.html">About</a>
  66. <ul>
  67. <li><a href="elements.html">Elements</a></li>
  68. <li><a href="single-product.html">Product Details</a></li>
  69. <li><a href="single.html">Blog Details</a></li>
  70. </ul>
  71. </li>
  72. <li><a href="product.html">Products</a></li>
  73. <li><a href="services.html">Services</a></li>
  74. <li><a href="#">Portfolio</a>
  75. <ul>
  76. <li><a href="portfolio.html">Portfolio One Column</a></li>
  77. <li><a href="portfolio2.html">Portfolio Two Column</a></li>
  78. <li><a href="portfolio3.html">Portfolio Three Column</a></li>
  79. <li><a href="portfolio4.html">Portfolio Four Column</a></li>
  80. </ul>
  81. </li>
  82. <li><a href="blog.html">Blog</a></li>
  83. <li><a href="contact.html">Contact</a></li>
  84. </ul><!-- #topnav -->
  85. </div><!-- #nav -->
  86. </div><!-- end #top -->
  87. <div id="header">
  88. <div id="slider-container">
  89. <div class="box_skitter box_skitter_large">
  90. <ul>
  91. <li>
  92. <a href=""><img src="images/content/slide1.jpg" alt="" /></a>
  93. <div class="label_text">
  94. <h3 class="colortext uppercase"> We are Magnum</h3>
  95. <span>Morbi porta neque ut neque iaculis ac venenatis sem consequat.Integer vitae diam quam.</span>
  96. </div>
  97. </li>
  98. <li>
  99. <a href=""><img src="images/content/slide2.jpg" alt="" /></a>
  100. <div class="label_text">
  101. <h3 class="colortext uppercase">We make a great themes</h3>
  102. <span>Morbi porta neque ut neque iaculis ac venenatis sem consequat.Integer vitae diam quam.</span>
  103. </div>
  104. </li>
  105. <li>
  106. <a href=""><img src="images/content/slide3.jpg" alt="" /></a>
  107. <div class="label_text">
  108. <h3 class="colortext uppercase">Lorem ipsum dolor sit.</h3>
  109. <span>Morbi porta neque ut neque iaculis ac venenatis sem consequat.Integer vitae diam quam.</span>
  110. </div>
  111. </li>
  112. </ul>
  113. </div>
  114. <div id="shadow-img-slider"></div>
  115. </div><!-- end #slider-container -->
  116. </div><!-- end #header -->
  117. <div id="after-header">
  118. <h1>Hello! WE are <span class="colortext">Magnum</span> and we make a great <span class="colortext">Website</span> Themes.<br/>Let’s Take a Tour and You’ll Love This tHeme.</h1>
  119. </div><!-- end #after-header -->
  120. <div id="before-content" class="patternbox">
  121. <div class="shadow"></div>
  122. <div class="container940">
  123. <ul class="customlist">
  124. <li>
  125. <img src="images/icons/icon1.png" alt="" class="alignleft" /><h3 class="valignmiddle">Flexible Templates </h3>
  126. <span>Proin cursus purus vitae quam facilisis ac fermentum enim volutpat. Vestibulum non justo augue, sed mattis nisi. Donec id lectus erat, ac imperdiet nisl. </span>
  127. </li>
  128. <li>
  129. <img src="images/icons/icon2.png" alt="" class="alignleft" /><h3 class="valignmiddle">Clean and Simple</h3>
  130. <span>Proin cursus purus vitae quam facilisis ac fermentum enim volutpat. Vestibulum non justo augue, sed mattis nisi. Donec id lectus erat, ac imperdiet nisl. </span>
  131. </li>
  132. <li class="last">
  133. <img src="images/icons/icon3.png" alt="" class="alignleft" /><h3 class="valignmiddle">Great Support</h3>
  134. <span>Proin cursus purus vitae quam facilisis ac fermentum enim volutpat. Vestibulum non justo augue, sed mattis nisi. Donec id lectus erat, ac imperdiet nisl. </span>
  135. </li>
  136. </ul>
  137. <div class="clear"></div><!-- clear float -->
  138. </div><!-- end container940 -->
  139. </div><!-- end #before-content -->
  140. <div id="content">
  141. <div id="main">
  142. <h2 class="title_pattern uppercase"><span>From The Blog</span></h2>
  143. <ul id="recentpost">
  144. <li>
  145. <img src="images/content/pic1.jpg" alt="" class="frame" />
  146. <span class="shadowimg220"></span>
  147. <div class="entry-date">10/01/12 - <a href="#">No Comment</a></div>
  148. <h5 class="colortext"><a href="#">Proin tempus imperdiet.</a></h5>
  149. <span>Cras faucibus ante ut diam laoreet a congue mi aliquam. Sed interdum nisl pharetra ipsum aliquet tempus. Mauris pulvinar, nisl nec...</span>
  150. </li>
  151. <li>
  152. <img src="images/content/pic2.jpg" alt="" class="frame" />
  153. <span class="shadowimg220"></span>
  154. <div class="entry-date">10/01/12 - <a href="#">No Comment</a></div>
  155. <h5 class="colortext"><a href="#">Proin tempus imperdiet.</a></h5>
  156. <span>Cras faucibus ante ut diam laoreet a congue mi aliquam. Sed interdum nisl pharetra ipsum aliquet tempus. Mauris pulvinar, nisl nec...</span>
  157. </li>
  158. <li>
  159. <img src="images/content/pic3.jpg" alt="" class="frame" />
  160. <span class="shadowimg220"></span>
  161. <div class="entry-date">10/01/12 - <a href="#">No Comment</a></div>
  162. <h5 class="colortext"><a href="#">Proin tempus imperdiet.</a></h5>
  163. <span>Cras faucibus ante ut diam laoreet a congue mi aliquam. Sed interdum nisl pharetra ipsum aliquet tempus. Mauris pulvinar, nisl nec...</span>
  164. </li>
  165. <li class="last">
  166. <img src="images/content/pic4.jpg" alt="" class="frame" />
  167. <span class="shadowimg220"></span>
  168. <div class="entry-date">10/01/12 - <a href="#">No Comment</a></div>
  169. <h5 class="colortext"><a href="#">Proin tempus imperdiet.</a></h5>
  170. <span>Cras faucibus ante ut diam laoreet a congue mi aliquam. Sed interdum nisl pharetra ipsum aliquet tempus. Mauris pulvinar, nisl nec...</span>
  171. </li>
  172. </ul>
  173. <div class="clear"></div><!-- clear float -->
  174. </div><!-- end #main -->
  175. </div><!-- end #content -->
  176. <div id="after-content" class="patternbox">
  177. <div class="container940">
  178. <a href="#" class="button large">Buy Now !</a>
  179. <h2>Started Using the <span class="colortext">Magnum</span> Theme for Your Next <span class="colortext">Project</span> ? Available.</h2>
  180. <div class="clear"></div><!-- clear float -->
  181. </div><!-- end container940 -->
  182. </div><!-- end #after-content -->
  183. <div id="footer">
  184. <div id="footer-pattern">
  185. <div class="container940">
  186. <div id="footcol1">
  187. <ul>
  188. <li class="widget-container">
  189. <h2 class="widget-title">Latest Articles</h2>
  190. <ul id="recentpostwidget">
  191. <li>
  192. <img src="images/content/pic5.jpg" alt="" class="alignleft frame" />
  193. <h5><a href="#">Hello World!!</a></h5>
  194. <span>Lorem ipsum dolor sit amet...</span>
  195. </li>
  196. <li>
  197. <img src="images/content/pic6.jpg" alt="" class="alignleft frame" />
  198. <h5><a href="#">Hello World!!</a></h5>
  199. <span>Lorem ipsum dolor sit amet...</span>
  200. </li>
  201. </ul>
  202. </li>
  203. </ul>
  204. </div>
  205. <div id="footcol2">
  206. <ul>
  207. <li class="widget-container">
  208. <h2 class="widget-title">Blogroll</h2>
  209. <ul>
  210. <li><a href="#">Vivamus hendrerit venenatis quam</a></li>
  211. <li><a href="#">Aenean congue nisl in nibh</a></li>
  212. <li><a href="#">Proin tempus tempus orci eu imperdiet</a></li>
  213. <li><a href="#">Mauris interdum</a></li>
  214. <li><a href="#">Donec id turpis at risus</a></li>
  215. </ul>
  216. </li>
  217. </ul>
  218. </div>
  219. <div id="footcol3">
  220. <ul>
  221. <li class="widget-container">
  222. <h2 class="widget-title">Gallery</h2>
  223. <ul id="flickr">
  224. <li><a href="#"><img src="images/content/pic7.jpg" alt="" class="frame" /></a></li>
  225. <li><a href="#"><img src="images/content/pic8.jpg" alt="" class="frame" /></a></li>
  226. <li class="nomargin"><a href="#"><img src="images/content/pic9.jpg" alt="" class="frame" /></a></li>
  227. <li><a href="#"><img src="images/content/pic10.jpg" alt="" class="frame" /></a></li>
  228. <li><a href="#"><img src="images/content/pic11.jpg" alt="" class="frame" /></a></li>
  229. <li class="nomargin"><a href="#"><img src="images/content/pic12.jpg" alt="" class="frame" /></a></li>
  230. </ul>
  231. </li>
  232. </ul>
  233. </div>
  234. <div id="footcol4">
  235. <ul>
  236. <li class="widget-container">
  237. <h2 class="widget-title">About Magnum</h2>
  238. <div class="textwidget">
  239. <p>
  240. Nulla interdum, enim eu dictum pellentesque, ipsum elit varius purus, et imperdiet odio magna lobortis purus.
  241. </p>
  242. <span>Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Vivamus sed mauris at eros mollis ultricies vitae porta dui. </span>
  243. </div>
  244. </li>
  245. </ul>
  246. </div>
  247. <div class="clear"></div><!-- clear float -->
  248. </div><!-- end container940 -->
  249. </div><!-- end #footer-pattern -->
  250. </div><!-- end #footer -->
  251. <div id="after-footer">
  252. <div class="container940">
  253. <div id="sn">
  254. <ul>
  255. <li><a href="#"><img src="images/icons/fb.png" alt="" /></a></li>
  256. <li><a href="#"><img src="images/icons/stumbleupon.png" alt="" /></a></li>
  257. <li><a href="#"><img src="images/icons/lastfm.png" alt="" /></a></li>
  258. <li><a href="#"><img src="images/icons/twitter.png" alt="" /></a></li>
  259. <li><a href="#"><img src="images/icons/youtube.png" alt="" /></a></li>
  260. </ul>
  261. </div>
  262. <div id="footertext">
  263. Copyright &copy;2012 Magnum. All Rights Reserved.
  264. </div>
  265. <div class="clear"></div><!-- clear float -->
  266. </div><!-- end container940 -->
  267. </div><!-- end #after-footer -->
  268. </div><!-- end #container -->
  269. </div><!-- end #outer-container -->
  270. </body>
  271. </html>

style源代码:

  1. /*
  2. Magnum - CSS File
  3. */
  4. /* Generated by Font Squirrel (http://www.fontsquirrel.com)*/
  5. @font-face {
  6. font-family: 'Ubuntu';
  7. src: url('../fonts/Ubuntu-R-webfont.eot');
  8. src: url('../fonts/Ubuntu-R-webfont.eot?#iefix') format('embedded-opentype'),
  9. url('../fonts/Ubuntu-R-webfont.woff') format('woff'),
  10. url('../fonts/Ubuntu-R-webfont.ttf') format('truetype'),
  11. url('../fonts/Ubuntu-R-webfont.svg#Ubuntu-R-webfont') format('svg');
  12. font-weight: normal;
  13. font-style: normal;
  14. }
  15. @font-face {
  16. font-family: 'UbuntuBold';
  17. src: url('../fonts/Ubuntu-B-webfont.eot');
  18. src: url('../fonts/Ubuntu-B-webfont.eot?#iefix') format('embedded-opentype'),
  19. url('../fonts/Ubuntu-B-webfont.woff') format('woff'),
  20. url('../fonts/Ubuntu-B-webfont.ttf') format('truetype'),
  21. url('../fonts/Ubuntu-B-webfont.svg#Ubuntu-B-webfont') format('svg');
  22. font-weight: normal;
  23. font-style: normal;
  24. }
  25. /*** GLOBAL ***/
  26. body {
  27. font-family:Arial;
  28. font-size:12px;
  29. margin:0 auto;
  30. padding:0;
  31. color:#555555;
  32. line-height:20px;
  33. background:#f7f7f7 url(../images/bgbody.gif) repeat;
  34. background-attachment:fixed;
  35. }
  36. * {
  37. margin:0;
  38. padding:0;
  39. }
  40. *:focus {
  41. outline:none; /* removes ugly dotted border but may make template more unsuable, up to you
  42. if you want to keep it! */
  43. }
  44. form{margin:0; padding:0;}
  45. hr {
  46. border-width:0;
  47. height:1px;
  48. line-height:0;
  49. margin:30px 0px;
  50. page-break-after:always;
  51. text-align:center;
  52. width:100%;
  53. clear:both;
  54. color:#d9d9d9;
  55. background-color:#d9d9d9;
  56. background-repeat:repeat-x
  57. }
  58. /* #Clearing
  59. /* Self Clearing Goodness */
  60. .container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }
  61. /* Use clearfix class on parent to clear nested columns,
  62. or wrap each row of columns in a <div class="row"> */
  63. .clearfix:before,
  64. .clearfix:after,
  65. .row:before,
  66. .row:after {
  67. content: '\0020';
  68. display: block;
  69. overflow: hidden;
  70. visibility: hidden;
  71. width: 0;
  72. height: 0; }
  73. .row:after,
  74. .clearfix:after {
  75. clear: both; }
  76. .row,
  77. .clearfix {
  78. zoom: 1; }
  79. /* You can also use a <br class="clear" /> to clear columns */
  80. .clear {
  81. clear: both;
  82. display: block;
  83. overflow: hidden;
  84. visibility: hidden;
  85. width: 0;
  86. height: 0;
  87. }
  88. /*** END OF GLOBAL ***/
  89. /*** DEFAULT ELEMENT STYLES ***/
  90. /* heading */
  91. h1, h2, h3{margin-bottom:20px;}
  92. h4, h5, h6{margin-bottom:10px;}
  93. h1 {font-size:22px; line-height:24px;}
  94. h2 {font-size:18px; line-height:20px;}
  95. h3 {font-size:16px; line-height:18px;}
  96. h4 {font-size:15px; line-height:18px;}
  97. h5{font-size:14px; line-height:16px;}
  98. h6 {font-size:13px; line-height:15px;}
  99. h1, h2, h3, h4, h5, h6{ font-weight:normal; font-family:'Ubuntu', Arial; color:#555 }
  100. .valignmiddle{line-height:45px; margin-bottom:18px}
  101. .uppercase{text-transform:uppercase;}
  102. .title_pattern{ background:url(../images/pattern_title.gif) repeat-x left center; font-size:16px; text-align:center}
  103. .title_pattern span{ background:#fff; padding:0 20px}
  104. .pagetitle{font-size:20px; color:#f6f6f6; margin:0; text-transform:uppercase}
  105. /* links */
  106. a, a:visited {text-decoration:none; font-weight:normal; color:#dc6a4d }
  107. a:hover{text-decoration:underline;}
  108. a img{border:none}
  109. /* float align */
  110. .alignleft,
  111. img.alignleft {
  112. display: inline;
  113. float: left;
  114. margin-right: 15px;
  115. margin-top: 3px;
  116. }
  117. .alignright,
  118. img.alignright {
  119. display: inline;
  120. float: right;
  121. margin-left: 15px;
  122. margin-top: 5px;
  123. }
  124. .aligncenter,
  125. img.aligncenter {
  126. clear: both;
  127. display: block;
  128. margin-left: auto;
  129. margin-right: auto;
  130. }
  131. .alignnone,
  132. img.alignnone {
  133. clear: both;
  134. display: block;
  135. margin-left: auto;
  136. margin-right: auto;
  137. margin-top:3px;
  138. }
  139. img.alignleft,
  140. img.alignright,
  141. img.aligncenter,
  142. img.alignnone {
  143. margin-bottom: 12px;
  144. }
  145. /* lists, blockquotes and paragraphs */
  146. p, ul, ol, blockquote {
  147. margin-bottom:20px;
  148. }
  149. ul, ol {
  150. margin:10px 0 20px 20px;
  151. list-style-position:inside
  152. }
  153. li ol,
  154. li ul
  155. {
  156. list-style:square;
  157. margin-bottom:0;
  158. margin-top:0;
  159. }
  160. li ol {list-style:decimal;}
  161. blockquote {
  162. /*font-style:italic;*/
  163. margin:0px 0 20px 0px;
  164. padding:0px 10px 0px 50px;
  165. background-image:url(../images/quote.png);
  166. background-repeat:no-repeat;
  167. background-position:0px 0px;
  168. clear:both;
  169. font-size:16px;
  170. line-height:25px;
  171. font-family:'Ubuntu', Georgia, Arial;
  172. font-style:italic
  173. }
  174. blockquote.left, blockquote.right {
  175. float:right;
  176. letter-spacing:0px;
  177. margin-bottom:20px;
  178. margin-left:20px;
  179. margin-top:0px;
  180. padding:0px 20px 10px 60px;
  181. width:43%;
  182. background-position:0px 0px;
  183. }
  184. blockquote.left{
  185. float:left;
  186. margin-left:0px;
  187. margin-right:20px;}
  188. blockquote p{margin-bottom:0px; font-size:16px; line-height:20px}
  189. /* code */
  190. code {
  191. font-family:Arial;
  192. letter-spacing:1px;
  193. margin:25px 0 25px 0px;
  194. display:block;
  195. font-size:0.9em;
  196. border-left:4px solid #cfcfcf;
  197. padding:15px 10px;
  198. }
  199. /*** END OF DEFAULT ELEMENT STYLES ***/
  200. /*** CONTAINER ***/
  201. #outer-container{}
  202. #container{
  203. width:1020px;
  204. margin:20px auto;
  205. background:#fff; /* must use for IE */
  206. -webkit-box-shadow: 0px 0px 6px #757575;
  207. -moz-box-shadow: 0px 0px 6px #757575;
  208. box-shadow: 0px 0px 6px #757575;
  209. -moz-border-radius: 2px; /* Firefox */
  210. -webkit-border-radius: 2px; /* Safari, Chrome */
  211. border-radius: 2px; /* CSS3 */
  212. }
  213. /*** TOP ***/
  214. #top{height:109px;}
  215. #logo{float:left}
  216. /*** TOP MENU ***/
  217. #nav{position:relative; z-index:9000; float:right; margin:50px 28px 0 0}
  218. #topnav{
  219. margin:0;
  220. padding:0;
  221. list-style-type:none;
  222. overflow:visible;
  223. position:relative;
  224. float:left;
  225. font-size:14px;
  226. font-family:'Ubuntu', Arial;
  227. }
  228. .sf-menu a {
  229. text-decoration:none!important;
  230. display: block;
  231. position: relative;
  232. padding: 0 12px 0 12px !important;
  233. text-decoration:none;
  234. font-weight:normal;
  235. text-transform:uppercase;
  236. color:#4d4d4d;
  237. }
  238. .sf-menu a:visited{color:#4d4d4d;}
  239. .sf-menu a:hover, .sf-menu li a.current{color:#dc6a4d;}
  240. .sf-menu li.sfHover a:hover{color:#dc6a4d;}
  241. /* Drop down menu */
  242. .sf-menu ul a:hover {}
  243. .sf-menu li li {
  244. text-align:left;
  245. line-height:20px;
  246. margin:0;
  247. }
  248. .sf-menu, .sf-menu * {
  249. margin: 0;
  250. padding: 0;
  251. list-style: none;
  252. font-size:13px;
  253. }
  254. .sf-menu {
  255. line-height:100%;
  256. position:absolute;
  257. right:0;
  258. bottom:0;
  259. float:left;
  260. }
  261. .sf-menu ul {
  262. position: absolute;
  263. top: -999em;
  264. width: 27em; /* left offset of submenus need to match (see below) */
  265. }
  266. .sf-menu ul li {
  267. width: 100%;
  268. }
  269. .sf-menu li:hover {
  270. visibility: inherit; /* fixes IE7 'sticky bug' */
  271. }
  272. .sf-menu li {
  273. float: left;
  274. position: relative;
  275. margin:0;
  276. }
  277. .sf-menu li li{margin:0px 0px;}
  278. .sf-menu li:hover ul,
  279. .sf-menu li.sfHover ul {
  280. left: -2px;
  281. top: 2.6em; /* match top ul list item height */
  282. z-index: 99;
  283. }
  284. ul.sf-menu li:hover li ul,
  285. ul.sf-menu li.sfHover li ul {
  286. top: -999em;
  287. }
  288. ul.sf-menu li li:hover ul,
  289. ul.sf-menu li li.sfHover ul {
  290. left: 10em; /* match ul width */
  291. top: -1px;
  292. margin-left: 0px;
  293. }
  294. ul.sf-menu li li:hover li ul,
  295. ul.sf-menu li li.sfHover li ul {
  296. top: -999em;
  297. }
  298. ul.sf-menu li li li:hover ul,
  299. ul.sf-menu li li li.sfHover ul {
  300. left: 10em; /* match ul width */
  301. top: -1px;
  302. }
  303. .sf-menu ul li a{
  304. padding:8px 0px 8px 20px!important;
  305. text-transform:capitalize;
  306. }
  307. .sf-menu ul li a:hover{}
  308. .sf-menu li ul {
  309. padding:0px;
  310. }
  311. .sf-menu a.sf-with-ul {
  312. padding-right: 0px;
  313. min-width: 1px; /* trigger IE7 hasLayout so spans position accurately */
  314. }
  315. .sf-sub-indicator {
  316. position: absolute;
  317. display: block;
  318. right: 10px;
  319. top: 1.05em; /* IE6 only */
  320. width: 10px;
  321. height: 10px;
  322. text-indent: -999em;
  323. overflow: hidden;
  324. }
  325. .sf-menu li li, .sf-menu li li:hover, .sf-menu li li.sfHover{background:#fff; text-transform:capitalize}
  326. .sf-menu li li:hover{background:#f3f3f3}
  327. li.sfHover ul li:first-child a{background-image:url(../images/arrow_menu.gif); background-repeat:no-repeat; background-position:30px 0px; margin-top:-8px; padding-top:16px !important}
  328. .sf-menu ul{border:solid 1px #e1e1e1;}
  329. .sf-with-ul{}
  330. .sf-menu li li {border-bottom:solid 1px #e1e1e1;}
  331. .sf-menu li li:last-child{ border-bottom:0}
  332. /*** HEADER ***/
  333. #header{height:450px;}
  334. #header.innerpage{height:auto; background:url(../images/pattern_header_inner.gif) repeat; clear:both; padding:30px 0; position:relative}
  335. #header.innerpage .shadow{background:url(../images/glow-header-inner.png) repeat-x; width:100%; height:5px; position:absolute; top:0;}
  336. #header.innerpage .pagetitle{float:left;}
  337. #header.innerpage .pagedesc{font-size:14px; color:#dedede; font-family:"Ubuntu", Arial; float:right; margin-right:60px; padding:2px 0 0 0}
  338. #slider-container{position:relative; clear:both}
  339. #shadow-img-slider{height:5px; width:100%; position:absolute; top:0; left:0; background:url(../images/shadow-img-slider.png) repeat-x; z-index:30;}
  340. .box_skitter_large {width:1020px; height:450px; background:#000}
  341. .label_skitter{bottom:35px !important; left:40px !important; padding:20px; background:url(../images/opacity-slider-text.png) repeat;}
  342. .label_skitter h3{margin-bottom:10px;}
  343. /*** AFTER HEADER ***/
  344. #after-header{padding:40px 0}
  345. #after-header h1{font-size:20px; line-height:26px; text-transform:uppercase; text-align:center; color:#999; margin:0;}
  346. /*** BEFORE CONTENT ***/
  347. #before-content{position:relative; margin-bottom:20px}
  348. #before-content .shadow{background:url(../images/glow.png) repeat-x; width:100%; height:12px; position:absolute; top:0;}
  349. /*** CONTENT ***/
  350. #content{}
  351. #content.withsidebar{background:url(../images/bg-content-inner.gif) repeat-y;}
  352. #main{padding:40px;}
  353. #maincontent{float:left; width:610px; padding-right:25px;}
  354. /*** CONTENT EMEMENT ***/
  355. .container940{width:940px; margin:0 auto;}
  356. .colortext, .colortext a, .colortext a:visited{color:#dc6a4d !important;}
  357. .patternbox{background:url(../images/pattern_box.gif) repeat; border:solid 1px #dcdcdc; border-width:1px 0; padding:20px 0}
  358. /* Separator */
  359. .separator{clear:both; display:block; height:30px; padding:10px 0}
  360. .separator.small{clear:both; display:block; height:10px; padding:0 0}
  361. .separator.line{clear:both; display:block; height:30px; padding:10px 0; margin-bottom:20px; background:url(../images/hr.gif) repeat-x left center}
  362. /* Custom List */
  363. .customlist{list-style-type:none; margin:0; padding:0;}
  364. .customlist li{width:280px; float:left; padding:10px 19px 10px 0; margin:0 30px 0 0; border-right:solid 1px #dcd}
  365. .customlist li.last{border:0; margin:0; padding:10px 0}
  366. .customlist2{list-style-type:none; margin:0; padding:0}
  367. .customlist2 li{width:220px; float:left; margin-right:20px;}
  368. .customlist2 li.last{margin:0;}
  369. #recentpost{list-style-type:none; margin:0; padding:0}
  370. #recentpost li{width:220px; float:left; margin-right:20px;}
  371. #recentpost li.last{margin:0;}
  372. #recentpost .entry-date{border:solid 1px #ececec; border-width:1px 0; padding:4px 0; color:#909090; margin-bottom:15px}
  373. #recentpost .entry-date a, #recentpost .entry-date a:visited{color:#909090;}
  374. .outside{list-style-type:none; margin:0; padding:0;}
  375. .outside li{background:url(../images/list1.gif) no-repeat 0px 10px; padding:3px 0 3px 20px}
  376. /* Frame Image */
  377. .frame{padding:4px; border:solid 1px #ececec; display:block}
  378. /* Shadow Image */
  379. .shadowimg70{background:url(../images/shadowimg70.gif) no-repeat; display:block; height:12px;}
  380. .shadowimg220{background:url(../images/shadowimg220.gif) no-repeat; display:block; height:20px;}
  381. .shadowimg300{background:url(../images/shadowimg300.gif) no-repeat; display:block; height:24px;}
  382. .shadowimg610{background:url(../images/shadowimg610.gif) no-repeat; display:block; height:22px;}
  383. .shadowimg540{background:url(../images/shadowimg540.gif) no-repeat; display:block; height:29px;}
  384. .shadowimg460{background:url(../images/shadowimg460.gif) no-repeat; display:block; height:27px;}
  385. /* Button */
  386. input[type="text"],
  387. textarea{
  388. border:solid 1px #ececec;
  389. font-size:11px;
  390. padding:8px 5px;
  391. border-radius:4px;
  392. -moz-border-radius:4px;
  393. -webkit-border-radius:4px;
  394. }
  395. select {
  396. font-size:11px;
  397. padding:4px 5px;
  398. }
  399. .button,
  400. .button:visited,
  401. input[type="submit"],
  402. input[type="reset"],
  403. button,
  404. .meta-nav{
  405. color:#555555;
  406. outline:0px;
  407. font-size:12px;
  408. font-family:"Ubuntu", Arial;
  409. text-transform:capitalize;
  410. display:block;
  411. display:inline-block;
  412. border:solid 1px #eaeaea;
  413. border-bottom:solid 1px #bfbfbf;
  414. border-right:solid 1px #bfbfbf;
  415. border-radius:4px;
  416. -moz-border-radius:4px;
  417. -webkit-border-radius:4px;
  418. height:30px;
  419. line-height:30px;
  420. padding:0 15px;
  421. background:url(../images/bg-button.png) repeat-x left top;
  422. }
  423. input[type="submit"],
  424. input[type="reset"],
  425. button{
  426. height:32px;
  427. }
  428. .button:hover,
  429. input[type="submit"]:hover,
  430. input[type="reset"]:hover,
  431. button:hover{text-decoration:none; color:#dc6a4d; cursor:pointer}
  432. .button.large{
  433. font-size:18px;
  434. text-transform:uppercase;
  435. height:40px;
  436. line-height:40px;
  437. text-decoration:none;
  438. background:url(../images/bg-buttonlarge.png) repeat-x left top;
  439. }
  440. .button.large:hover{background-position:0 0;}
  441. /* Tabs */
  442. .tabcontainer{margin:0; border:solid 1px #ebebeb; border-width:0 0 0 1px;}
  443. ul.tabs {
  444. margin: 0;
  445. padding: 0 0 1px 0;
  446. list-style: none;
  447. height: 41px;
  448. width: 100%;
  449. }
  450. ul.tabs li {
  451. float: left;
  452. margin: 0 0;
  453. padding: 0 15px;
  454. line-height:41px;
  455. height:41px;
  456. overflow: hidden;
  457. position: relative;
  458. font-size:14px;
  459. font-family:"Ubuntu", Arial;
  460. border:solid 1px #ebebeb;
  461. border-width:1px 1px 0 0;
  462. background:url(../images/navtab.gif) repeat-x;
  463. }
  464. ul.tabs li a {
  465. text-decoration: none;
  466. display: block;
  467. padding: 0 0px;
  468. outline: none;
  469. color:#555;
  470. }
  471. .tab-content {padding: 20px 0; }
  472. ul.tabs li:hover{}
  473. ul.tabs li.active{background:transparent}
  474. html ul.tabs li.active a{ color:#dc6a4d; }
  475. #tab-body{padding:0 20px; border:solid 1px #ebebeb; border-width:1px 1px 1px 0;}
  476. /* jQuery Toggle */
  477. #toggle{border: 1px solid #ebebeb; border-width:1px 1px 0 1px;}
  478. h2.trigger {
  479. padding: 16px 20px 16px 20px;
  480. margin: 0 0 0 0;
  481. font-size:14px;
  482. font-weight: normal;
  483. background:url(../images/bg-toggle.gif) repeat-x;
  484. border-bottom: 1px solid #ebebeb;
  485. }
  486. h2.trigger span {
  487. text-decoration: none;
  488. display: block;
  489. color:#555;
  490. height:9px;
  491. background: url(../images/left.gif) no-repeat;
  492. padding-left:20px;
  493. cursor:pointer;
  494. line-height:12px;
  495. }
  496. h2.active span{ background:url(../images/down.gif) no-repeat 0 1px; color:#dc6a4d}
  497. h2.trigger a:hover {
  498. color: #454545;
  499. }
  500. h2.active { background:transparent;}
  501. .toggle_container {
  502. margin: 0 0 0 0;
  503. padding: 20px 25px;
  504. overflow: hidden;
  505. clear: both;
  506. border: 1px solid #ebebeb;
  507. border-width:0 0px 1px 0px;
  508. }
  509. .toggle_container .block {
  510. padding: 0px;
  511. }
  512. .toggle_container .block p {
  513. padding: 5px 0;
  514. margin: 5px 0;
  515. }
  516. /* Dropcaps */
  517. .dropcap1{
  518. text-shadow:1px 1px 0 #666;
  519. display:block;
  520. float:left;
  521. font-size:35px;
  522. line-height:35px;
  523. margin:2px 8px 0 0;
  524. }
  525. /* Pullquotes */
  526. .pullquote-right,.pullquote-left{
  527. padding:0px 10px 0px 50px;
  528. background-image:url(../images/quote.png);
  529. background-repeat:no-repeat;
  530. background-position:0px 0px;
  531. float:right;
  532. font-family:'Ubuntu', Georgia, Arial;
  533. font-style:italic;
  534. font-size:16px;
  535. letter-spacing:0px;
  536. line-height:22px;
  537. margin:0px 2px 20px 20px;
  538. width:50%;
  539. }
  540. .pullquote-left{float:left;margin-left:2px;margin-right:20px;}
  541. /* Highlight */
  542. .highlight1{padding:2px 5px; background-color:#f7f7f7; border:solid 1px #ebebeb}
  543. .highlight2{padding:2px 5px; background-color:#ebebeb; border:solid 1px #f7f7f7}
  544. /* Tables */
  545. table {border-collapse:separate;border-spacing:0;width:100%; margin-bottom:18px;}
  546. table,td,th { text-align:center;}
  547. th{padding:10px;text-transform:uppercase; background:#f7f7f7; border-bottom: 1px solid #ebebeb;}
  548. td{padding:10px;}
  549. tfoot td{border:0px;}
  550. th,tr:hover{}
  551. table {
  552. border: 1px solid #ebebeb;
  553. border-bottom:0;
  554. text-align: left;
  555. margin: 0 -1px 24px 0;
  556. width: 100%;
  557. }
  558. tr th,
  559. thead th {
  560. font-size: 12px;
  561. font-weight: bold;
  562. line-height: 18px;
  563. padding: 9px 24px;
  564. }
  565. tr td {
  566. border-bottom: 1px solid #ebebeb;
  567. padding: 6px 24px;
  568. }
  569. tr.odd td {
  570. background: #F2F7FC;
  571. }
  572. /* Column */
  573. .one_half, .one_third, .two_third,
  574. .three_fourth, .one_fourth, .one_fifth,
  575. .two_fifth, .three_fifth, .four_fifth,
  576. .one_sixth, .five_sixth {margin-right: 4%; margin-left:0; position:relative; float:left;}
  577. .one_half { width:48%; }
  578. .one_third { width:30.6666%;}
  579. .one_fourth { width:22%; }
  580. .one_fifth { width: 16.8%;}
  581. .one_sixth { width: 13.3333%;}
  582. .two_third { width: 65.3332%;}
  583. .two_fourth { width: 48%;}
  584. .two_fifth { width: 37.6%;}
  585. .two_sixth { width: 30.6666%;}
  586. .three_fourth { width:74%;}
  587. .three_fifth { width: 58.4%;}
  588. .three_sixth { width: 47.9998%;}
  589. .four_fifth { width: 79.2%;}
  590. .four_sixth { width: 65.3332%;}
  591. .five_sixth { width: 82.6665%;}
  592. .firstcols { margin-left:0px !important; }
  593. .last, .lastcols { margin-right:0px !important; clear:right; }
  594. /*** AFTER CONTENT ***/
  595. #after-content{position:relative; margin:20px 0 60px 0; clear:both}
  596. #after-content h2{font-size:20px; margin:10px 0 0 20px; float:left}
  597. #after-content.patternbox{padding:20px 0;}
  598. #after-content .button{float:right; margin-right:60px}
  599. /*** SIDEBAR ***/
  600. #sidebar{float:left; width:270px; padding-left:35px}
  601. #sidebar ul{list-style-type:none; padding:0; margin:0;}
  602. #sidebar ul li.widget-container{margin:0 0 40px 0 !important; clear:both}
  603. #sidebar .widget-title{ font-size:16px; text-transform:uppercase; margin-bottom:20px}
  604. #sidebar ul li a, #sidebar ul li a:visited{color:#555;}
  605. #sidebar ul li a:hover{color:#dc6a4d; text-decoration:none}
  606. #sidebar li li{
  607. list-style-type:none;
  608. margin:0 0 8px 0;
  609. padding:0 0 8px 15px;
  610. background: url(../images/double_line.gif) repeat-x left bottom ,
  611. url(../images/arrow.gif) 0px 7px no-repeat;
  612. }
  613. #sidebar li li:hover{
  614. background: url(../images/double_line.gif) repeat-x left bottom ,
  615. url(../images/arrow2.gif) 0px 7px no-repeat;
  616. }
  617. /* list second level */
  618. #sidebar ul.sub-menu, #sidebar ul ul ul{margin:5px 0 0 0; }
  619. #sidebar ul.sub-menu li, #sidebar ul ul ul li{margin-bottom:0px; background:url(../images/arrow.gif) 0px 7px no-repeat; padding-bottom:5px}
  620. #sidebar ul.sub-menu li:hover, #sidebar ul ul ul li:hover{background:url(../images/arrow2.gif) 0px 7px no-repeat;}
  621. #sidebar ul.sub-menu li:last-child, #sidebar ul ul ul li:last-child{padding-bottom:0px; margin-bottom:0;}
  622. /* tags widget */
  623. .tag{margin:0 10px 10px 0;}
  624. .tag, .tag span{display:block; float:left; height:27px; line-height:25px}
  625. .tag .left{background:url(../images/tag-left.gif) no-repeat; width:17px;}
  626. .tag .middle{background:url(../images/tag-middle.gif) repeat-x; padding:0 10px 0 8px}
  627. .tag .right{background:url(../images/tag-right.gif) no-repeat; width:12px;}
  628. /* recent comment widget */
  629. #recentcommentwidget{}
  630. #recentcommentwidget li{clear:both; padding:0 0 8px 0 !important; margin:0 0 15px 0 !important}
  631. #recentcommentwidget .colortext{display:block; padding-bottom:5px;}
  632. #recentcommentwidget li a:hover{color:#555 !important;}
  633. /* recent project widget */
  634. #recentprojectwidget{}
  635. #recentprojectwidget li{clear:both; padding:0 0 8px 0 !important; margin:0 0 15px 0 !important}
  636. #recentprojectwidget .date{color:#909090;}
  637. /* shopping cart widget */
  638. #shoppingcartwidget{}
  639. #shoppingcartwidget li{clear:both; padding:0 0 8px 0 !important; margin:0 0 15px 0 !important}
  640. .totalprice{font-weight:bold;display:block; margin-bottom:15px}
  641. .shopping_textwidget{background: url(../images/double_line.gif) repeat-x left bottom; padding-bottom:30px}
  642. .shopping_textwidget .button{margin-right:8px;}
  643. /* recent product widget */
  644. #recentproductwidget{}
  645. #recentproductwidget li{clear:both; padding:0 0 8px 0 !important; margin:0 0 15px 0 !important}
  646. /* login widget */
  647. #login{}
  648. #login label{width:70px; float:left; padding:5px 0 0 0}
  649. #login input[type="text"]{ width:180px}
  650. #login .lost{float:right; width:50%; text-align:right}
  651. /*** FOOTER ***/
  652. #footer{border-top:solid 10px #303030; background:#1f1f1f url(../images/bg-footer.png) repeat-x; color:#aaa}
  653. #footer-pattern{ background:url(../images/bg-footer-pattern.gif) repeat; }
  654. #footcol1, #footcol2, #footcol3, #footcol4{width:220px; float:left; padding:40px 0 20px 0; margin-right:20px;}
  655. #footcol4{margin:0;}
  656. #footer ul{list-style-type:none; margin:0; padding:0;}
  657. #footer ul li.widget-container{margin-bottom:40px;}
  658. #footer ul li.widget-container:last-child{margin-bottom:0px;}
  659. #footer .widget-title{color:#fafafa; text-transform:uppercase; margin-bottom:25px; font-size:14px}
  660. #footer ul li a, #footer ul li a:visited{color:#aaa}
  661. #footer ul li a:hover{text-decoration:none; color:#fff}
  662. #footer ul li li{border-bottom:solid 1px #4a4a4a; padding:0 0 6px 0; margin:0 0 6px 0;}
  663. #footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6{color:#fafafa}
  664. #footer .frame{padding:4px; border:solid 1px #424242; background:url(../images/opacity-img.png) repeat}
  665. #recentpostwidget h5{font-size:12px; font-family:Arial; margin-bottom:5px}
  666. #footer #recentpostwidget li h5 a, #footer #recentpostwidget li h5 a:visited{color:#fafafa}
  667. #recentpostwidget li{clear:both; margin:0 0 30px 0 !important; border:0px !important; padding:0 !important; background:transparent !important}
  668. #flickr li{border:0px !important; float:left; margin-right:14px !important;}
  669. #flickr li.nomargin{margin-right:0px !important;}
  670. /*** AFTER FOOTER ***/
  671. #after-footer{background:url(../images/bg-afterfooter.png) no-repeat; height:80px;}
  672. #footertext{padding:30px 0 0 0;color:#aaaaaa}
  673. #sn{float:right; padding:25px 0 0 0}
  674. #sn ul{margin:0; padding:0; list-style-type:none;}
  675. #sn ul li{float:left; margin-left:8px;}

其它模板预览图:

由于篇节限制,只展示部分,更多自己去测试!已打包了,自取,要是对你有帮助留言点赞!

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/煮酒与君饮/article/detail/983242
推荐阅读
相关标签
  

闽ICP备14008679号