Simple setting of cnblogs Custom Skin CSS style

Source: Internet
Author: User

When cnblogs was just launched, I was always a little dissatisfied when I wanted to find a few satisfactory skins. I saw that the background supported CSS custom styles and HTML and started to transform a satisfactory skin imetro.

This skin is good, but the font looks too big and abrupt. Although it looks pretty after a glance, it will make people feel depressed and confused after a long time.

Another important drawback is that the reading area is too small by default, which leads to a serious bug where the display is incomplete. You can only drag the scroll bar, so it is necessary to modify the topic.

 

Here, we use the developer tools of webki to find the CSS styles that control these divs, and then modify them.

This tool is very practical and convenient, and can easily chase all CSS Control Div, and can directly modify CSS and other labels, the tool can directly change the client page in real time based on the modified elements.

 

Therefore, you can adjust the parameters to view the effect at will before entering the background CSS to add a style.

 

CSS parameters in this blog (changed according to imetro)

The main navigation word is reduced, and the page transparency is added. The background is changed and the reading area is increased by PX.

# Main {
Font-size: 11px;
}

# Home {
Font-size: 8px;
Opacity: 0.95;
Width: 1024px;
}

# Sidebar {
Font-size: 10px;
}

Body {
Background-image: URL ("http://p13.freep.cn/p.aspx? U=v20_p13_photo_1203072250411932_0.jpg ");
}

# Maincontent {
Width: 750px;
}

The added results are shown in this blog.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.