样式一

  1. #sideBar,#blog_post_info_block
  2. {
  3. display: none;
  4. }
  5. #under_post_news
  6. {
  7. display: none;
  8. }
  9. /*评论框大小*/
  10. #tbCommentBody.comment_textarea{
  11. width:890px;
  12. }
  13. /*尾部间距*/
  14. #footer
  15. {
  16. text-align:center;
  17. border-top:2px solid #2F4F4F;
  18. margin-left:25px;
  19. margin-right:25px;
  20. padding-top:10px;
  21. padding-bottom:10px;
  22. }
  23. /*居中间距*/
  24. #mainContent .forFlow {
  25. margin-left:20px;
  26. margin-right:20px;
  27. margin-top:10px;
  28. float: none;
  29. width: auto;
  30. }
  31. /*评论框边框*/
  32. #comment_form_container,#blog-comments-placeholder
  33. {
  34. background-color:#f5f5f5;
  35. border-radius:6px 6px 6px 6px;
  36. padding:20px;
  37. }
  38. #comment_nav,#homepage1_HomePageDays_DaysList_ctl05_ImageLink
  39. {
  40. display: none;
  41. }
  42. .postBody {
  43. border-bottom: 2px solid #2F4F4F;
  44. }
  45. .day {
  46. padding-bottom: 5px;
  47. padding-left: 20px;
  48. padding-right: 20px;
  49. padding-top: 10px;
  50. margin-bottom:5px;
  51. }
  52. .postSeparator {
  53. display: none;
  54. }
  55. .postTitle {
  56. border-left: 5px solid #2F4F4F;
  57. font-size: 110%px;
  58. }
  59. .postTitle a:link, .postTitle a:visited, .postTitle a:active {
  60. padding-left: 10px;
  61. }
  62. #cb_post_title_url.postTitle2
  63. {
  64. font-size: 120%;
  65. color:#2F4F4F;
  66. }
  67. .dayTitle a:link
  68. {
  69. display:none;
  70. }
  71. #mainContent a{
  72. color:#2F4F4F;
  73. }
  74. #mainContent a:hover{
  75. color:#03A89E;
  76. }
  77. #main {
  78. font-size:15px;
  79. font-family:微软雅黑;
  80. padding-left: 0px;
  81. padding-right: 0px;
  82. }
  83. #home {
  84. opacity: 0.95;
  85. width:1280px;
  86. background-color:#f5f5f5;
  87. border-radius:6px 6px 6px 6px;
  88. box-shadow:0 0 20px black;
  89. }
  90. .feedbackCon {
  91. background: url('http://images2015.cnblogs.com/blog/370709/201612/370709-20161230031921867-127780074.png') no-repeat 5px 0px;
  92. }
  93. .day {
  94. color:#333333;
  95. }

