mirror of https://github.com/zcash/zips.git
Remove commented-out CSS, unnessary css files and stylesheet tag
This commit is contained in:
parent
c29e582944
commit
fb8dafb3d8
2
Makefile
2
Makefile
|
@ -15,7 +15,7 @@ protocol:
|
|||
index.html: README.rst
|
||||
$(eval TITLE::=$(shell echo '$(basename $<)' | sed -r 's|zip-0{0,3}|ZIP |'): $(shell grep -E '^(\.\.)?\s*Title:' $< |sed 's|.*Title:\s*||'))
|
||||
rst2html5 -v --title="$(TITLE)" $< >$@
|
||||
sed -i 's|</head>|<link rel="stylesheet" href="css/zip-style.css"><link rel="stylesheet" href="assets/css/style.css"></head>|' $@
|
||||
sed -i 's|</head>|<link rel="stylesheet" href="assets/css/style.css"></head>|' $@
|
||||
sed -i 's|<a href="\([^":]*\).rst">|<a href="\1">|' $@
|
||||
|
||||
%.html: %.rst
|
||||
|
|
|
@ -1,464 +1,3 @@
|
|||
/*
|
||||
@import url("https://fonts.googleapis.com/css?family=Chivo: 900");
|
||||
|
||||
.highlight table td {
|
||||
padding: 5px
|
||||
}
|
||||
|
||||
.highlight table pre {
|
||||
margin: 0
|
||||
}
|
||||
|
||||
.highlight, .highlight .w {
|
||||
color: #d0d0d0
|
||||
}
|
||||
|
||||
.highlight .err {
|
||||
color: #151515;
|
||||
background-color: #ac4142
|
||||
}
|
||||
|
||||
.highlight .c, .highlight .cd, .highlight .cm, .highlight .c1, .highlight .cs {
|
||||
color: #888
|
||||
}
|
||||
|
||||
.highlight .cp {
|
||||
color: #f4bf75
|
||||
}
|
||||
|
||||
.highlight .nt {
|
||||
color: #f4bf75
|
||||
}
|
||||
|
||||
.highlight .o, .highlight .ow {
|
||||
color: #d0d0d0
|
||||
}
|
||||
|
||||
.highlight .p, .highlight .pi {
|
||||
color: #d0d0d0
|
||||
}
|
||||
|
||||
.highlight .gi {
|
||||
color: #90a959
|
||||
}
|
||||
|
||||
.highlight .gd {
|
||||
color: #ac4142
|
||||
}
|
||||
|
||||
.highlight .gh {
|
||||
color: #6a9fb5;
|
||||
font-weight: bold
|
||||
}
|
||||
|
||||
.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
|
||||
color: #aa759f
|
||||
}
|
||||
|
||||
.highlight .kc {
|
||||
color: #d28445
|
||||
}
|
||||
|
||||
.highlight .kt {
|
||||
color: #d28445
|
||||
}
|
||||
|
||||
.highlight .kd {
|
||||
color: #d28445
|
||||
}
|
||||
|
||||
.highlight .s, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
|
||||
color: #90a959
|
||||
}
|
||||
|
||||
.highlight .sr {
|
||||
color: #75b5aa
|
||||
}
|
||||
|
||||
.highlight .si {
|
||||
color: #8f5536
|
||||
}
|
||||
|
||||
.highlight .se {
|
||||
color: #8f5536
|
||||
}
|
||||
|
||||
.highlight .nn {
|
||||
color: #f4bf75
|
||||
}
|
||||
|
||||
.highlight .nc {
|
||||
color: #f4bf75
|
||||
}
|
||||
|
||||
.highlight .no {
|
||||
color: #f4bf75
|
||||
}
|
||||
|
||||
.highlight .na {
|
||||
color: #6a9fb5
|
||||
}
|
||||
|
||||
.highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mb, .highlight .mx {
|
||||
color: #90a959
|
||||
}
|
||||
|
||||
.highlight .ss {
|
||||
color: #90a959
|
||||
}
|
||||
|
||||
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font: inherit;
|
||||
font-size: 100%;
|
||||
vertical-align: baseline;
|
||||
border: 0
|
||||
}
|
||||
|
||||
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
|
||||
display: block
|
||||
}
|
||||
|
||||
body {
|
||||
line-height: 1
|
||||
}
|
||||
|
||||
ol, ul {
|
||||
list-style: none
|
||||
}
|
||||
|
||||
blockquote, q {
|
||||
quotes: none
|
||||
}
|
||||
|
||||
blockquote:before, blockquote:after, q:before, q:after {
|
||||
content: '';
|
||||
content: none
|
||||
}
|
||||
|
||||
table {
|
||||
border-spacing: 0;
|
||||
border-collapse: collapse
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, serif;
|
||||
font-size: 1em;
|
||||
line-height: 1.5;
|
||||
color: #6d6d6d;
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
|
||||
background: #f2f2f2 url(../images/body-bg.png) 0 0 repeat
|
||||
}
|
||||
|
||||
a {
|
||||
color: #d5000d
|
||||
}
|
||||
|
||||
a: hover {
|
||||
color: #c5000c
|
||||
}
|
||||
|
||||
header {
|
||||
padding-top: 35px;
|
||||
padding-bottom: 25px
|
||||
}
|
||||
|
||||
header h1 {
|
||||
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
|
||||
font-size: 48px;
|
||||
font-weight: 900;
|
||||
line-height: 1.2;
|
||||
color: #303030;
|
||||
letter-spacing: -1px
|
||||
}
|
||||
|
||||
header h2 {
|
||||
font-size: 24px;
|
||||
font-weight: normal;
|
||||
line-height: 1.3;
|
||||
color: #aaa;
|
||||
letter-spacing: -1px
|
||||
}
|
||||
|
||||
#container {
|
||||
min-height: 595px;
|
||||
background: transparent url(../images/highlight-bg.jpg) 50% 0 no-repeat
|
||||
}
|
||||
|
||||
.inner {
|
||||
width: 620px;
|
||||
margin: 0 auto
|
||||
}
|
||||
|
||||
#container .inner img {
|
||||
max-width: 100%
|
||||
}
|
||||
|
||||
#downloads {
|
||||
margin-bottom: 40px
|
||||
}
|
||||
|
||||
a.button {
|
||||
display: block;
|
||||
float: left;
|
||||
width: 179px;
|
||||
padding: 12px 8px 12px 8px;
|
||||
margin-right: 14px;
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
line-height: 25px;
|
||||
color: #303030;
|
||||
background: #fdfdfd;
|
||||
background: -moz-linear-gradient(top, #fdfdfd 0%, #f2f2f2 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fdfdfd), color-stop(100%, #f2f2f2));
|
||||
background: -webkit-linear-gradient(top, #fdfdfd 0%, #f2f2f2 100%);
|
||||
background: -o-linear-gradient(top, #fdfdfd 0%, #f2f2f2 100%);
|
||||
background: -ms-linear-gradient(top, #fdfdfd 0%, #f2f2f2 100%);
|
||||
background: linear-gradient(to top, #fdfdfd 0%, #f2f2f2 100%);
|
||||
filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#f2f2f2', GradientType=0 );
|
||||
border-top: solid 1px #cbcbcb;
|
||||
border-right: solid 1px #b7b7b7;
|
||||
border-bottom: solid 1px #b3b3b3;
|
||||
border-left: solid 1px #b7b7b7;
|
||||
border-radius: 30px;
|
||||
-webkit-box-shadow: 10px 10px 5px #888;
|
||||
-moz-box-shadow: 10px 10px 5px #888;
|
||||
box-shadow: 0px 1px 5px #e8e8e8;
|
||||
-moz-border-radius: 30px;
|
||||
-webkit-border-radius: 30px
|
||||
}
|
||||
|
||||
a.button:hover {
|
||||
background: #fafafa;
|
||||
background: -moz-linear-gradient(top, #fdfdfd 0%, #f6f6f6 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fdfdfd), color-stop(100%, #f6f6f6));
|
||||
background: -webkit-linear-gradient(top, #fdfdfd 0%, #f6f6f6 100%);
|
||||
background: -o-linear-gradient(top, #fdfdfd 0%, #f6f6f6 100%);
|
||||
background: -ms-linear-gradient(top, #fdfdfd 0%, #f6f6f6 100%);
|
||||
background: linear-gradient(to top, #fdfdfd 0%, #f6f6f6, 100%);
|
||||
filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#f6f6f6', GradientType=0 );
|
||||
border-top: solid 1px #b7b7b7;
|
||||
border-right: solid 1px #b3b3b3;
|
||||
border-bottom: solid 1px #b3b3b3;
|
||||
border-left: solid 1px #b3b3b3
|
||||
}
|
||||
|
||||
a.button span {
|
||||
display: block;
|
||||
height: 23px;
|
||||
padding-left: 50px
|
||||
}
|
||||
|
||||
#download-zip span {
|
||||
background: transparent url(../images/zip-icon.png) 12px 50% no-repeat
|
||||
}
|
||||
|
||||
#download-tar-gz span {
|
||||
background: transparent url(../images/tar-gz-icon.png) 12px 50% no-repeat
|
||||
}
|
||||
|
||||
#view-on-github span {
|
||||
background: transparent url(../images/octocat-icon.png) 12px 50% no-repeat
|
||||
}
|
||||
|
||||
#view-on-github {
|
||||
margin-right: 0
|
||||
}
|
||||
|
||||
code, pre {
|
||||
margin-bottom: 30px;
|
||||
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal;
|
||||
font-size: 14px;
|
||||
color: #222
|
||||
}
|
||||
|
||||
code {
|
||||
padding: 0 3px;
|
||||
background-color: #f2f2f2;
|
||||
border: solid 1px #ddd
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 20px;
|
||||
overflow: auto;
|
||||
color: #f2f2f2;
|
||||
text-shadow: none;
|
||||
background: #303030
|
||||
}
|
||||
|
||||
pre code {
|
||||
padding: 0;
|
||||
color: #f2f2f2;
|
||||
background-color: #303030;
|
||||
border: none
|
||||
}
|
||||
|
||||
ul, ol, dl {
|
||||
margin-bottom: 20px
|
||||
}
|
||||
|
||||
hr {
|
||||
height: 1px;
|
||||
padding-bottom: 1em;
|
||||
margin-top: 1em;
|
||||
line-height: 1px;
|
||||
background: transparent url("../images/hr.png") 50% 0 no-repeat;
|
||||
border: none
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: bold
|
||||
}
|
||||
|
||||
em {
|
||||
font-style: italic
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border: 1px solid #ebebeb
|
||||
}
|
||||
|
||||
th {
|
||||
font-weight: 500
|
||||
}
|
||||
|
||||
td {
|
||||
font-weight: 300;
|
||||
text-align: center;
|
||||
border: 1px solid #ebebeb
|
||||
}
|
||||
|
||||
form {
|
||||
padding: 20px;
|
||||
background: #f2f2f2
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 32px
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-bottom: 8px;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
color: #303030
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-bottom: 8px;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
color: #d5000d
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #303030
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1em;
|
||||
color: #303030
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: .8em;
|
||||
color: #303030
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 20px;
|
||||
font-weight: 300
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
p a {
|
||||
font-weight: 400
|
||||
}
|
||||
|
||||
blockquote {
|
||||
padding: 0 0 0 30px;
|
||||
margin-bottom: 20px;
|
||||
font-size: 1.6em;
|
||||
border-left: 10px solid #e9e9e9
|
||||
}
|
||||
|
||||
ul li {
|
||||
list-style-position: inside;
|
||||
list-style: disc;
|
||||
padding-left: 20px
|
||||
}
|
||||
|
||||
ol li {
|
||||
list-style-position: inside;
|
||||
list-style: decimal;
|
||||
padding-left: 3px
|
||||
}
|
||||
|
||||
dl dt {
|
||||
color: #303030
|
||||
}
|
||||
|
||||
footer {
|
||||
padding-top: 20px;
|
||||
padding-bottom: 30px;
|
||||
margin-top: 40px;
|
||||
font-size: 13px;
|
||||
color: #aaa;
|
||||
background: transparent url("../images/hr.png") 0 0 no-repeat
|
||||
}
|
||||
|
||||
footer a {
|
||||
color: #666
|
||||
}
|
||||
|
||||
footer a:hover {
|
||||
color: #444
|
||||
}
|
||||
|
||||
* html .clearfix {
|
||||
height: 1%
|
||||
}
|
||||
|
||||
.clearfix {
|
||||
display: block
|
||||
}
|
||||
|
||||
.clearfix:after {
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
content: '.'
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 767px) {
|
||||
header {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px
|
||||
}
|
||||
|
||||
#downloads {
|
||||
margin-bottom: 25px
|
||||
}
|
||||
|
||||
#download-zip, #download-tar-gz {
|
||||
display: none
|
||||
}
|
||||
|
||||
.inner {
|
||||
width: 94%;
|
||||
margin: 0 auto
|
||||
}
|
||||
|
||||
}
|
||||
*/
|
||||
@font-face {
|
||||
font-family: robotolight;
|
||||
src: url('../fonts/Roboto-Light-webfont.woff') format('woff');
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
/*
|
||||
body { margin-top: 2ex !important; margin-left: 15% !important; margin-right: 15% !important; margin-bottom: 2ex !important}
|
||||
sub { font-size: smaller !important; vertical-align: sub !important; }
|
||||
sup { font-size: smaller !important; vertical-align: super !important; }
|
||||
li { margin-left: 2em !important; }
|
||||
blockquote { font-size: 1em !important; }
|
||||
a.footnote_reference::before { content: "["; }
|
||||
a.footnote_reference::after { content: "]"; }
|
||||
dd { margin-left: 2em !important; }
|
||||
|
||||
th, td { border: 1px solid black !important; }
|
||||
td.left { text-align: left !important; }
|
||||
table { display: block !important; padding-left: 2em !important; padding-bottom: 1em !important; }
|
||||
th { padding-left: 0.8em !important; padding-right: 0.8em !important; background-color: #d8d8d8 !important; }
|
||||
td { padding-left: 0.8em !important; padding-right: 0.8em !important; }
|
||||
tr:hover { background-color: #f5f5f5; }
|
||||
#references table { padding-left: 0 !important; padding-bottom: 0 !important; }
|
||||
#references th { width: 2em !important; border: 0 !important; background-color: transparent !important; }
|
||||
#references th::before { content: "["; }
|
||||
#references th::after { content: "]"; }
|
||||
#references td { text-align: left !important; padding: 0 !important; border: 0 !important; }
|
||||
.editor-note { color: #800000; }
|
||||
.editor-note::before { content: "[Editor note: "; }
|
||||
.editor-note::after { content: "]"; }
|
||||
*/
|
Loading…
Reference in New Issue