Permalink
Browse files

fixed MD and favicon.ico

  • Loading branch information...
hzlzh committed Jan 21, 2013
1 parent 3baf83e commit 62db48151d39cb7b860c776c53b3f033299e40c2
Showing with 152 additions and 84 deletions.
  1. +72 −35 GeekPark-standard.sublime-workspace
  2. +35 −7 css/style.css
  3. +30 −6 css/style.less
  4. BIN favicon.ico
  5. BIN favicon.png
  6. +14 −35 index.html
  7. +1 −1 js/script.js
@@ -371,31 +371,32 @@
"file": "index.html",
"settings":
{
"buffer_size": 24069,
"buffer_size": 24223,
"line_ending": "Unix"
}
},
{
"contents": "\n<div style=\"width:200px;height:200px;background-color:#999999;overflow:auto;\" id=\"外层元素A\"> \n<div style=\"width:100px;height:300px;background-color:#FFFF00;\" id=\"内层元素A\"> \n这些文字显示在内层元素中。 \n</div> \n</div> \n<p>scrollTop值是:<span id=\"外层元素A的scrollTop的值\"></span></p> \n<p><button type=\"button\" onclick=\"div_外层元素A.scrollTop=50;\">把scrollTop设为50</button> \n<button type=\"button\" onclick=\"div_外层元素A.scrollTop=500;\">把scrollTop设为500</button> \n</p> \n<p>输入scrollTop的值:<input type=\"text\" id=\"输入scrollTop的值\" value=\"\" /> \n<button type=\"button\" onclick=\"设置scrollTop的值()\" name=\"设置scrollTop的值\">确定</button> \n</p> \n<script type=\"text/javascript\"> \nvar div_外层元素A = document.getElementById(\"外层元素A\"); \ndiv_外层元素A.onscroll=读取scrollTop的值并显示出来; \n//注册onscroll事件处理函数。当拖动滚动条时,会产生onscroll事件 \nvar span_外层元素A的scrollTop的值 = document.getElementById(\"外层元素A的scrollTop的值\"); \n//onscroll事件的处理函数 \nfunction 读取scrollTop的值并显示出来() \n{span_外层元素A的scrollTop的值.innerHTML=div_外层元素A.scrollTop; \n//读取\"外层元素\"此时的scrollTop的值并显示出来 \n} \n读取scrollTop的值并显示出来(); \n//页面加载完成后,执行一次此函数。显示最初的scrollTop值,此时的值为0 \ndiv_外层元素A.scrollTop = 10; \n//通过js语句来设置scrollTop的值,本条语句会触发onscroll事件,使得\"读取scrollTop的值并显示出来\"函数执行一次。 \nfunction 设置scrollTop的值() \n{ if(\"\" != document.getElementById(\"输入scrollTop的值\").value) \ndiv_外层元素A.scrollTop = document.getElementById(\"输入scrollTop的值\").value; \nelse alert(\"请输入一个数值\"); \n}</script>\n\n",
"contents": "$('[data-spy=\"scroll\"]').each(function(){\nvar $spy = $(this).scrollspy('refresh');\n});",
"settings":
{
"buffer_size": 1325,
"line_ending": "Unix"
"buffer_size": 86,
"line_ending": "Unix",
"name": "$('[data-spy=\"scroll\"]').each(function(){"
}
},
{
"file": "js/script.js",
"settings":
{
"buffer_size": 240,
"buffer_size": 426,
"line_ending": "Unix"
}
},
{
"file": "css/style.less",
"settings":
{
"buffer_size": 10543,
"buffer_size": 11034,
"line_ending": "Unix"
}
},
@@ -406,6 +407,14 @@
"buffer_size": 1570,
"line_ending": "Unix"
}
},
{
"file": "css/libs/elements.less",
"settings":
{
"buffer_size": 5240,
"line_ending": "Unix"
}
}
],
"build_system": "",
@@ -642,6 +651,12 @@
"case_sensitive": false,
"find_history":
[
".markdown-body pre",
".markdown-body .highlight pre, .markdown-body pre",
"End",
"h2",
"gradient",
"current",
"mac",
".markdown-body pre",
"transition",
@@ -763,13 +778,7 @@
"observer-message",
"error",
"input",
"",
"",
"不能",
"体验",
"date",
"da te›",
"error"
""
],
"highlight": false,
"in_selection": false,
@@ -818,7 +827,7 @@
"groups":
[
{
"selected": 3,
"selected": 1,
"sheets":
[
{
@@ -833,8 +842,8 @@
"selection":
[
[
7782,
7782
3290,
3290
]
],
"settings":
@@ -843,7 +852,7 @@
"translate_tabs_to_spaces": false
},
"translation.x": 0.0,
"translation.y": 4501.0,
"translation.y": 1564.0,
"zoom_level": 1.0
},
"type": "text"
@@ -853,7 +862,7 @@
"file": "index.html",
"settings":
{
"buffer_size": 24069,
"buffer_size": 24223,
"regions":
{
"TagLint":
@@ -863,8 +872,8 @@
"regions":
[
[
7358,
7368
7408,
7418
]
],
"scope": "variable.parameter"
@@ -873,8 +882,8 @@
"selection":
[
[
2773,
2752
12291,
12291
]
],
"settings":
@@ -885,7 +894,7 @@
"translate_tabs_to_spaces": true
},
"translation.x": 0.0,
"translation.y": 923.0,
"translation.y": 5768.0,
"zoom_level": 1.0
},
"type": "text"
@@ -894,20 +903,20 @@
"buffer": 2,
"settings":
{
"buffer_size": 1325,
"buffer_size": 86,
"regions":
{
},
"selection":
[
[
1083,
1103
0,
86
]
],
"settings":
{
"auto_name": "",
"auto_name": "$('[data-spy=\"scroll\"]').each(function(){",
"is_xml": false,
"syntax": "Packages/Text/Plain text.tmLanguage"
},
@@ -922,15 +931,15 @@
"file": "js/script.js",
"settings":
{
"buffer_size": 240,
"buffer_size": 426,
"regions":
{
},
"selection":
[
[
180,
180
129,
129
]
],
"settings":
@@ -948,15 +957,15 @@
"file": "css/style.less",
"settings":
{
"buffer_size": 10543,
"buffer_size": 11034,
"regions":
{
},
"selection":
[
[
9903,
9903
10772,
10772
]
],
"settings":
@@ -966,7 +975,7 @@
"translate_tabs_to_spaces": true
},
"translation.x": 0.0,
"translation.y": 5018.0,
"translation.y": 5183.0,
"zoom_level": 1.0
},
"type": "text"
@@ -998,6 +1007,34 @@
"zoom_level": 1.0
},
"type": "text"
},
{
"buffer": 6,
"file": "css/libs/elements.less",
"settings":
{
"buffer_size": 5240,
"regions":
{
},
"selection":
[
[
1825,
1825
]
],
"settings":
{
"syntax": "Packages/LESS/LESS.tmLanguage",
"tab_size": 2,
"translate_tabs_to_spaces": true
},
"translation.x": 0.0,
"translation.y": 5.0,
"zoom_level": 1.0
},
"type": "text"
}
]
}
@@ -1149,7 +1186,7 @@
[
[
"",
"/Users/hzlzh/Dropbox/Workspace/GeekPark/Backups/sublime/iapps2012.sublime-project"
"/Users/hzlzh/Dropbox/Workspace/GeekPark/Backups/sublime/geekevent.sublime-project"
]
],
"width": 380.0
View
@@ -1,5 +1,5 @@
/*
@name: ###
@name: Front End Standards (http://Front-End-Standards.com)
@author: hzlzh(hzlzh.dev@gmail.com)
*/
/*
@@ -188,12 +188,11 @@ body {
}
body header {
margin-left: 200px;
width: 500px;
overflow: hidden;
margin-bottom: 20px;
}
body header h1 {
margin: 0px 0 0 0;
margin: 37px 0 0 0;
text-shadow: 0px 0px 1px #ffffff;
}
body header h1:before {
@@ -221,9 +220,10 @@ body .container nav {
}
body .container nav.fixed {
position: fixed;
top: 0;
top: 50px;
}
body .container nav ul {
margin: 0;
padding-left: 25px;
}
body .container nav ul li {
@@ -261,23 +261,41 @@ body .container article {
}
body .container article .content-box {
border: 1px solid #dadada;
border-right: none;
background: url("images/box-bg.png") repeat scroll 0 0 transparent;
padding: 10px;
padding-right: 0;
}
body .container article .content-box .content {
background: none repeat scroll 0 0 #fbfbfb;
border: 1px solid #fff;
border-right: none;
left: 200px;
padding: 10px;
padding-right: 0;
}
body .container article .content-box .content #outputPane,
body .container article .content-box .content #syntaxPane {
height: 400px;
width: 100%;
}
body .container article .content-box .content #paneSetting {
border: 1px solid #ddd;
padding: 2px;
margin-bottom: 5px;
}
body footer {
overflow: hidden;
}
body footer #processingTime,
body footer .process-time {
color: #666666;
font-size: 10px;
text-shadow: 0 0 1px #FFFFFF;
}
body footer .process-time {
margin-left: 5px;
}
.markdown-body {
font-size: 14px;
line-height: 1.6;
@@ -603,9 +621,6 @@ body footer {
margin: 0 2px;
padding: 0 5px;
}
.markdown-body code {
white-space: nowrap;
}
.markdown-body pre > code {
background: none repeat scroll 0 0 transparent;
border: medium none;
@@ -623,6 +638,7 @@ body footer {
border: 1px solid #CCCCCC;
border-radius: 3px 3px 3px 3px;
font-size: 13px;
margin-right: 10px;
line-height: 19px;
overflow: auto;
padding: 2px;
@@ -634,3 +650,15 @@ body footer {
margin: 0;
padding: 0;
}
@media screen and (max-width: 768px) {
body .container article {
margin-left: 0;
}
body .container nav {
display: none;
}
.markdown-body table th,
.markdown-body table td {
padding: 0!important;
}
}
Oops, something went wrong.

0 comments on commit 62db481

Please sign in to comment.