样式二

  1. #home {
  2. margin: 0 auto;
  3. width: 80%;/*原始65*/
  4. min-width: 980px;/*页面顶部的宽度*/
  5. background-color: rgba(245, 245, 245, 0.7);
  6. padding: 30px;
  7. margin-top: 50px;
  8. margin-bottom: 50px;
  9. box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
  10. }
  11. body {
  12. background: rgba(12, 100, 129, 1) url('http://images.cnblogs.com/cnblogs_com/Penn000/1013849/o_123.jpg') fixed no-repeat;
  13. background-position: 50% 5%;
  14. background-size: cover;
  15. }
  16. #blogTitle {
  17. height: 100px; /*高度*/
  18. clear: both;
  19. background-color: rgba(245, 245, 245, 0);
  20. }
  21. #blogTitle h1 {
  22. font-size: 36px;
  23. font-weight: bold;
  24. line-height: 1.8em;/*原始 1.6em*/
  25. margin-top: 10px;/*原始 15px */
  26. color: #548B54;
  27. }
  28. #blogTitle h2 {
  29. font-weight: normal;
  30. font-size: 17px;/*原始 16px ;font-size: 1.0rem;*/
  31. line-height: 1.8;
  32. color: #111;
  33. font-weight: bold;
  34. text-align: right;
  35. float: right;
  36. }
  37. #navigator{
  38. background-color: rgba(33, 160, 139, 0.9);
  39. }
  40. #navList a:link, #navList a:visited, #navList a:active{
  41. color: #eee;
  42. font-size: 18px;
  43. font-weight: bold;
  44. }
  45. .blogStats{
  46. color: #eee;
  47. }
  48. .postTitle {
  49. border-left: 8px solid rgba(33, 160, 139, 0.68);
  50. margin-left: 10px;
  51. margin-bottom: 10px;
  52. font-size: 20px;
  53. float: right;
  54. width: 100%;
  55. clear: both;
  56. }
  57. .postTitle a:link, .postTitle a:visited, .postTitle a:active {
  58. color: #21759b;
  59. transition: all 0.4s linear 0s;
  60. }
  61. .postTitle a:hover {
  62. margin-left: 30px;
  63. color: #0f3647;
  64. text-decoration: none;
  65. }
  66. .postCon {
  67. float: right;
  68. line-height: 1.5em;
  69. width: 100%;
  70. clear: both;
  71. padding: 10px 0;
  72. }
  73. .day .postTitle a {
  74. padding-left: 10px;
  75. }
  76. .day {
  77. background: rgba(255, 255, 255, 0.5);
  78. }
  79. /*文章附加信息*/
  80. .postDesc {
  81. background: url(images/posted_time.png) no-repeat 0 1px;
  82. color: #757575;
  83. float: left;
  84. width: 100%;
  85. clear: both;
  86. text-align: left;
  87. font-family: "微软雅黑" , "宋体" , "黑体" ,Arial;
  88. font-size: 13px;
  89. padding-right: 20px;/*5px padding-left: 90px;posted 发表时间左边距离*/
  90. margin-top: 20px;
  91. line-height: 1.8;
  92. padding-bottom: 35px;
  93. }
  94. .newsItem, .catListEssay, .catListLink, .catListNoteBook, .catListTag, .catListPostCategory,
  95. .catListPostArchive, .catListImageCategory, .catListArticleArchive, .catListView,
  96. .catListFeedback, .mySearch, .catListComment, .catListBlogRank, .catList, .catListArticleCategory ,#blog-calendar
  97. {
  98. background: rgba(255, 255, 255, 0.5);
  99. margin-bottom: 35px;
  100. word-wrap: break-word;
  101. }
  102. .CalTitle{
  103. background: rgba(255, 255, 255, 0);
  104. }
  105. .catListTitle{
  106. background-color: rgba(33, 160, 139, 0.9);
  107. }
  108. #topics{
  109. background: rgba(255, 255, 255, 0.5);
  110. }
  111. .c_ad_block{
  112. display: none;
  113. }
  114. #tbCommentBody{
  115. width: 100%;
  116. height: 200px;
  117. background: rgba(255, 255, 255, 0.5);
  118. }
  119. #q{background: rgba(255, 255, 255, 0);}
  120. .CalNextPrev{background: rgba(255, 255, 255, 0);}
  121. .cnblogs_code{
  122. background: rgba(255, 255, 255, 0);
  123. }
  124. .cnblogs_code div{
  125. background: rgba(255, 255, 255, 0);
  126. }
  127. .cnblogs_code_toolbar{
  128. background: rgba(255, 255, 255, 0);
  129. }
  130. .entrylist{
  131. background: rgba(255, 255, 255, 0.5);
  132. }

css样式记录的更多相关文章

  1. css 样式 记录

    /* Track */::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); -webkit-bo ...

  2. 常用的 css 样式 记录

    1.font-style 属性指定文本的字体样式. 对应的值有: normal 默认值.浏览器显示一个标准的字体样式;  italic 浏览器会显示一个斜体的字体样式;  oblique  浏览器会显 ...

  3. (转载)记录函数 getStyle() 获取元素 CSS 样式

    设置元素(element)的css属性值可以用element的style属性,例如要将element的背景色设置为黑色,可以这么做: element.style.backgroundColor = ' ...

  4. jquery操作CSS样式全记录

    $(this).click(function(){  if($(this).hasClass(“zxx_fri_on”)){    $(this).removeClass(“zxx_fri_on”); ...

  5. 对于一些css样式的巧妙方法进行总结。

    针对之前遇到过的一些特殊样式的实现,我今天做个总结,目的有二:一是将这些方法记录下来,以便将来需要用到时查找使用.二为将这些大神们智慧的结晶发扬光大,让广大前端程序猿们能够少走弯路.此贴为更新帖,以后 ...

  6. HTML标记语言和CSS样式的简单运用(Nineteenth Day)

    曾经励志下去要坚持把每天所学的知识记录下来,可是坚持了几天后,就觉得自己坚持不下去了....这几天自己好好的想了想,觉得不能坚持也得要坚持,因为要对自己负责,所以得学会逼着自己去做,只有这样才能把一件 ...

  7. PHP使用echo输出标签设置CSS样式问题

    使用php是可以输出HTML标签的,这为页面设计带来很大方便. 在此记录php输出标签设置CSS样式的问题: echo可使用''.""或你不用引号,如果想要输出带CSS样式的HTM ...

  8. 常用css样式(布局)

    兼容css3新属性 在css3中,我们可以使用prefixfree.min.js这个插件来自动为css3的相关属性加上兼容浏览器属性,使我们不用为每个css3新属性再加上属性(需要用到大量css3的项 ...

  9. IIS发布,无法显示CSS样式和图片

    描述: 最近给同事安装web程序时,把IIS安装好后,发布网站时,图片和css样式不显示. 程序没问题,发布也没问题. 后来网上一查,出错的原因可能是IIS的配置问题. 果然,按照网上的方法,顺利显示 ...

随机推荐

  1. POJ 1654 Area 计算几何

    #include<stdio.h> #include<string.h> #include<iostream> #include<math.h> usi ...

  2. 使用命令行编译和运行 c、Java和python程序

    集成开发环境已经非常方便,从编写程序到执行程序看到结果,让我们不用关心中间的过程.但是使用原始的.命令的方式来将程序编译运行有的时候可能有些用,比如写个简答的程序,或者是身边没有集成工具的时候. C语 ...

  3. GIT(1)----更新代码和上传代码操作的步骤

    1.第一次下载代码 a.首先获得下载的地址,可从服务器,或者GitHut上获得.例如http://100.211.1.110:21/test/test.git b.终端里切换到想要将代码存放的目录,在 ...

  4. 最小生成树-普利姆算法eager实现

    算法描述 在普利姆算法的lazy实现中,参考:普利姆算法的lazy实现 我们现在来考虑这样一个问题: 我们将所有的边都加入了优先队列,但事实上,我们真的需要所有的边吗? 我们再回到普利姆算法的lazy ...

  5. 74HC245 74HCT245 74LV245 74LVC245 74LVC4245A 74LVC8T245 74LVC16T245 74ALVC164245

    74HC245/74HCT245 The 74HC245; 74HCT245 is a high-speed Si-gate CMOS device and is pin compatible wit ...

  6. linux内核 asmlinkage宏

    http://blog.chinaunix.net/uid-7390305-id-2057287.html

  7. 关于OPC Client 编写2

    最近在搞到一个OPC动态库OPCAutomation.dll,该动态库在http://www.kepware.com/可下载,下面介绍如何用C#进行OPC Client开发. 1.新建C#应用程序,命 ...

  8. restful api安全验证问题

    没有绝对的安全,这个话题很深, 下文都是自己的一些理解,水平有限,如有勘误,希望大家予以指正. 由于 RESTful Api 是基于 Http 协议的 Api,是无状态传输,所以 只要和用户身份有关的 ...

  9. mysql解决datetime与timestamp精确到毫秒的问题

    CREATE TABLE `tab1` ( `tab1_id` VARCHAR(11) DEFAULT NULL, `create` TIMESTAMP(3) NULL DEFAULT NULL, ` ...

  10. UIScrollView视差效果动画

    UIScrollView视差效果动画 效果 源码 https://github.com/YouXianMing/Animations // // ScrollImageViewController.m ...