11---
2- test: 123
32---
4- <!doctype html>
3+ <!DOCTYPE html>
54< html class ="no-js ">
65< head >
76< meta charset ="utf-8 ">
1211< title > {{ page.title }} - Yncoder Interview</ title >
1312< meta name ="renderer " content ="webkit ">
1413< meta http-equiv ="Cache-Control " content ="no-siteapp " />
14+ < link rel ="icon " href ="/favicon.png " type ="image/x-icon " />
15+ < link rel ="shortcut icon " href ="/favicon.png " type ="image/x-icon " />
16+ < link rel ="stylesheet " type ="text/css " href ="/assets/css/common.css " />
1517< style type ="text/css ">
16- * {
17- -webkit-box-sizing : border-box;
18- -moz-box-sizing : border-box;
19- box-sizing : border-box;
20- -webkit-text-size-adjust : none;
21- }
22- html ,
23- body {
24- margin : 0 ;
25- padding : 0 ;
26- border : none;
27- line-height : 1 ;
28- min-height : 100% ;
29- height : 100% ;
30- }
31- body {
32- font-size : 16px ;
33- font-family : "Microsoft YaHei" , "微软雅黑" , Arial, Helvetica, sans-serif;
34- }
35- ul ,
36- ol ,
37- figure ,
38- form ,
39- dl ,
40- dt ,
41- dd {
42- margin : 0 ;
43- padding : 0 ;
44- }
45- img {
46- border : 0 ;
47- vertical-align : middle;
48- }
49- a {
50- color : # 0395d0 ;
51- text-decoration : none;
52- }
53- a : hover {
54- text-decoration : underline;
55- }
56- .row {
57- position : relative;
58- }
5918.logo {
6019font-size : 2em ;
6120line-height : 1.5em ;
7130width : 100% ;
7231padding : 6.4em 80px 20px 320px ;
7332}
74- .container : after {
75- content : "" ;
76- display : block;
77- clear : both;
78- }
79- .it-title {
33+ h1 {
8034background-color : # 2196F3 ;
8135color : # FFF ;
8236font-size : 3em ;
37+ margin : 0 ;
8338padding : 0.4em 80px 0.4em 320px ;
8439position : fixed;
8540width : 100% ;
8641z-index : 4 ;
8742}
88- . side-bar {
43+ aside {
8944width : 240px ;
9045position : fixed;
9146min-height : 100% ;
9247padding : 0 20px 20px 20px ;
9348background-color : rgba (100 , 181 , 246 , 0.5 );
9449z-index : 5 ;
9550}
96- . side-bar > .guest {
51+ aside > .guest {
9752margin-top : 20px ;
9853}
99- . side-bar > .guest > img {
54+ aside > .guest > img {
10055width : 100px ;
10156border-radius : 4px ;
10257float : left;
10358margin-right : 10px ;
10459}
105- . side-bar > .guest > h2 {
60+ aside > .guest > h2 {
10661margin-top : 10px ;
10762}
108- . side-bar > .guest > p {
63+ aside > .guest > p {
10964font-size : 13px ;
11065line-height : 1.5em ;
11166color : # 666 ;
12378color : # 999 ;
12479}
12580# content {line-height : 2em ; font-size : 14px ;letter-spacing : 0.1em ;}
126- # content > h1 : first-child {margin : 0 ;}
127- # content h1 ,
128- # content h2 ,
129- # content h3 ,
130- # content h4 ,
131- # content h5 ,
132- # content h6 ,
133- # content p {margin : .8em 0 ;}
134- # content h1 {font-size : 2.2em ; line-height : 1.2em ;}
135- # content h2 {font-size : 2em ; line-height : 1.2em ;}
136- # content h3 {font-size : 1.8em ; line-height : 1.2em ;}
137- # content h4 {font-size : 1.6em ; line-height : 1.2em ;}
138- # content h5 {font-size : 1.4em ; line-height : 1.2em ;}
139- # content h6 {font-size : 1.2em ; line-height : 1.2em ;}
140- # content figure {margin : 1em 0 ;}
141- # content p img ,
142- # content figure img {max-width : 100% ;}
143- # content figure .half img {max-width : 50% ;}
144- # content figure .half img .margin {max-width : 46% ; margin : 2% ; box-shadow : 0 5px 15px rgba (0 , 0 , 0 , .5 );}
145- # content ul ,
146- # content ol {padding-left : 2em ;}
147- # content dl {margin : .5em .8em ;}
148- # content dl dd {margin-left : 2em ;}
149- # content dl dd > ul ,
150- # content dl dd > ol {padding-left : 1em ;}
151- # content pre {width : 100% ; overflow-x : auto; line-height : 1.2em ; border-radius : 4px ; background : # 333 ;}
152- # content code {border-radius : 4px ; font : normal 85% / 1.2em "Inconsolata" , "Monaco" , "Consolas" , "Andale Mono" , "Bitstream Vera Sans Mono" , "Courier New" , Courier, monospace;}
153- # content : not (pre )> code {margin : auto 1px ; padding : 1px 2px ; border : 1px solid # d7d7d7 ; background : # eee ;}
154- # content table {border-collapse : collapse;}
155- # content th , # content td {padding : 0 10px ; border : 1px solid # ccc ; font-size : 85% ;}
156- # content th {background : # eee ; text-align : left;}
157- # content td {background : # fff ;}
158- # content table a {margin : 0 ;}
159- # content blockquote {line-height : 1.6em ; margin : 1em 0 1em 1.5em ; border-left : 2px solid # eee ; padding-left : 1em ; font-size : 90% ;}
81+
16082@media screen and (max-width : 1023px ) {
16183 .container {
16284 position : relative;
16688 # content {
16789 font-size : 17px ;
16890 }
169- . it-title {
91+ h1 {
17092 font-size : 3em ;
17193 padding-left : 20px ;
17294 padding-right : 20px ;
17395 position : relative;
17496 }
175- . side-bar {
97+ aside {
17698 display : none
17799 }
178100}
179101</ style >
180102</ head >
181103< body >
182- < div class ="it-title ">
183- Freelancer 与 Remoting
184- </ div >
185- < div class ="side-bar ">
104+ < h1 > {{ page.title }}</ h1 >
105+ < aside >
186106 < div class ="logo "> Interview</ div >
187107 {% for person in page.interviewee %}
188108 < div class ="guest ">
@@ -191,12 +111,13 @@ <h2>{{ person.name }}</h2>
191111 < p > {{ person.description }}</ p >
192112 </ div >
193113 {% endfor %}
114+ </ aside >
115+ < div id ="content " class ="container ">
116+ < article >
117+ {{ content }}
118+ </ article >
119+ {% include duoshuo-comment.html %}
194120</ div >
195- < div id ="content " class ="container "> {{ content }}</ div >
196-
197- < div class ="ds-thread " data-thread-key ="201501-I " data-title ="freelancer-and-remoting " data-url ="http://yncoder.github.io/event/2015-freelancer-and-remoting/ "> </ div >
198-
199- {% include duoshuo-comment-script %}
200121
201122</ body >
202123</ html >
0 commit comments