Commits

keakon committed 70a2ac5

美化移动页面的代码显示样式

  • Participants
  • Parent commits c722429

Comments (0)

Files changed (4)

File en/static/theme/iphonsta/css/style.css

 }
 pre {
 	padding:2px;
-	border:solid 1px #fff;
+	-webkit-box-shadow: 0 0 8px #46B40A inset;
+	box-shadow: 0 0 8px #46B40A inset;
+	color: #000;
+	background: #94DA3A;
 }
 /*########### header ##########*/
 

File en/template/iphonsta/header_mobile.html

 <?py #endif ?>
 	<link href="#{{BLOG_HOME_RELATIVE_PATH}}feed" rel="alternate" title="${{BLOG_TITLE}} - ATOM Feed" type="application/atom+xml"/>
 	<link href="#{{BLOG_HOME_RELATIVE_PATH}}comment-feed" rel="alternate" title="${{BLOG_TITLE}} - Comment Feed" type="application/atom+xml"/>
-	<link rel="stylesheet" href="/theme/iphonsta/css/style.css"/>
+	<link rel="stylesheet" href="/theme/iphonsta/css/style.css?#{{CURRENT_VERSION_ID}}"/>
 </head>
 <body>
 	<div id="out">

File zh-CN/static/theme/iphonsta/css/style.css

 }
 pre {
 	padding:2px;
-	border:solid 1px #fff;
+	-webkit-box-shadow: 0 0 8px #46B40A inset;
+	box-shadow: 0 0 8px #46B40A inset;
+	color: #000;
+	background: #94DA3A;
 }
 /*########### header ##########*/
 

File zh-CN/template/iphonsta/header_mobile.html

 <?py #endif ?>
 	<link href="#{{BLOG_HOME_RELATIVE_PATH}}feed" rel="alternate" title="${{BLOG_TITLE}} - ATOM供稿" type="application/atom+xml"/>
 	<link href="#{{BLOG_HOME_RELATIVE_PATH}}comment-feed" rel="alternate" title="${{BLOG_TITLE}} - 评论供稿" type="application/atom+xml"/>
-	<link rel="stylesheet" href="/theme/iphonsta/css/style.css"/>
+	<link rel="stylesheet" href="/theme/iphonsta/css/style.css?#{{CURRENT_VERSION_ID}}"/>
 </head>
 <body>
 	<div id="out">