mg.css fully merged into core style; consistency between article and repo2html formats
parent
8257096d84
commit
4beb332973
6
Makefile
6
Makefile
|
@ -31,7 +31,7 @@ thoughts:
|
|||
-t "Mike Gerwitz's Thoughts and Ramblings" \
|
||||
-d 'The miscellaneous thoughts and ramblings of a free software hacker' \
|
||||
-c 'Mike Gerwitz' \
|
||||
-l 'Verbatim redistribution of this document in its entirety is permitted so long as this copyright notice is preserved.' \
|
||||
-l 'Verbatim redistribution of this document in its entirety is permitted provided that this copyright notice is preserved.' \
|
||||
-C '/style.css' \
|
||||
-T "$(PWD)/tpl" \
|
||||
-E \
|
||||
|
@ -44,8 +44,8 @@ thoughts:
|
|||
# mgify script
|
||||
%.html: %.txt
|
||||
asciidoc -fasciidoc.conf -v \
|
||||
-a stylesdir=$(PWD)/asciidoc-themes/ \
|
||||
-a themedir=$(PWD)/asciidoc-themes/ \
|
||||
-a stylesdir= \
|
||||
-a themedir=$(PWD)/ \
|
||||
$<
|
||||
./tools/mgify "$@"
|
||||
|
||||
|
|
|
@ -1,86 +0,0 @@
|
|||
|
||||
body {
|
||||
margin: 0px 5em;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
#header, #footer, #footnotes {
|
||||
position: relative;
|
||||
left: -3em;
|
||||
margin-right: -3em;
|
||||
}
|
||||
|
||||
body p {
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
h2 {
|
||||
position: relative;
|
||||
|
||||
border-bottom: 2px solid #babdb6;
|
||||
left: -2em;
|
||||
|
||||
margin-right: -2em;
|
||||
}
|
||||
|
||||
h3 {
|
||||
border-bottom: 1px solid #babdb6;
|
||||
}
|
||||
|
||||
h2, h3, h4 {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
dt {
|
||||
font-weight: bold;
|
||||
}
|
||||
dd > p:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
tt {
|
||||
background-color: #eeeeec;
|
||||
color: #000055;
|
||||
}
|
||||
|
||||
#author {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.listingblock {
|
||||
background-color: #eeeeec;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
#gnuinside {
|
||||
position: absolute;
|
||||
display: block;
|
||||
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
#copyright {
|
||||
text-align: center;
|
||||
margin-top: -1.4em;
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
.footnote {
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
.exampleblock {
|
||||
margin-left: 2em;
|
||||
padding-left: 1em;
|
||||
border-left: 5px solid #eeeeec;
|
||||
}
|
||||
|
||||
#footer {
|
||||
border-top: 2px solid #babdb6;
|
||||
padding-top: 0.5em;
|
||||
|
||||
font-size: small;
|
||||
}
|
|
@ -6,7 +6,7 @@ textwidth=80
|
|||
newline=\n
|
||||
|
||||
[attributes]
|
||||
theme=mg
|
||||
theme=style
|
||||
stylesdir=./stylesheets
|
||||
linkcss=1
|
||||
disable-javascript=1
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
65
style.css
65
style.css
|
@ -7,9 +7,11 @@ body {
|
|||
a { color: #0066cc; }
|
||||
a:visited { color: #6666cc; }
|
||||
|
||||
/* hanging */
|
||||
header, footer {
|
||||
/* hanging; ids for asciidoc styling */
|
||||
header, footer,
|
||||
#header, #footer, .article #copyright {
|
||||
margin: 0em -3em;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
|
@ -28,10 +30,13 @@ h2.date {
|
|||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
h1.title {
|
||||
/* latter for asciidoc-generated output */
|
||||
h1.title,
|
||||
#header h1 {
|
||||
font-size: 2em;
|
||||
margin-bottom: 0.1em;
|
||||
}
|
||||
|
||||
h2.desc {
|
||||
font-size: 0.8em;
|
||||
text-transform: uppercase;
|
||||
|
@ -50,6 +55,29 @@ p.ref {
|
|||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
dt {
|
||||
letter-spacing: 0.1em;
|
||||
}
|
||||
|
||||
tt {
|
||||
background-color: #eeeeec;
|
||||
color: #000055;
|
||||
}
|
||||
|
||||
.listingblock {
|
||||
background-color: #eeeeec;
|
||||
background-image: url('images/cross_scratches.png');
|
||||
padding: 0.5em;
|
||||
border: 1px solid #babdb6;
|
||||
border-radius: 0.25em
|
||||
}
|
||||
|
||||
.exampleblock {
|
||||
margin-left: 2em;
|
||||
padding-left: 1em;
|
||||
border-left: 5px solid #eeeeec;
|
||||
}
|
||||
|
||||
#gnuinside {
|
||||
position: absolute;
|
||||
display: block;
|
||||
|
@ -60,7 +88,7 @@ p.ref {
|
|||
height: 50px;
|
||||
}
|
||||
|
||||
footer {
|
||||
footer, #footer, .article #copyright {
|
||||
font-size: 0.9em;
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
@ -88,3 +116,32 @@ footer .commit-id {
|
|||
.bimgs img:first-child {
|
||||
margin-left: 0em;
|
||||
}
|
||||
|
||||
|
||||
/** exclusively asciidoc-generated content styling **/
|
||||
body.article h2 {
|
||||
position: relative;
|
||||
|
||||
border-bottom: 2px solid #babdb6;
|
||||
left: -2em;
|
||||
|
||||
margin-right: -2em;
|
||||
}
|
||||
|
||||
body.article h3 {
|
||||
border-bottom: 1px solid #babdb6;
|
||||
}
|
||||
|
||||
#author {
|
||||
font-size: 1.1em;
|
||||
letter-spacing: 0.1em;
|
||||
}
|
||||
|
||||
#footer {
|
||||
border-top: 2px solid #babdb6;
|
||||
padding-top: 0.5em;
|
||||
}
|
||||
|
||||
.article #copyright {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
|
|
@ -3,9 +3,8 @@
|
|||
</a>
|
||||
|
||||
<div id="copyright">
|
||||
Copyright © 2012 <a href="http://mikegerwitz.com">Mike Gerwitz</a>
|
||||
<br />
|
||||
Verbatim distribution of this document in its entirety is permitted, provided
|
||||
Copyright © 2012 <a href="/">Mike Gerwitz</a>.
|
||||
Verbatim distribution of this document in its entirety is permitted provided
|
||||
that this copyright notice is preserved.
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue