我的博客美化

image

页面定制css

#HistoryToday {
      display: none;
}
#under_post_card2 {
      display: none;
}
#under_post_card1 {
      display: none;
}
#cnblogs_c1 {
      display: none;
}
#opt_under_post {
      display: none;
}
#cnblogs_ch {
      display: none;
}
#blog_post_info_block{
      display: none;
}
#ad_text_under_commentbox {
     display: none;
}
.navbar {
     display: none;
}
.postDesc{
     display: none;
}
#navigator {
     display: none;
}
#blogTitle {
     display: none;
}
#sideBar{
     display: none;
}
#footer{
    display: none;
}
#homepage_top_pager{
    display: none;
}
#home {
    margin: 50px auto auto auto;
    width: 90%;
}
.comment_textarea{
    width: 100%;
}
#myNavigator {
    background-color: #0db0b8;
    height: 60px;
    clear: both;
    margin-top: 60px;
    position: relative;
    border-radius: 20px;
    width: 90%;
    margin-left: 5%;
}
#myNavList {
    float: left;
    width: 100%;
    border-radius: 10px;
    display: flex;
    text-align: center;
    justify-content: center;
    font-size: 20px;
    margin-top: 15px;
}
li {
    margin-right: 200px;
}
a:hover {color:red;}
#main {
  border-radius: 50px;
  margin-bottom: 50px;
}
#mainContent {
  border-radius: 50px;
  width: 90%;
  margin: 5%;
}
#sideBar {
  display: none;
}
#commentform_title{
    text-shadow: 1px 1px 1px #ccc;
    letter-spacing: 0.1em;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: bold;
    font-style: italic;
    font-size: 16px;
    color: #333;
}
#commentform_title a {
    display: none;
}
#btn_comment_submit{
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #0077cc;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    width: 100px;
    height: 50px;
}
#btn_comment_submit:hover {
    background-color: #005ea6;
}

首页html 代码

 <div id="myNavigator">
 <ul id="myNavList">
      <li>
        <a id="blog_nav_sitehome" class="menu" href="https://www.cnblogs.com/" style="text-decoration: none;">
          博客园</a
        >
      </li>
      <li>
        <a
          id="blog_nav_myhome"
          class="menu"
          href="https://www.cnblogs.com/wyxqlgl/"
        style="text-decoration: none;">
          首页</a
        >
      </li>
      <li>
        <a
          id="blog_nav_newpost"
          class="menu"
          href="https://i.cnblogs.com/EditPosts.aspx?opt=1"
        style="text-decoration: none;">
          新随笔</a
        >
      </li>
      <li>
        <a id="blog_nav_admin" class="menu" href="https://i.cnblogs.com/" style="text-decoration: none;">
          管理</a
        >
      </li>
    </ul>
</div>

就此完结 没有别的设置了 简单明了

posted @   wczhw  阅读(11)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· Manus爆火,是硬核还是营销?
· 一文读懂知识蒸馏
· 终于写完轮子一部分:tcp代理 了,记录一下
历史上的今天:
2020-08-04 logback 日志处理
点击右上角即可分享
微信分享提示