mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 15:00:18 +00:00
move some translateable strings to the global CSS file
This commit is contained in:
@@ -317,6 +317,42 @@ h3:before {
|
||||
counter-increment: h3;
|
||||
content: counter(h1) "." counter(h2) "." counter(h3) ". ";
|
||||
}
|
||||
#appa h1:before {
|
||||
counter-increment: h1;
|
||||
content: 'Appendix A. '
|
||||
}
|
||||
#appa h2:before {
|
||||
counter-increment: h2;
|
||||
content: 'A.' counter(h2) '. '
|
||||
}
|
||||
#appa h3:before {
|
||||
counter-increment: h3;
|
||||
content: 'A.' counter(h2) '.' counter(h3) '. '
|
||||
}
|
||||
#appb h1:before {
|
||||
counter-increment: h1;
|
||||
content: 'Appendix B. '
|
||||
}
|
||||
#appb h2:before {
|
||||
counter-increment: h2;
|
||||
content: 'B.' counter(h2) '. '
|
||||
}
|
||||
#appb h3:before {
|
||||
counter-increment: h3;
|
||||
content: 'B.' counter(h2) '.' counter(h3) '. '
|
||||
}
|
||||
#appc h1:before {
|
||||
counter-increment: h1;
|
||||
content: 'Appendix C. '
|
||||
}
|
||||
#appc h2:before {
|
||||
counter-increment: h2;
|
||||
content: 'C.' counter(h2) '. '
|
||||
}
|
||||
#appc h3:before {
|
||||
counter-increment: h3;
|
||||
content: 'C.' counter(h2) '.' counter(h3) '. '
|
||||
}
|
||||
aside {
|
||||
display: block;
|
||||
float: right;
|
||||
|
||||
@@ -4,13 +4,11 @@
|
||||
<!--[if IE]><script src=j/html5.js></script><![endif]-->
|
||||
<link rel=stylesheet href=dip3.css>
|
||||
<style>
|
||||
h1:before{counter-increment:h1;content:'Appendix A. '}
|
||||
h2:before{counter-increment:h2;content:'A.' counter(h2) '. '}
|
||||
h3:before{counter-increment:h3;content:'A.' counter(h2) '.' counter(h3) '. '}
|
||||
</style>
|
||||
<link rel=stylesheet media='only screen and (max-device-width: 480px)' href=mobile.css>
|
||||
<link rel=stylesheet media=print href=print.css>
|
||||
<meta content='initial-scale=1.0' name=viewport>
|
||||
<body id=appa>
|
||||
<form action=http://www.google.com/cse><div><input name=cx type=hidden value=014021643941856155761:l5eihuescdw><input name=ie type=hidden value=UTF-8> <input type=search name=q size=25 placeholder="powered by Google™"> <input name=sa type=submit value=Search></div></form>
|
||||
<p>You are here: <a href=index.html>Home</a> <span class=u>‣</span> <a href=table-of-contents.html#porting-code-to-python-3-with-2to3>Dive Into Python 3</a> <span class=u>‣</span>
|
||||
<p id=level>Difficulty level: <span class=u title=pro>♦♦♦♦♦</span>
|
||||
|
||||
@@ -4,13 +4,11 @@
|
||||
<!--[if IE]><script src=j/html5.js></script><![endif]-->
|
||||
<link rel=stylesheet href=dip3.css>
|
||||
<style>
|
||||
h1:before{counter-increment:h1;content:'Appendix B. '}
|
||||
h2:before{counter-increment:h2;content:'B.' counter(h2) '. '}
|
||||
h3:before{counter-increment:h3;content:'B.' counter(h2) '.' counter(h3) '. '}
|
||||
</style>
|
||||
<link rel=stylesheet media='only screen and (max-device-width: 480px)' href=mobile.css>
|
||||
<link rel=stylesheet media=print href=print.css>
|
||||
<meta name=viewport content='initial-scale=1.0'>
|
||||
<body id=appb>
|
||||
<form action=http://www.google.com/cse><div><input type=hidden name=cx value=014021643941856155761:l5eihuescdw><input type=hidden name=ie value=UTF-8> <input type=search name=q size=25 placeholder="powered by Google™"> <input type=submit name=sa value=Search></div></form>
|
||||
<p>You are here: <a href=index.html>Home</a> <span class=u>‣</span> <a href=table-of-contents.html#special-method-names>Dive Into Python 3</a> <span class=u>‣</span>
|
||||
<p id=level>Difficulty level: <span class=u title=pro>♦♦♦♦♦</span>
|
||||
|
||||
@@ -4,13 +4,11 @@
|
||||
<!--[if IE]><script src=j/html5.js></script><![endif]-->
|
||||
<link rel=stylesheet href=dip3.css>
|
||||
<style>
|
||||
h1:before{counter-increment:h1;content:'Appendix C. '}
|
||||
h2:before{counter-increment:h2;content:'C.' counter(h2) '. '}
|
||||
h3:before{counter-increment:h3;content:'C.' counter(h2) '.' counter(h3) '. '}
|
||||
</style>
|
||||
<link rel=stylesheet media='only screen and (max-device-width: 480px)' href=mobile.css>
|
||||
<link rel=stylesheet media=print href=print.css>
|
||||
<meta name=viewport content='initial-scale=1.0'>
|
||||
<body id=appc>
|
||||
<form action=http://www.google.com/cse><div><input type=hidden name=cx value=014021643941856155761:l5eihuescdw><input type=hidden name=ie value=UTF-8> <input type=search name=q size=25 placeholder="powered by Google™"> <input type=submit name=sa value=Search></div></form>
|
||||
<p>You are here: <a href=index.html>Home</a> <span class=u>‣</span> <a href=table-of-contents.html#where-to-go-from-here>Dive Into Python 3</a> <span class=u>‣</span>
|
||||
<h1>Where To Go From Here</h1>
|
||||
|
||||
Reference in New Issue
Block a user