Browse Source

update style

pull/4/head
afc163 10 years ago
parent
commit
066a9683c8
  1. 11
      static/style.css
  2. 1
      theme/templates/layout.html

11
static/style.css

@ -11,6 +11,7 @@ body {
font-family: Consolas, "Microsoft Yahei", "tahoma", "arial", "\5b8b\4f53";
line-height: 1.5;
color: #999;
font-size: 14px;
}
*,
*:after,
@ -384,6 +385,16 @@ footer ul li > a {
color: #5C6B77;
}
.markdown pre {
padding: 8px 15px;
border-radius: 6px;
border: 1px solid #e9e9e9;
}
.markdown p {
margin: 1em 0;
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
.nav {
width: 40%;

1
theme/templates/layout.html

@ -8,6 +8,7 @@
<meta name="format-detection" content="telephone=no">
<title>Ant Design</title>
<link rel="stylesheet" href="/static/style.css">
<link rel="stylesheet" href="/static/tomorrow.css">
<script src="https://a.alipayobjects.com/jquery/jquery/1.11.1/jquery.js"></script>
<script src="/static/script.js"></script>
</head>

Loading…
Cancel
Save