Edit stylesheet (CSS)
Let's edit the style sheet (CSS).
A style sheet is a mechanism for changing the design of a website, and you can change the color of characters and the color of the background.
The style sheet is written in the following file.
templates / static / css / common.css
If you want to edit the stylesheet, edit this file.
Stylesheet sample
As a sample, I will publish the contents of the style sheet of the website created by Giblog.
/ * Default settings * / / * all * / * {{ margin: 0; padding: 0; box-sizing: border-box; -webkit-text-size-adjust: 100%; } a, a: visited { color: # 0000EE; } / * header * / .header { background: white; margin-bottom: 15px; border-bottom: 5px solid # 3081ff; } / * footer * / .footer { background: white; margin-top: 15px; text-align: center; padding: 15px 0; border-top: 1px solid #ccc; } .footer a, .footer a: visited { color: # 000; } / * container * / .container { background: # f7fffd; } / * main * / .main { max-width: 960px; width: 100%; margin: 0 auto 15px auto; } .main: after { content: ""; display: block; clear: both; } / * content * / .content { float: left; width: 74%; } / * entry * / .entry { border: 1px solid # C0C0C0; background: white; box-shadow: 0 0 3px rgba (0,0,0, .1); padding: 15px 25px; margin-bottom: 10px; } .entry li { margin-left: 25px; line-height: 1.5; } / * side * / .side { float: left; width: 25%; margin-left: 1%; } / * tags * / h1 { max-width: 960px; width: 100%; font-size: 30px; padding: 12px 10px 10px 13px; margin: 0 auto; } .site-description { max-width: 960px; width: 100%; margin: 0 auto; padding: 0px 15px 15px 15px; } h1 a, h1 a: visited { text-decoration: none; color: # 0f213d; } h2 { font-size: 23px; padding: 10px 0; letter-spacing: 0.5px; } h2 a, h2 a: visited { text-decoration: none; color: # 000; } h3 { font-size: 18px; border-left: 7px solid # ffad49; padding: 6px 0px 4px 12px; letter-spacing: 0.5px; margin: 15px 0 10px 0; } h4 { font-size: 17px; font-weight: bold; padding: 6px 0px 4px 5px; letter-spacing: 0.5px; margin: 15px 0 10px 0; } p { font-size: 16px; color: # 111; margin: 10px 0; line-height: 1.5; } pre { font-size: 16px; background: #FCFCFC; border: 1px solid #CCCCCC; border-radius: 5px; padding: 10px 15px; margin: 10px 0; line-height: 1.5; } blockquote { font-size: 16px; background: #FCFCFC; border: 1px solid #CCCCCC; border-radius: 5px; padding: 10px 15px; margin: 10px 0; line-height: 1.5; } / * advanced * / .day { text-align: right; color: # 999; } .before-days { text-align: center; } .side-list { box-shadow: 0 0 3px rgba (0,0,0, .1); } .side-list-title { background: # 3081ff; color: white; font-weight: bold; padding: 7px 0px 5px 0px; text-align: center; border: 1px solid #ccc; border-bottom: none; } .side-list ul { border: 1px solid #ccc; } .side-list li { list-style: none; background: white; border-bottom: 1px solid #ccc; padding: 7px 10px 5px 10px; } .side li: last-child { border-bottom: none; } / * Tablet and Smart phone * / @media only screen and (max-width: 960px) { .content { float: none; width: 97%; margin: 0 auto; margin-bottom: 15px; } .side { float: none; width: 97%; margin: 0 auto; } }